Function at 0x402260
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4168e2
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov eax, dword [0x829618]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov dword [esp + 0x58], ecx
xor eax, eax
mov dword [esp + 0x40], eax
mov ebx, dword [esp + 0x8c]
mov edx, dword [0x41a2cc]
mov edi, 1
mov dword [ebx], edx
mov esi, edi
lock xadd dword [edx], esi
add ecx, 0x20
mov dword [esp + 0x84], eax
push ecx
lea eax, [esp + 0x60]
push eax
mov dword [esp + 0x48], edi
call fcn.0040b080
add esp, 8
mov esi, dword [0x41a354]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x84], edi
mov ecx, dword [esp + 0x60]
mov edx, ecx
add ecx, edi
mov dword [esp + 0x60], ecx
test edx, edx
jne 0x402499
cmp eax, dword [esp + 0x68]
je 0x402499
mov ebp, dword [eax]
jmp 0x402300
cmp dword [esp + 0x60], 0
je 0x402489
cmp dword [ebp + 8], 0
jl 0x40247b
mov byte [esp + 0x44], 0x20
mov eax, dword [esp + 0x44]
push eax
lea ecx, [esp + 0x1c]
call dword [0x41a34c]
mov byte [esp + 0x48], 0x20
mov ecx, dword [esp + 0x48]
push ecx
lea ecx, [esp + 0x1a]
call dword [0x41a34c]
mov byte [esp + 0x4c], 0x20
mov edx, dword [esp + 0x4c]
push edx
lea ecx, [esp + 0x18]
call dword [0x41a34c]
push 0xffffffffffffffff
push str._1__2__3
call dword [0x41a350]
add esp, 8
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
push eax
push 0
push ebx
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x94], 2
call esi
lea edx, [esp + 0x16]
push edx
push 0
lea ecx, [ebp + 4]
push ecx
lea edx, [esp + 0x38]
push edx
mov ecx, eax
mov byte [esp + 0x94], 3
call esi
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 8]
lea edi, [ebp + 0xc]
mov dword [esp + 0x50], eax
mov eax, dword [edi]
mov ecx, dword [eax]
mov byte [esp + 0x84], 4
cmp ecx, 1
je 0x4023c8
mov edx, dword [edi]
mov eax, dword [edx + 4]
push eax
mov ecx, edi
call fcn.004018f0
mov edi, dword [edi]
mov edx, dword [edi + 8]
add edx, dword [esp + 0x50]
lea ecx, [esp + 0x18]
push ecx
push 0
lea eax, [edi + edx*4 + 0x14]
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x64]
call esi
push eax
mov ecx, ebx
mov byte [esp + 0x88], 5
call dword [0x41a2d0]
mov edx, dword [esp + 0x28]
mov edi, dword [0x41a358]
mov byte [esp + 0x84], 4
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x40241e
mov ecx, dword [esp + 0x28]
push ecx
call edi
add esp, 4
mov edx, dword [esp + 0x2c]
mov byte [esp + 0x84], 3
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x40243d
mov ecx, dword [esp + 0x2c]
push ecx
call edi
add esp, 4
mov edx, dword [esp + 0x30]
mov byte [esp + 0x84], 2
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x40245c
mov ecx, dword [esp + 0x30]
push ecx
call edi
add esp, 4
mov edx, dword [esp + 0x20]
mov byte [esp + 0x84], 1
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x40247b
mov ecx, dword [esp + 0x20]
push ecx
call edi
add esp, 4
mov edi, 1
sub dword [esp + 0x60], edi
jmp 0x402300
mov eax, dword [esp + 0x64]
add eax, 4
mov dword [esp + 0x64], eax
jmp 0x4022d8
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x84], 0
test eax, eax
je 0x4024ca
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x4024ca
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
test ecx, ecx
jne 0x4024ca
mov edx, dword [esp + 0x5c]
push edx
call dword [0x41a2f0]
add esp, 4
mov eax, dword [esp + 0x58]
add eax, 0x1c
push eax
lea ecx, [esp + 0x70]
push ecx
call fcn.0040b080
add esp, 8
mov eax, dword [esp + 0x74]
mov dword [esp + 0x84], 6
mov edi, edi
mov ecx, dword [esp + 0x70]
mov edx, ecx
add ecx, edi
mov dword [esp + 0x70], ecx
test edx, edx
jne 0x4026a9
cmp eax, dword [esp + 0x78]
je 0x4026a9
mov ebp, dword [eax]
cmp dword [esp + 0x70], 0
je 0x402699
cmp dword [ebp + 8], 0
jl 0x40268b
mov byte [esp + 0x58], 0x20
mov eax, dword [esp + 0x58]
push eax
lea ecx, [esp + 0x22]
call dword [0x41a34c]
mov byte [esp + 0x54], 0x20
mov ecx, dword [esp + 0x54]
push ecx
lea ecx, [esp + 0x20]
call dword [0x41a34c]
mov byte [esp + 0x50], 0x20
mov edx, dword [esp + 0x50]
push edx
lea ecx, [esp + 0x1e]
call dword [0x41a34c]
push 0xffffffffffffffff
push str._1__2__3
call dword [0x41a350]
add esp, 8
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1a]
push eax
push 0
push ebx
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x94], 7
call esi
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [ebp + 4]
push ecx
lea edx, [esp + 0x44]
push edx
mov ecx, eax
mov byte [esp + 0x94], 8
call esi
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 8]
lea edi, [ebp + 0xc]
mov dword [esp + 0x4c], eax
mov eax, dword [edi]
mov ecx, dword [eax]
mov byte [esp + 0x84], 9
cmp ecx, 1
je 0x4025d8
mov edx, dword [edi]
mov eax, dword [edx + 4]
push eax
mov ecx, edi
call fcn.004018f0
mov edi, dword [edi]
mov edx, dword [edi + 8]
add edx, dword [esp + 0x4c]
lea ecx, [esp + 0x1e]
push ecx
push 0
lea eax, [edi + edx*4 + 0x14]
push eax
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x58]
call esi
push eax
mov ecx, ebx
mov byte [esp + 0x88], 0xa
call dword [0x41a2d0]
mov edx, dword [esp + 0x34]
mov edi, dword [0x41a358]
mov byte [esp + 0x84], 9
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x40262e
mov ecx, dword [esp + 0x34]
push ecx
call edi
add esp, 4
mov edx, dword [esp + 0x38]
mov byte [esp + 0x84], 8
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x40264d
mov ecx, dword [esp + 0x38]
push ecx
call edi
add esp, 4
mov edx, dword [esp + 0x3c]
mov byte [esp + 0x84], 7
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x40266c
mov ecx, dword [esp + 0x3c]
push ecx
call edi
add esp, 4
mov edx, dword [esp + 0x24]
mov byte [esp + 0x84], 6
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x40268b
mov ecx, dword [esp + 0x24]
push ecx
call edi
add esp, 4
mov edi, 1
sub dword [esp + 0x70], edi
jmp 0x402510
mov eax, dword [esp + 0x74]
add eax, 4
mov dword [esp + 0x74], eax
jmp 0x4024f0
mov eax, dword [esp + 0x6c]
mov byte [esp + 0x84], 0
test eax, eax
je 0x4026da
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x4026da
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
test ecx, ecx
jne 0x4026da
mov edx, dword [esp + 0x6c]
push edx
call dword [0x41a2f0]
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 4