Function at 0x4048f0
Capabilities:
Create directory
Create process on windows
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x514]
sub esp, 0x514
push 0xffffffffffffffff
push 0x42c2e8
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x439d84]
xor eax, ebp
mov dword [ebp + 0x510], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x51c]
mov ebx, ecx
mov ecx, dword [ebp + 0x520]
xor edi, edi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edi
call fcn.0040d5a6
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x404965
push 0x80004005
call fcn.00401030
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], edi
call fcn.0040d5a6
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x404991
push 0x80004005
call fcn.00401030
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 1
call fcn.0040d5a6
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4049be
push 0x80004005
call fcn.00401030
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
call fcn.0040d5a6
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4049eb
push 0x80004005
call fcn.00401030
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
call fcn.0040d5a6
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x404a18
push 0x80004005
call fcn.00401030
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 4
call fcn.0040d5a6
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x404a45
push 0x80004005
call fcn.00401030
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x30], esi
lea ecx, [ebx + 0x98]
mov byte [ebp - 4], 5
call fcn.00401a40
lea ecx, [ebp]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp eax, edi
jne 0x404b53
lea eax, [esi - 0x10]
mov byte [ebp - 4], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404a9a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404abd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404ae0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404b03
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404b26
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404b4c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4054a0
lea eax, [ebp]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x404b60
sub eax, edx
push eax
lea ecx, [ebp]
push ecx
lea esi, [ebx + 0x98]
mov ecx, esi
call fcn.00401c80
push str._FL3_LEP
lea edx, [ebp - 0x20]
push esi
push edx
call fcn.004020e0
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.00401f30
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404bbe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi]
push ecx
sub eax, 0x10
mov dword [ebp - 0x20], esp
mov edi, esp
push eax
call fcn.00401aa0
add eax, 0x10
add esp, 4
mov ecx, ebx
mov dword [edi], eax
call fcn.004039a0
mov esi, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
push esi
call edi
lea ecx, [ebp + 0x30c]
push 0x100
push ecx
call fcn.00418da9
add esp, 8
test eax, eax
jne 0x404ce7
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404c2a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404c4d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404c70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404c93
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404cb6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404b4c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4054a0
mov esi, dword [ebp - 0x14]
test esi, esi
jne 0x404cf2
xor eax, eax
jmp 0x404d02
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x404cf7
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x18]
call fcn.00401c80
test esi, esi
jne 0x404d14
xor eax, eax
jmp 0x404d2b
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x404d20
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.00401c80
lea ecx, [ebp - 0x18]
call fcn.00402fc0
mov ecx, dword [ebp - 0x18]
push 0x5c
push ecx
call fcn.00418351
add esp, 8
test esi, esi
jne 0x404d53
xor eax, eax
jmp 0x404d63
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x404d58
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.00401c80
test esi, esi
jne 0x404d75
xor eax, eax
jmp 0x404d8b
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x404d80
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00401c80
lea ecx, [ebp - 0x28]
call fcn.00402fc0
mov esi, dword [ebp - 0x28]
push 0x5c
push esi
call fcn.00418351
add esp, 8
test eax, eax
jne 0x404db4
or esi, 0xffffffff
jmp 0x404db8
sub eax, esi
mov esi, eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx - 0xc]
sub eax, esi
add eax, 1
push eax
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401d90
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00401f30
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404e01
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00401d10
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.00401f30
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404e3e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x1c]
push 0x5c
push esi
call fcn.00418351
add esp, 8
test eax, eax
je 0x404ea6
sub eax, esi
mov ecx, eax
cmp ecx, 0xffffffff
je 0x404ea6
mov eax, dword [esi - 0xc]
sub eax, ecx
add ecx, 1
push eax
push ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x3c], 1
call fcn.00401d90
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 9
call fcn.00401f30
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404ea6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp + 0x30c]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x404eb0
sub eax, edx
push eax
lea ecx, [ebp + 0x30c]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00401c80
push 0x42eea8
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.004020e0
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea edx, [ebp - 0x14]
mov bl, 0xa
push edx
mov byte [ebp - 4], bl
call fcn.00402020
add esp, 0x18
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xb
call fcn.00401f30
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404f22
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404f45
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x34]
add eax, 0x98
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401f30
push 0x42eea8
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.004020e0
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea edx, [ebp - 0x14]
mov bl, 0xc
push edx
mov byte [ebp - 4], bl
call fcn.00402020
add esp, 0x18
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
call fcn.00401f30
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404fad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404fd0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.00402020
add esp, 0xc
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xe
call fcn.00401f30
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405014
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x2c]
push 0
push ecx
call edi
cmp dword [ebp - 0x3c], 1
jne 0x405107
lea edx, [ebp + 0x30c]
push edx
lea ecx, [ebp - 0x18]
call fcn.004021c0
mov esi, dword [ebp - 0x24]
push 0x5c
push esi
call fcn.00418351
add esp, 8
test eax, eax
jne 0x40504c
or eax, 0xffffffff
jmp 0x40504e
sub eax, esi
push eax
push 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
call fcn.00401d90
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xf
call fcn.00401f30
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40508d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x42eea8
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.004020e0
lea ecx, [ebp - 0x24]
push ecx
push eax
lea edx, [ebp - 0x14]
push edx
mov byte [ebp - 4], 0x10
call fcn.00402020
add esp, 0x18
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x11
call fcn.00401f30
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4050e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405107
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x2c]
push ecx
add esi, 0xfffffff0
mov dword [ebp - 0x14], esp
mov edi, esp
push esi
call fcn.00401aa0
add eax, 0x10
mov dword [edi], eax
mov ebx, dword [ebp - 0x18]
add ebx, 0xfffffff0
mov dword [ebp - 0x20], esp
mov edi, esp
push ebx
mov byte [ebp - 4], 0x12
call fcn.00401aa0
mov ecx, dword [ebp - 0x34]
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov byte [ebp - 4], 5
call fcn.004034f0
push 0x104
lea ecx, [ebp + 0x40c]
push 0
push ecx
mov byte [ebp - 4], 0x13
call fcn.00418e00
push 0x104
lea edx, [ebp + 0x104]
push 0
push edx
call fcn.00418e00
push 0x104
lea eax, [ebp + 0x208]
push 0
push eax
call fcn.00418e00
push 0x42efbc
lea ecx, [ebp + 0x104]
push 0x104
push ecx
call fcn.0041894c
push 0x42efb8
lea edx, [ebp + 0x208]
push 0x104
push edx
call fcn.0041894c
lea eax, [ebp + 0x208]
push eax
lea ecx, [ebp + 0x40c]
push 0x104
push ecx
call fcn.004189b1
mov edi, dword [ebp - 0x30]
add esp, 0x48
push edi
lea edx, [ebp + 0x40c]
push 0x104
push edx
call fcn.004189b1
lea eax, [ebp + 0x208]
push eax
lea ecx, [ebp + 0x40c]
push 0x104
push ecx
call fcn.004189b1
lea edx, [ebp + 0x104]
push edx
lea eax, [ebp + 0x40c]
push 0x104
push eax
call fcn.004189b1
mov ecx, dword [ebp - 0x38]
push ecx
lea edx, [ebp + 0x40c]
push 0x104
push edx
call fcn.004189b1
push str.__clone_wait
lea eax, [ebp + 0x40c]
push 0x104
push eax
call fcn.004189b1
push 0x44
lea ecx, [ebp - 0x90]
push 0
push ecx
call fcn.00418e00
add esp, 0x48
xor eax, eax
lea edx, [ebp - 0x4c]
push edx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x90]
push eax
push 0
push 0
push 0x20
push 1
push 0
push 0
lea ecx, [ebp + 0x40c]
push ecx
push 0
mov dword [ebp - 0x90], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x405365
lea eax, [edi - 0x10]
mov byte [ebp - 4], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4052b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4052d1
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov byte [ebp - 4], 2
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4052ee
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405311
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405334
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404b4c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4054a0
mov ecx, dword [ebp - 0x4c]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x20]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebx + 0x98]
xor ecx, ecx
cmp dword [ebp - 0x20], 0xffffffff
setne cl
sub eax, 0x10
push ecx
mov dword [ebp - 0x14], esp
mov esi, esp
push eax
mov dword [ebp - 0x38], ecx
call fcn.00401aa0
add eax, 0x10
add esp, 4
mov ecx, ebx
mov dword [esi], eax
call fcn.004039a0
mov dword [ebp - 4], 5
jmp 0x4053cb
lea eax, [edi - 0x10]
mov byte [ebp - 4], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4053eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40540e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405431
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405454
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405477
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40549d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x510]
xor ecx, ebp
call fcn.00418200
add ebp, 0x514
mov esp, ebp
pop ebp
ret 8