Function at 0x40d12a
Capabilities:
Check for time delay via gettickcount
Get common file path

Disassembly:
mov edi, edi
push ebp
sub esp, 0x60
mov eax, 0x42355c
call fcn.00415c8c
sub esp, 0x1d0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov eax, dword [0x4301c4]
inc eax
mov ecx, 0xa7
cmove eax, ecx
inc eax
mov ecx, 0xcc
cmove eax, ecx
xor ebx, ebx
inc eax
mov ecx, 0x2d8
cmove eax, ecx
add ecx, 0x61
cmp eax, ecx
cmove eax, ecx
mov ecx, 0x34b
cmp eax, ecx
cmove eax, ecx
mov dword [0x4301c4], eax
mov ecx, dword [0x4301c0]
mov eax, ecx
not eax
mov esi, 0x3b9
and eax, esi
neg eax
sbb eax, eax
mov edx, 0x80000000
and eax, edx
add eax, edx
shr ecx, 1
or ecx, eax
mov dword [0x4301c0], ecx
push ebx
lea ecx, [ebp - 0xb4]
call fcn.0040a215
mov dword [ebp - 4], ebx
cmp byte [ebp - 0x84], bl
jne 0x40d1c6
push 0xfffffffffffffffd
pop ebx
jmp 0x40d6c5
lea ecx, [ebp - 0xb4]
call fcn.0040ee72
mov byte [0x4337b0], al
mov edi, ebx
mov dword [ebp + 0x4c], edi
mov dword [ebp + 0x50], ebx
mov dword [ebp + 0x54], ebx
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x1c]
call fcn.0040b34a
mov byte [ebp - 4], 2
mov edx, dword [0x4301c4]
or edx, 0x1fa
mov dword [0x4301c4], edx
jne 0x40d212
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [0x4301c4]
mov eax, dword [0x4301c0]
mov ecx, eax
not ecx
and ecx, esi
neg ecx
sbb ecx, ecx
neg ecx
add eax, eax
or eax, ecx
mov dword [0x4301c0], eax
or edx, 0x1ce
mov dword [0x4301c4], edx
jne 0x40d25d
push 0x309
mov eax, 0x431830
push eax
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [0x4301c4], 0
jne 0x40d25d
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.0040e726
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp + 0x1c]
call fcn.004140e2
mov eax, dword [0x4301c0]
mov ecx, eax
not ecx
and ecx, esi
neg ecx
sbb ecx, ecx
neg ecx
add eax, eax
or eax, ecx
mov ecx, eax
not ecx
and ecx, esi
neg ecx
sbb ecx, ecx
neg ecx
add eax, eax
or eax, ecx
mov dword [0x4301c0], eax
mov eax, dword [0x4301c4]
or eax, 0x3aa
mov dword [0x4301c4], eax
jne 0x40d2c6
push ebx
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call esi
mov eax, dword [0x4301c4]
test eax, eax
jne 0x40d2c6
push ebx
call esi
mov eax, dword [0x4301c4]
mov ecx, 0x83
cmp eax, ecx
cmove eax, ecx
mov dword [0x4301c4], eax
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax]
mov dword [0x4337b4], eax
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], ebx
mov byte [ebp + 4], bl
mov byte [ebp - 4], 3
lea eax, [ebp - 0xa4]
cmp dword [ebp - 0x90], 0x10
cmovae eax, dword [ebp - 0xa4]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.00413556
pop ecx
pop ecx
mov byte [ebp - 4], 4
lea eax, [ebp - 0x1dc]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x40d3a9
cmp byte [ebp - 0x1dc], 0
jne 0x40d343
mov eax, ebx
jmp 0x40d350
lea eax, [ebp - 0x1dc]
push eax
call fcn.00415400
pop ecx
push eax
lea eax, [ebp - 0x1dc]
push eax
lea ecx, [ebp + 4]
call fcn.004022e2
jmp 0x40d3a2
lea eax, [ebp + 4]
mov edx, dword [ebp + 0x18]
cmp edx, 0x10
mov esi, dword [ebp + 4]
cmovae eax, esi
cmp byte [ecx + eax - 1], 0x5c
jne 0x40d3af
lea eax, [ecx - 1]
push eax
push ebx
lea eax, [ebp + 0x34]
push eax
lea ecx, [ebp + 4]
call fcn.00406e50
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp + 4]
call fcn.00411237
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x34]
call fcn.00401530
mov ecx, dword [ebp + 0x14]
test ecx, ecx
jne 0x40d362
mov edx, dword [ebp + 0x18]
mov esi, dword [ebp + 4]
lea eax, [ebp + 4]
cmp edx, 0x10
cmovae eax, esi
push 1
push eax
call fcn.004129fc
pop ecx
pop ecx
test al, al
jne 0x40d3d8
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp + 4]
call fcn.0040224e
push dword [ebp + 0x6c]
lea ecx, [ebp + 0x34]
call fcn.00401391
mov byte [ebp - 4], 6
push str.args
lea ecx, [ebp - 0x28]
call fcn.00401391
mov byte [ebp - 4], 7
lea eax, [ebp + 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 0x1c]
call fcn.0041440b
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.00401530
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x34]
call fcn.00401530
push str.temp
lea ecx, [ebp + 0x34]
call fcn.00401391
mov byte [ebp - 4], 8
lea eax, [ebp + 4]
push eax
lea eax, [ebp + 0x34]
push eax
lea ecx, [ebp + 0x1c]
call fcn.0041440b
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x34]
call fcn.00401530
push str.path
lea ecx, [ebp + 0x34]
call fcn.00401391
mov byte [ebp - 4], 9
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp + 0x34]
push eax
lea ecx, [ebp + 0x1c]
call fcn.0041440b
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x34]
call fcn.00401530
push 0x1a
lea eax, [ebp - 0x74]
push eax
call fcn.00413417
pop ecx
pop ecx
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 0x10
jb 0x40d496
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401391
mov byte [ebp - 4], 0xb
push str.appdata
lea ecx, [ebp + 0x34]
call fcn.00401391
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 0x34]
push eax
lea ecx, [ebp + 0x1c]
call fcn.0041440b
mov byte [ebp - 4], 0xb
lea ecx, [ebp + 0x34]
call fcn.00401530
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
call fcn.00401530
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x74]
call fcn.00401530
push 0x1c
lea eax, [ebp - 0x74]
push eax
call fcn.00413417
pop ecx
pop ecx
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], 0x10
jb 0x40d501
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401391
mov byte [ebp - 4], 0xe
push str.appdata_local
lea ecx, [ebp + 0x34]
call fcn.00401391
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 0x34]
push eax
lea ecx, [ebp + 0x1c]
call fcn.0041440b
mov byte [ebp - 4], 0xe
lea ecx, [ebp + 0x34]
call fcn.00401530
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28]
call fcn.00401530
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x74]
call fcn.00401530
push 0x26
lea eax, [ebp - 0x74]
push eax
call fcn.00413417
pop ecx
pop ecx
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x14], 0x10
jb 0x40d56c
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401391
mov byte [ebp - 4], 0x11
push str.program_files
lea ecx, [ebp + 0x34]
call fcn.00401391
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 0x34]
push eax
lea ecx, [ebp + 0x1c]
call fcn.0041440b
mov byte [ebp - 4], 0x11
lea ecx, [ebp + 0x34]
call fcn.00401530
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x28]
call fcn.00401530
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x74]
call fcn.00401530
lea eax, [ebp - 0x40]
push eax
call fcn.0041163c
pop ecx
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
cmovae eax, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401391
mov byte [ebp - 4], 0x14
push str.uniqueid
lea ecx, [ebp + 0x34]
call fcn.00401391
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 0x34]
push eax
lea ecx, [ebp + 0x1c]
call fcn.0041440b
mov byte [ebp - 4], 0x14
lea ecx, [ebp + 0x34]
call fcn.00401530
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x28]
call fcn.00401530
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00401530
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xcc]
call fcn.00401530
mov byte [ebp - 4], 2
lea ecx, [ebp + 4]
call fcn.00401530
lea ecx, [ebp - 0xb4]
call fcn.0040ebd3
test al, al
je 0x40d6db
mov eax, dword [ebp - 0xa8]
mov esi, dword [eax + 4]
test esi, esi
je 0x40d6db
mov eax, dword [esi + 0xc]
test eax, eax
je 0x40d671
mov esi, eax
test esi, esi
jne 0x40d664
test esi, esi
je 0x40d6db
test dword [esi], 0x10000
je 0x40d6db
push str.USER32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x40d6db
push str.MessageBoxA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d6db
push 4
push str.Question
push dword [esi + 0x1c]
push ebx
call eax
cmp eax, 6
je 0x40d6db
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x1c]
call fcn.0040b50d
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x4c]
call fcn.0040c716
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.0040a5f7
mov eax, ebx
jmp 0x40e017
mov byte [ebp - 4], 0x16
mov dword [ebp + 0x30], ebx
mov edx, dword [0x4301c0]
mov eax, edx
not eax
mov esi, 0x3b9
and eax, esi
neg eax
sbb eax, eax
mov ecx, 0x80000000
and eax, ecx
add eax, ecx
shr edx, 1
mov dword [0x4301c0], edx
or edx, eax
mov dword [0x4301c0], edx
mov eax, edx
not eax
and eax, esi
neg eax
sbb eax, eax
neg eax
add edx, edx
mov dword [0x4301c0], edx
or edx, eax
mov dword [0x4301c0], edx
mov ecx, dword [0x4301c4]
push 0x75
pop eax
cmp ecx, eax
cmove ecx, eax
mov dword [0x4301c4], ecx
mov eax, edx
not eax
and eax, esi
neg eax
sbb eax, eax
neg eax
add edx, edx
mov dword [0x4301c0], edx
or edx, eax
mov dword [0x4301c0], edx
inc ecx
mov dword [0x4301c4], ecx
mov eax, 0x336
cmove ecx, eax
mov dword [0x4301c4], ecx
mov eax, edx
not eax
and eax, esi
neg eax
sbb eax, eax
neg eax
add edx, edx
mov dword [0x4301c0], edx
or edx, eax
mov dword [0x4301c0], edx
shl ecx, 0x12
mov dword [0x4301c4], ecx
or ecx, 1
mov dword [0x4301c4], ecx
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jne 0x40d7b6
push ebx
call esi
mov ecx, dword [0x4301c4]
mov edx, dword [0x4301c0]
inc ecx
mov dword [0x4301c4], ecx
mov eax, 0x3b4
cmove ecx, eax
mov dword [0x4301c4], ecx
or ecx, 0x326
mov dword [0x4301c4], ecx
jne 0x40d7e8
push ebx
call esi
mov ecx, dword [0x4301c4]
mov edx, dword [0x4301c0]
mov eax, dword [ebp - 0xa8]
mov esi, dword [eax + 4]
mov eax, ebx
mov dword [ebp], eax
mov dword [ebp - 0x50], 0x4318a4
mov dword [ebp - 0x58], 0x4318a8
mov dword [ebp - 0x54], 0x4318ac
mov dword [ebp - 0x44], 0x4318b0
mov dword [ebp - 0x5c], 0x177
mov dword [ebp - 0x4c], 0x2c7
mov dword [ebp - 0x48], 0x3e2
test esi, esi
je 0x40db5d
lea edi, [eax + 1]
mov dword [ebp + 0x58], edi
push edi
lea ecx, [ebp + 0x4c]
call fcn.0040ed4f
push dword [ebp]
lea ecx, [ebp + 0x4c]
call fcn.0040c7bc
mov dword [ebp + 0x60], eax
mov dword [eax + 4], edi
mov dword [eax], esi
mov edx, dword [0x4301c4]
test edx, edx
jne 0x40d88b
push 0x30b
mov eax, dword [ebp - 0x50]
push eax
push eax
push ebx
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
call edi
mov edx, dword [0x4301c4]
test edx, edx
jne 0x40d88b
push 0x121
mov eax, dword [ebp - 0x58]
push eax
push eax
push ebx
call edi
mov edx, dword [0x4301c4]
mov ecx, dword [0x4301c0]
mov eax, ecx
not eax
mov edi, 0x3b9
and eax, edi
neg eax
sbb eax, eax
neg eax
add ecx, ecx
mov dword [0x4301c0], ecx
or ecx, eax
mov dword [0x4301c0], ecx
test edx, edx
jne 0x40d8cd
push 0x1eb
mov eax, dword [ebp - 0x54]
push eax
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edx, dword [0x4301c4]
inc edx
mov dword [0x4301c4], edx
mov eax, 0x2cc
cmove edx, eax
mov dword [0x4301c4], edx
shl edx, 0xd
mov dword [0x4301c4], edx
or edx, 1
mov dword [0x4301c4], edx
or edx, 0x373
mov dword [0x4301c4], edx
jne 0x40d919
push 0x2a3
mov eax, dword [ebp - 0x44]
push eax
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edx, dword [0x4301c4]
inc edx
mov dword [0x4301c4], edx
mov eax, 0x35e
cmove edx, eax
mov dword [0x4301c4], edx
test dword [esi], 0x800
je 0x40da5d
call fcn.00410690
test eax, eax
jne 0x40d950
call fcn.00410833
test eax, eax
je 0x40da5d
or dword [esi], 0x80000000
mov eax, dword [0x4301c4]
shl eax, 0x18
mov dword [0x4301c4], eax
or eax, 1
mov dword [0x4301c4], eax
inc eax
mov dword [0x4301c4], eax
mov ecx, 0x3c2
cmove eax, ecx
mov dword [0x4301c4], eax
shl eax, 0xb
mov dword [0x4301c4], eax
or eax, 1
mov dword [0x4301c4], eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x40], bl
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp + 0x1c]
call fcn.004140e2
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x40]
call fcn.00401530
mov ecx, dword [0x4301c4]
or ecx, 0x89
mov dword [0x4301c4], ecx
jne 0x40d9de
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x4301c4]
xor ecx, dword [ebp - 0x5c]
mov dword [0x4301c4], ecx
or ecx, dword [ebp - 0x5c]
mov dword [0x4301c4], ecx
mov dword [0x4301c4], ecx
or ecx, 1
mov dword [0x4301c4], ecx
mov edx, dword [0x4301c0]
mov eax, edx
not eax
and eax, edi
neg eax
sbb eax, eax
and eax, 0x80000000
add eax, 0x80000000
shr edx, 1
mov dword [0x4301c0], edx
or edx, eax
mov dword [0x4301c0], edx
or ecx, 0x37d
mov dword [0x4301c4], ecx
mov eax, edx
not eax
and eax, edi
neg eax
sbb eax, eax
mov edi, 0x80000000
and eax, edi
add eax, edi
shr edx, 1
mov dword [0x4301c0], edx
or edx, eax
mov dword [0x4301c0], edx
jmp 0x40db4c
test dword [esi], 0x1000
je 0x40da95
cmp byte [0x4318b4], 0
jne 0x40da72
mov eax, ebx
jmp 0x40da7d
push 0x4318b4
call fcn.00415400
pop ecx
mov edi, dword [ebp + 0x60]
add edi, 0x1c
push eax
push 0x4318b4
mov ecx, edi
call fcn.004022e2
jmp 0x40db37
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
lea eax, [ebp + 0x1c]
push eax
push esi
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0xb4]
call fcn.0040aa56
mov byte [ebp - 4], 0x18
mov edi, dword [ebp + 0x60]
add edi, 0x1c
push eax
mov ecx, edi
call fcn.00411237
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x74]
call fcn.00401530
mov eax, dword [ebp + 0x60]
cmp dword [eax + 0x2c], ebx
jne 0x40db2f
mov eax, dword [0x4301c4]
cmp eax, dword [ebp - 0x4c]
cmove eax, dword [ebp - 0x4c]
mov dword [0x4301c4], eax
xor eax, dword [ebp - 0x48]
mov dword [0x4301c4], eax
or eax, dword [ebp - 0x48]
mov dword [0x4301c4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._ec_08x__extract_failed
push dword [ebp + 0x60]
call fcn.0040ebeb
add esp, 0xc
test byte [esi], 0x20
je 0x40db37
lea ecx, [ebp - 0xd8]
call fcn.00415b37
push 0x42df5c
lea eax, [ebp - 0xd8]
push eax
call fcn.00415c2e
mov eax, dword [esi]
and eax, 0x10
or dword [ebp + 0x30], eax
push edi
lea ecx, [ebp + 0x1c]
call fcn.004140e2
mov ecx, dword [0x4301c4]
mov edx, dword [0x4301c0]
mov esi, dword [esi + 0xc]
mov eax, dword [ebp + 0x58]
mov dword [ebp], eax
mov edi, dword [ebp + 0x4c]
jmp 0x40d827
mov dword [ebp + 0x5c], ebx
inc ecx
mov dword [0x4301c4], ecx
mov eax, 0x156
cmove ecx, eax
mov dword [0x4301c4], ecx
mov eax, edx
not eax
and eax, 0x3b9
neg eax
sbb eax, eax
mov esi, 0x80000000
and eax, esi
add eax, esi
shr edx, 1
mov dword [0x4301c0], edx
or edx, eax
mov dword [0x4301c0], edx
mov eax, 0x1d1
xor ecx, eax
mov dword [0x4301c4], ecx
or ecx, eax
mov dword [0x4301c4], ecx
mov eax, 0x3d3
xor ecx, eax
mov dword [0x4301c4], ecx
or ecx, eax
mov dword [0x4301c4], ecx
mov esi, edi
mov dword [ebp + 0x5c], esi
mov eax, edx
not eax
and eax, 0x3b9
neg eax
sbb eax, eax
and eax, 0x80000000
add eax, 0x80000000
shr edx, 1
mov dword [0x4301c0], edx
or edx, eax
mov dword [0x4301c0], edx
shl ecx, 0x13
mov dword [0x4301c4], ecx
or ecx, 1
mov dword [0x4301c4], ecx
shl ecx, 0x11
mov dword [0x4301c4], ecx
or ecx, 1
mov dword [0x4301c4], ecx
or ecx, 0x1b2
mov dword [0x4301c4], ecx
inc ecx
mov dword [0x4301c4], ecx
mov eax, 0x39d
cmove ecx, eax
mov dword [0x4301c4], ecx
mov eax, edx
not eax
and eax, 0x3b9
neg eax
sbb eax, eax
and eax, 0x80000000
add eax, 0x80000000
shr edx, 1
mov dword [0x4301c0], edx
or edx, eax
mov dword [0x4301c0], edx
inc ecx
mov dword [0x4301c4], ecx
mov eax, 0x392
cmove ecx, eax
mov dword [0x4301c4], ecx
mov eax, edx
not eax
and eax, 0x3b9
neg eax
sbb eax, eax
and eax, 0x80000000
add eax, 0x80000000
shr edx, 1
mov dword [0x4301c0], edx
or edx, eax
mov dword [0x4301c0], edx
or ecx, 0x322
mov dword [0x4301c4], ecx
mov eax, edx
not eax
and eax, 0x3b9
neg eax
sbb eax, eax
and eax, 0x80000000
add eax, 0x80000000
shr edx, 1
mov dword [0x4301c0], edx
or edx, eax
mov dword [0x4301c0], edx
mov eax, dword [ebp + 0x50]
cmp esi, eax
je 0x40de0c
mov eax, dword [esi]
test byte [eax], 2
je 0x40de01
cmp dword [esi + 0x2c], ebx
je 0x40de01
inc ecx
mov dword [0x4301c4], ecx
mov edx, 0x377
cmove ecx, edx
mov dword [0x4301c4], ecx
shl ecx, 0x1d
mov dword [0x4301c4], ecx
or ecx, 1
mov dword [0x4301c4], ecx
test dword [eax], 0x80000000
jne 0x40de01
test dword [eax], 0x800
je 0x40dd40
call fcn.00410690
test eax, eax
jne 0x40ddfb
call fcn.00410833
test eax, eax
jne 0x40ddfb
push 1
lea eax, [ebp + 0x1c]
push eax
mov eax, dword [esi]
push dword [eax + 0x1c]
lea eax, [ebp - 0x74]
push eax
call fcn.00411c8a
add esp, 0x10
mov byte [ebp - 4], 0x19
push eax
lea ecx, [esi + 0x34]
call fcn.00411237
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x74]
call fcn.00401530
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
call fcn.0040e029
pop ecx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040eed7
mov dword [ebp + 0x58], eax
mov byte [ebp - 4], 0x1a
push dword [esi + 4]
lea eax, [ebp - 0x28]
push eax
call fcn.0040ee8a
add esp, 0x10
mov ebx, eax
mov byte [ebp - 4], 0x1b
push str.pid:
lea ecx, [ebp + 0x34]
call fcn.00401391
mov byte [ebp - 4], 0x1c
push dword [ebp + 0x58]
push 0xffffffffffffffff
push 0
push ebx
mov ecx, eax
call fcn.0040532b
push eax
lea ecx, [ebp + 0x1c]
call fcn.0041440b
mov byte [ebp - 4], 0x1b
lea ecx, [ebp + 0x34]
call fcn.00401530
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x28]
call fcn.00401530
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x40]
call fcn.00401530
xor ebx, ebx
mov ecx, dword [0x4301c4]
add esi, 0x50
mov dword [ebp + 0x5c], esi
jmp 0x40dccc
cmp dword [ebp + 0x30], 0
je 0x40de74
mov esi, edi
mov dword [ebp + 0x5c], esi
cmp esi, eax
je 0x40de44
cmp dword [esi + 8], 0
je 0x40de3f
mov eax, dword [esi]
test byte [eax], 8
je 0x40de3c
push 0xffffffffffffffff
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x50]
add esi, 0x50
jmp 0x40de14
mov dword [ebp + 0x5c], edi
cmp edi, eax
je 0x40de74
mov eax, dword [edi]
test byte [eax], 0x10
je 0x40de69
cmp dword [edi + 0x2c], ebx
je 0x40de69
lea eax, [edi + 0x1c]
cmp dword [eax + 0x14], 0x10
jb 0x40de62
mov eax, dword [eax]
push eax
call fcn.0040c899
pop ecx
add edi, 0x50
mov dword [ebp + 0x5c], edi
mov eax, dword [ebp + 0x50]
jmp 0x40de47
mov dword [ebp - 4], 2
mov esi, ebx
jmp 0x40dfe5
call fcn.004112d8
call fcn.004143a0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x1c]
call fcn.0040b50d
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x4c]
call fcn.0040c716
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.0040a5f7
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add ebp, 0x64
leave
ret