Function at 0x402c40
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41a43c
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x42500c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x74], 0x44
push 0x40
push 0
lea eax, [ebp - 0x70]
push eax
call fcn.00409670
add esp, 0xc
xorps xmm0, xmm0
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x24], 0
call fcn.00402010
mov edi, eax
test edi, edi
je 0x403898
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x41b17c]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
mov eax, str.vs_layout.exe
lea ecx, [ebp - 0x24]
test eax, 0xffff0000
jne 0x402ce7
movzx eax, ax
push eax
call fcn.004027a0
jmp 0x402cf3
push 0xd
push str.vs_layout.exe
call fcn.00401820
mov dword [ebp - 4], 1
mov dword [ebp - 0x30], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x30]
call fcn.00402950
mov byte [ebp - 4], 2
mov dword [ebp - 0x2c], 0
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x2c]
call fcn.00401020
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], 0
push 0x421c8f
lea ecx, [ebp - 0x18]
call fcn.00403a00
mov byte [ebp - 4], 4
mov dword [ebp - 0x28], 0
push 0x421c8f
lea ecx, [ebp - 0x28]
call fcn.00403a00
mov byte [ebp - 4], 5
mov dword [ebp - 0x20], 0
push 0x421c8f
lea ecx, [ebp - 0x20]
call fcn.00403a00
mov byte [ebp - 4], 6
xor edi, edi
mov dword [ebp - 0xac], edi
push 0x14
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
jne 0x402da0
mov dword [ebp - 0x1c], 0x80004005
mov esi, dword [ebp - 0x24]
jmp 0x403737
xor esi, esi
nop dword [eax]
nop word [eax + eax]
mov dword [ebp - 0x9c], 0
lea edx, [ebp - 0x9c]
mov ecx, dword [esi + 0x421b6c]
call fcn.00402190
test eax, eax
jne 0x402de9
mov ecx, dword [ebp - 0x9c]
mov dword [esi + edi + 4], ecx
inc dword [edi]
add esi, 4
cmp esi, 0xc
jb 0x402db0
mov dword [ebp - 0xac], edi
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x4036d3
lea ecx, [ebp - 0x9c]
call fcn.00406530
mov byte [ebp - 4], 7
mov edx, dword [eax]
lea ecx, [edx - 0x10]
mov esi, dword [ebp - 0x28]
add esi, 0xfffffff0
mov dword [ebp - 0x88], esi
cmp ecx, esi
je 0x402e70
lea edi, [esi + 0xc]
cmp dword [edi], 0
jl 0x402e64
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x402e64
call fcn.004017a0
mov dword [ebp - 0xa4], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x402e5c
mov edi, dword [esi]
mov edx, dword [edi]
mov esi, dword [edx + 4]
push dword [ebp - 0x88]
mov ecx, esi
call dword [0x41b17c]
mov ecx, edi
call esi
mov eax, dword [ebp - 0xa4]
add eax, 0x10
mov dword [ebp - 0x28], eax
jmp 0x402e70
push dword [edx - 0xc]
push edx
lea ecx, [ebp - 0x28]
call fcn.00401820
or edi, 0xffffffff
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x9c]
add ecx, 0xfffffff0
mov eax, edi
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x402ea3
mov edi, dword [ecx]
mov eax, dword [edi]
mov esi, dword [eax + 4]
push ecx
mov ecx, esi
call dword [0x41b17c]
mov ecx, edi
call esi
or edi, 0xffffffff
mov eax, dword [ebp - 0x28]
lea edx, [eax - 0x10]
mov dword [ebp - 0x88], edx
mov esi, dword [ebp - 0x18]
add esi, 0xfffffff0
mov dword [ebp - 0xa4], esi
cmp edx, esi
je 0x402f20
cmp dword [esi + 0xc], 0
jl 0x402f14
mov edx, dword [edx]
cmp edx, dword [esi]
jne 0x402f14
mov ecx, dword [ebp - 0x88]
call fcn.004017a0
mov dword [ebp - 0x88], eax
mov ecx, edi
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402f0c
mov edi, dword [esi]
mov edx, dword [edi]
mov esi, dword [edx + 4]
push dword [ebp - 0xa4]
mov ecx, esi
call dword [0x41b17c]
mov ecx, edi
call esi
or edi, 0xffffffff
mov eax, dword [ebp - 0x88]
add eax, 0x10
mov dword [ebp - 0x18], eax
jmp 0x402f20
push dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x18]
call fcn.00401820
mov esi, dword [ebp - 0x24]
push dword [esi - 0xc]
push esi
lea ecx, [ebp - 0x18]
call fcn.00402a10
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x88], eax
push ecx
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0xc4]
call fcn.00403cc0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xc4]
call fcn.004061d0
test al, al
sete al
mov byte [ebp - 0x89], al
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0xb0]
cmp edx, 8
jb 0x402faf
lea edx, [edx*2 + 2]
mov ecx, dword [ebp - 0xc4]
mov eax, ecx
cmp edx, 0x1000
jb 0x402f9f
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4038a2
push edx
push ecx
call fcn.00407f6b
add esp, 8
mov al, byte [ebp - 0x89]
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 7
xor ecx, ecx
mov word [ebp - 0xc4], cx
test al, al
je 0x40311d
push str......._
lea ecx, [ebp - 0x9c]
call fcn.00403a00
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x9c]
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x90]
call fcn.004038b0
add esp, 4
mov byte [ebp - 4], 0xc
mov edx, dword [eax]
lea ecx, [edx - 0x10]
mov dword [ebp - 0x88], ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov dword [ebp - 0xa0], ecx
lea eax, [edx - 0x10]
cmp eax, ecx
je 0x40309d
lea esi, [ecx + 0xc]
mov dword [ebp - 0xa4], esi
cmp dword [ecx + 0xc], 0
mov esi, dword [ebp - 0x24]
jl 0x403091
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x403091
mov ecx, dword [ebp - 0x88]
call fcn.004017a0
mov dword [ebp - 0x88], eax
mov ecx, edi
mov eax, dword [ebp - 0xa4]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x403083
mov ecx, dword [ebp - 0xa0]
mov eax, dword [ecx]
mov dword [ebp - 0xa0], eax
mov edx, dword [eax]
mov edi, dword [edx + 4]
push ecx
mov ecx, edi
call dword [0x41b17c]
mov ecx, dword [ebp - 0xa0]
call edi
or edi, 0xffffffff
mov eax, dword [ebp - 0x88]
add eax, 0x10
mov dword [ebp - 0x18], eax
jmp 0x40309d
push dword [edx - 0xc]
push edx
lea ecx, [ebp - 0x18]
call fcn.00401820
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x90]
add ecx, 0xfffffff0
mov eax, edi
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4030d7
mov eax, dword [ecx]
mov dword [ebp - 0xa0], eax
mov eax, dword [eax]
mov edi, dword [eax + 4]
push ecx
mov ecx, edi
call dword [0x41b17c]
mov ecx, dword [ebp - 0xa0]
call edi
or edi, 0xffffffff
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x9c]
add ecx, 0xfffffff0
mov eax, edi
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x403111
mov eax, dword [ecx]
mov dword [ebp - 0xa0], eax
mov eax, dword [eax]
mov edi, dword [eax + 4]
push ecx
mov ecx, edi
call dword [0x41b17c]
mov ecx, dword [ebp - 0xa0]
call edi
or edi, 0xffffffff
push dword [esi - 0xc]
push esi
lea ecx, [ebp - 0x18]
call fcn.00402a10
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x90], eax
push ecx
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0xc4]
call fcn.00403cc0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xc4]
call fcn.004061d0
test al, al
sete al
mov byte [ebp - 0x89], al
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0xb0]
cmp edx, 8
jb 0x40319d
lea edx, [edx*2 + 2]
mov ecx, dword [ebp - 0xc4]
mov eax, ecx
cmp edx, 0x1000
jb 0x40318d
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4038a7
push edx
push ecx
call fcn.00407f6b
add esp, 8
mov al, byte [ebp - 0x89]
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 7
xor ecx, ecx
mov word [ebp - 0xc4], cx
test al, al
je 0x403307
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov eax, edi
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4031f9
mov eax, dword [ecx]
mov dword [ebp - 0x90], eax
mov eax, dword [eax]
mov edi, dword [eax + 4]
push ecx
mov ecx, edi
call dword [0x41b17c]
mov ecx, dword [ebp - 0x90]
call edi
or edi, 0xffffffff
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
mov eax, edi
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x403230
mov eax, dword [ecx]
mov dword [ebp - 0x90], eax
mov eax, dword [eax]
mov edi, dword [eax + 4]
push ecx
mov ecx, edi
call dword [0x41b17c]
mov ecx, dword [ebp - 0x90]
call edi
or edi, 0xffffffff
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov eax, edi
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x403267
mov eax, dword [ecx]
mov dword [ebp - 0x90], eax
mov eax, dword [eax]
mov edi, dword [eax + 4]
push ecx
mov ecx, edi
call dword [0x41b17c]
mov ecx, dword [ebp - 0x90]
call edi
or edi, 0xffffffff
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
mov eax, edi
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x40329e
mov eax, dword [ecx]
mov dword [ebp - 0x90], eax
mov eax, dword [eax]
mov edi, dword [eax + 4]
push ecx
mov ecx, edi
call dword [0x41b17c]
mov ecx, dword [ebp - 0x90]
call edi
or edi, 0xffffffff
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
mov eax, edi
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4032d5
mov eax, dword [ecx]
mov dword [ebp - 0x90], eax
mov eax, dword [eax]
mov edi, dword [eax + 4]
push ecx
mov ecx, edi
call dword [0x41b17c]
mov ecx, dword [ebp - 0x90]
call edi
or edi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x4032fd
mov edi, dword [esi]
mov eax, dword [edi]
push esi
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x41b17c]
mov ecx, edi
call esi
mov eax, 0x3ee
jmp 0x40387a
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_AttachConsole]
mov byte [ebp - 4], 0x17
push ecx
mov dword [ebp - 0x98], esp
mov edi, esp
mov dword [ebp - 0xa8], edi
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004017a0
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x18
mov byte [ebp - 4], 0x19
mov byte [ebp - 4], 0x17
call fcn.004062f0
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 6
jmp 0x403369
cmp dword [ebp - 0x1c], 0
je 0x4033b4
push ecx
mov dword [ebp - 0x98], esp
mov edi, esp
mov dword [ebp - 0xa8], edi
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.004017a0
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x1c
mov byte [ebp - 4], 6
call fcn.004012d0
add esp, 4
test al, al
jne 0x4033aa
mov ecx, dword [ebp - 0x1c]
call fcn.004023f0
cmp dword [ebp - 0x1c], 0
jne 0x4036d6
mov dword [ebp - 0x74], 0x44
push 0x421c20
lea ecx, [ebp - 0x88]
call fcn.00403a00
mov byte [ebp - 4], 0x1d
push 0x421c24
lea ecx, [ebp - 0xa4]
call fcn.00403a00
mov byte [ebp - 4], 0x1e
push 0x421c24
lea ecx, [ebp - 0x9c]
call fcn.00403a00
mov byte [ebp - 4], 0x1f
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x9c]
lea ecx, [ebp - 0x98]
call fcn.004038b0
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0xa4]
push ecx
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.004038b0
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x88]
push ecx
mov edx, eax
lea ecx, [ebp - 0xcc]
call fcn.004038b0
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x2c]
push ecx
mov edx, eax
lea ecx, [ebp - 0xc8]
call fcn.004038b0
add esp, 0x10
mov byte [ebp - 4], 0x23
mov edx, dword [eax]
lea ecx, [edx - 0x10]
mov edi, dword [ebp - 0x20]
add edi, 0xfffffff0
mov dword [ebp - 0x90], edi
cmp ecx, edi
je 0x4034d0
cmp dword [edi + 0xc], 0
jl 0x4034c4
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4034c4
call fcn.004017a0
mov dword [ebp - 0x94], eax
or ecx, 0xffffffff
lea edx, [edi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4034bc
mov eax, dword [edi]
mov dword [ebp - 0xa0], eax
mov edx, dword [eax]
mov edi, dword [edx + 4]
push dword [ebp - 0x90]
mov ecx, edi
call dword [0x41b17c]
mov ecx, dword [ebp - 0xa0]
call edi
mov eax, dword [ebp - 0x94]
add eax, 0x10
mov dword [ebp - 0x20], eax
jmp 0x4034d0
push dword [edx - 0xc]
push edx
lea ecx, [ebp - 0x20]
call fcn.00401820
mov byte [ebp - 4], 0x22
mov ecx, dword [ebp - 0xc8]
add ecx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x403508
mov eax, dword [ecx]
mov dword [ebp - 0x94], eax
mov eax, dword [eax]
mov edi, dword [eax + 4]
push ecx
mov ecx, edi
call dword [0x41b17c]
mov ecx, dword [ebp - 0x94]
call edi
mov byte [ebp - 4], 0x21
mov ecx, dword [ebp - 0xcc]
add ecx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x403540
mov eax, dword [ecx]
mov dword [ebp - 0x94], eax
mov eax, dword [eax]
mov edi, dword [eax + 4]
push ecx
mov ecx, edi
call dword [0x41b17c]
mov ecx, dword [ebp - 0x94]
call edi
mov byte [ebp - 4], 0x20
mov ecx, dword [ebp - 0xa8]
add ecx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x403578
mov eax, dword [ecx]
mov dword [ebp - 0x94], eax
mov eax, dword [eax]
mov edi, dword [eax + 4]
push ecx
mov ecx, edi
call dword [0x41b17c]
mov ecx, dword [ebp - 0x94]
call edi
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x98]
add ecx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4035b0
mov eax, dword [ecx]
mov dword [ebp - 0x94], eax
mov eax, dword [eax]
mov edi, dword [eax + 4]
push ecx
mov ecx, edi
call dword [0x41b17c]
mov ecx, dword [ebp - 0x94]
call edi
mov byte [ebp - 4], 0x1e
mov ecx, dword [ebp - 0x9c]
add ecx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4035e8
mov eax, dword [ecx]
mov dword [ebp - 0x94], eax
mov eax, dword [eax]
mov edi, dword [eax + 4]
push ecx
mov ecx, edi
call dword [0x41b17c]
mov ecx, dword [ebp - 0x94]
call edi
mov byte [ebp - 4], 0x1d
mov ecx, dword [ebp - 0xa4]
add ecx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x403620
mov eax, dword [ecx]
mov dword [ebp - 0x94], eax
mov eax, dword [eax]
mov edi, dword [eax + 4]
push ecx
mov ecx, edi
call dword [0x41b17c]
mov ecx, dword [ebp - 0x94]
call edi
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x88]
add ecx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x403658
mov eax, dword [ecx]
mov dword [ebp - 0x94], eax
mov eax, dword [eax]
mov edi, dword [eax + 4]
push ecx
mov ecx, edi
call dword [0x41b17c]
mov ecx, dword [ebp - 0x94]
call edi
mov eax, dword [ebp - 0x20]
cmp dword [eax - 4], 1
jle 0x40366f
push dword [eax - 0xc]
lea ecx, [ebp - 0x20]
call fcn.00401b40
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x74]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40369e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
jmp 0x4036d6
push 0xffffffffffffffff
push dword [ebp - 0x84]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x84]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x84]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4036d6
mov esi, dword [ebp - 0x24]
mov edx, dword [ebp - 0xac]
test edx, edx
je 0x403737
xor eax, eax
mov dword [ebp - 0x88], eax
cmp dword [edx], eax
jbe 0x40371d
lea edi, [edx + 4]
nop
mov ecx, dword [edi]
test ecx, ecx
je 0x40370f
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [edi], 0
mov eax, dword [ebp - 0x88]
mov edx, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0x88], eax
add edi, 4
cmp eax, dword [edx]
jb 0x4036f0
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
jne 0x403737
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x403775
mov eax, dword [ecx]
mov dword [ebp - 0x98], eax
mov eax, dword [eax]
mov edi, dword [eax + 4]
push ecx
mov ecx, edi
call dword [0x41b17c]
mov ecx, dword [ebp - 0x98]
call edi
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4037aa
mov eax, dword [ecx]
mov dword [ebp - 0x98], eax
mov eax, dword [eax]
mov edi, dword [eax + 4]
push ecx
mov ecx, edi
call dword [0x41b17c]
mov ecx, dword [ebp - 0x98]
call edi
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4037df
mov eax, dword [ecx]
mov dword [ebp - 0x98], eax
mov eax, dword [eax]
mov edi, dword [eax + 4]
push ecx
mov ecx, edi
call dword [0x41b17c]
mov ecx, dword [ebp - 0x98]
call edi
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x403814
mov eax, dword [ecx]
mov dword [ebp - 0x98], eax
mov eax, dword [eax]
mov edi, dword [eax + 4]
push ecx
mov ecx, edi
call dword [0x41b17c]
mov ecx, dword [ebp - 0x98]
call edi
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x403849
mov eax, dword [ecx]
mov dword [ebp - 0x98], eax
mov eax, dword [eax]
mov edi, dword [eax + 4]
push ecx
mov ecx, edi
call dword [0x41b17c]
mov ecx, dword [ebp - 0x98]
call edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x403874
mov edi, dword [esi]
mov edx, dword [edi]
push esi
mov esi, dword [edx + 4]
mov ecx, esi
call dword [0x41b17c]
mov ecx, edi
call esi
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00407a0d
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00402170
call fcn.0040bba4
call fcn.0040bba4
int3