Function at 0x40b610
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41c881
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x426020]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push ecx
mov ecx, dword [ebx + 0x44]
mov eax, esp
mov dword [ebp - 0x14], 0
mov esi, 1
mov dword [ebp - 0x428], esp
mov dword [eax], ecx
test ecx, ecx
je 0x40b667
lea eax, [ecx + 8]
mov ecx, esi
lock xadd dword [eax], ecx
push ecx
mov dword [ebp - 4], 0
mov eax, esp
mov ecx, dword [ebx + 0x30]
mov dword [ebp - 0x430], esp
mov dword [eax], ecx
test ecx, ecx
je 0x40b689
lea eax, [ecx + 8]
mov ecx, esi
lock xadd dword [eax], ecx
push ecx
mov ecx, esp
mov byte [ebp - 4], 1
push 0x423450
call fcn.00401090
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.00408b00
push 0x408
lea eax, [ebp - 0x420]
mov dword [ebp - 4], 2
push 0
push eax
call fcn.0040e360
mov eax, dword [ebp - 0x14]
add esp, 8
mov ecx, esp
mov dword [ecx], eax
test eax, eax
je 0x40b6db
add eax, 8
mov ecx, esi
lock xadd dword [eax], ecx
lea ecx, [ebp - 0x420]
call fcn.004085d0
push ecx
mov ecx, esp
mov byte [ebp - 4], 3
push 0x42345c
call fcn.00401090
lea ecx, [ebp - 0x420]
call fcn.00408790
cmp dword [ebp - 0x20], 4
jge 0x40b70f
push 0
call fcn.0040d4dc
push ecx
mov ecx, dword [ebx + 0x44]
mov eax, esp
mov dword [ebp - 0x42c], esp
mov dword [eax], ecx
test ecx, ecx
je 0x40b72a
lea eax, [ecx + 8]
mov ecx, esi
lock xadd dword [eax], ecx
push ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x420]
mov eax, esp
mov dword [ebp - 0x430], esp
push 0
push eax
call fcn.00408740
push ecx
mov ecx, esp
mov byte [ebp - 4], 5
push 0x423460
call fcn.00401090
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 3
push eax
call fcn.00408b00
push eax
lea ecx, [ebx + 0x50]
call fcn.00407360
mov edi, dword [ebp - 0x428]
test edi, edi
je 0x40b7bd
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
jne 0x40b7bd
test edi, edi
je 0x40b7bd
mov eax, dword [edi]
test eax, eax
je 0x40b79d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x40b7b4
push eax
call fcn.0040c8f8
add esp, 4
mov dword [edi + 4], 0
push edi
call fcn.0040c8f8
add esp, 4
push ecx
mov ecx, dword [ebx + 0x44]
mov eax, esp
mov dword [ebp - 0x424], esp
mov dword [eax], ecx
test ecx, ecx
je 0x40b7d8
lea eax, [ecx + 8]
mov ecx, esi
lock xadd dword [eax], ecx
push ecx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x420]
mov eax, esp
mov dword [ebp - 0x42c], esp
push 1
push eax
call fcn.00408740
push ecx
mov ecx, esp
mov byte [ebp - 4], 7
push 0x423468
call fcn.00401090
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 3
push eax
call fcn.00408b00
push eax
lea ecx, [ebx + 0x54]
call fcn.00407360
mov edi, dword [ebp - 0x428]
test edi, edi
je 0x40b86b
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
jne 0x40b86b
test edi, edi
je 0x40b86b
mov eax, dword [edi]
test eax, eax
je 0x40b84b
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x40b862
push eax
call fcn.0040c8f8
add esp, 4
mov dword [edi + 4], 0
push edi
call fcn.0040c8f8
add esp, 4
push ecx
mov ecx, dword [ebx + 0x44]
mov eax, esp
mov dword [ebp - 0x424], esp
mov dword [eax], ecx
test ecx, ecx
je 0x40b886
lea eax, [ecx + 8]
mov ecx, esi
lock xadd dword [eax], ecx
push ecx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x420]
mov eax, esp
mov dword [ebp - 0x42c], esp
push 2
push eax
call fcn.00408740
push ecx
mov ecx, esp
mov byte [ebp - 4], 9
push 0x423470
call fcn.00401090
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 3
push eax
call fcn.00408b00
push eax
lea ecx, [ebx + 0x58]
call fcn.00407360
mov edi, dword [ebp - 0x428]
test edi, edi
je 0x40b919
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
jne 0x40b919
test edi, edi
je 0x40b919
mov eax, dword [edi]
test eax, eax
je 0x40b8f9
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x40b910
push eax
call fcn.0040c8f8
add esp, 4
mov dword [edi + 4], 0
push edi
call fcn.0040c8f8
add esp, 4
push ecx
mov ecx, dword [ebx + 0x44]
mov eax, esp
mov dword [ebp - 0x424], esp
mov dword [eax], ecx
test ecx, ecx
je 0x40b933
lea eax, [ecx + 8]
lock xadd dword [eax], esi
inc esi
push ecx
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x420]
mov eax, esp
mov dword [ebp - 0x42c], esp
push 3
push eax
call fcn.00408740
push ecx
mov ecx, esp
mov byte [ebp - 4], 0xb
push 0x423478
call fcn.00401090
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 3
push eax
call fcn.00408b00
push eax
lea ecx, [ebx + 0x5c]
call fcn.00407360
mov esi, dword [ebp - 0x428]
or ebx, 0xffffffff
test esi, esi
je 0x40b9c8
lea eax, [esi + 8]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
jne 0x40b9c8
test esi, esi
je 0x40b9c8
mov eax, dword [esi]
test eax, eax
je 0x40b9a8
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x40b9bf
push eax
call fcn.0040c8f8
add esp, 4
mov dword [esi + 4], 0
push esi
call fcn.0040c8f8
add esp, 4
lea ecx, [ebp - 0x420]
call fcn.00408650
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x40ba1b
lea eax, [esi + 8]
lock xadd dword [eax], ebx
dec ebx
jne 0x40ba1b
test esi, esi
je 0x40ba1b
mov eax, dword [esi]
test eax, eax
je 0x40b9fb
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x40ba12
push eax
call fcn.0040c8f8
add esp, 4
mov dword [esi + 4], 0
push esi
call fcn.0040c8f8
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040c8e9
mov esp, ebp
pop ebp
ret