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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x691b8b
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x70c004]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
push esi
push edi
mov eax, dword [0x70c004]
xor eax, esp
push eax
lea eax, [esp + 0x428]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov edi, ecx
mov ecx, esi
mov dword [esp + 0x14], edi
call edx
test al, al
je 0x40836a
mov eax, dword [edi + 0x1c]
mov edx, dword [esi]
mov edx, dword [edx + 0x44]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call edx
mov eax, dword [edi + 0x18]
mov ecx, dword [eax]
mov ebx, dword [edi + 4]
mov dword [esp + 0x1c], ecx
jmp 0x4082f0
mov edx, dword [edi + 0x18]
mov eax, dword [edi + 4]
mov dword [esp + 0x28], edx
test ebx, ebx
je 0x408302
cmp ebx, eax
je 0x408307
call fcn.0064a1e1
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x1c], eax
je 0x408406
test ebx, ebx
jne 0x408362
call fcn.0064a1e1
xor eax, eax
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [eax + 0x14]
jne 0x40832e
call fcn.0064a1e1
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 8]
mov eax, dword [edx]
add ecx, 8
push esi
call eax
test ebx, ebx
jne 0x408366
call fcn.0064a1e1
xor eax, eax
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [eax + 0x14]
jne 0x408356
call fcn.0064a1e1
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
mov dword [esp + 0x1c], eax
jmp 0x4082f0
mov eax, dword [ebx]
jmp 0x408320
mov eax, dword [ebx]
jmp 0x408348
xor ebx, ebx
lea ecx, [edi + 4]
mov dword [esp + 0x20], ebx
call fcn.00409200
mov edx, dword [esi]
mov edx, dword [edx + 0x44]
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call edx
cmp dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
jle 0x408406
lea ecx, [esp + 0x2c]
call fcn.00408130
mov dword [esp + 0x430], 0
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call edx
lea ecx, [edi + 4]
mov edi, dword [ecx + 0x14]
mov edx, dword [edi + 4]
lea eax, [esp + 0x2c]
push eax
push edx
push edi
call fcn.0040b000
mov ecx, dword [esp + 0x14]
push 1
add ecx, 4
mov ebx, eax
call fcn.0040b0a0
mov dword [edi + 4], ebx
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x2c]
mov dword [eax], ebx
mov dword [esp + 0x430], 0xffffffff
call fcn.00409040
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x14]
inc eax
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
jl 0x408390
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
lea ecx, [edi + 0x20]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x44]
lea ecx, [edi + 0x24]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
lea ecx, [edi + 0x28]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x44]
lea ecx, [edi + 0x2c]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x4c]
lea ecx, [edi + 0x30]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x4c]
lea ecx, [edi + 0x34]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x44]
lea ecx, [edi + 0x38]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x44]
lea ecx, [edi + 0x3c]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x4c]
lea ecx, [edi + 0x40]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x4c]
lea ecx, [edi + 0x44]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x44]
lea ecx, [edi + 0x48]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x44]
lea ecx, [edi + 0x4c]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x44]
lea ecx, [edi + 0x50]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
lea ecx, [edi + 0x54]
push ecx
mov edx, dword [eax + 0x4c]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x4c]
lea ecx, [edi + 0x58]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x4c]
lea ecx, [edi + 0x5c]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x4c]
lea ecx, [edi + 0x60]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
test al, al
je 0x408591
mov eax, dword [edi + 0x7c]
mov edx, dword [esi]
mov edx, dword [edx + 0x44]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call edx
mov eax, dword [edi + 0x78]
mov ecx, dword [eax]
mov ebx, dword [edi + 0x64]
mov dword [esp + 0x1c], ecx
mov edx, dword [edi + 0x78]
mov eax, dword [edi + 0x64]
mov dword [esp + 0x28], edx
test ebx, ebx
je 0x408527
cmp ebx, eax
je 0x40852c
call fcn.0064a1e1
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x1c], eax
je 0x40862a
test ebx, ebx
jne 0x408589
call fcn.0064a1e1
xor eax, eax
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [eax + 0x14]
jne 0x408553
call fcn.0064a1e1
mov eax, dword [esp + 0x1c]
mov edx, dword [esi]
mov edx, dword [edx + 0x44]
add eax, 8
push eax
mov ecx, esi
call edx
test ebx, ebx
jne 0x40858d
call fcn.0064a1e1
xor eax, eax
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [eax + 0x14]
jne 0x40857d
call fcn.0064a1e1
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
mov dword [esp + 0x1c], eax
jmp 0x408515
mov eax, dword [ebx]
jmp 0x408545
mov eax, dword [ebx]
jmp 0x40856f
mov ecx, dword [edi + 0x78]
add edi, 0x64
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [edi + 0x14]
mov dword [ecx + 4], ecx
mov dword [edi + 0x18], ebx
cmp eax, dword [edi + 0x14]
je 0x4085c4
nop
mov ebx, dword [eax]
push eax
call fcn.0045c06d
add esp, 4
mov eax, ebx
cmp ebx, dword [edi + 0x14]
jne 0x4085b0
xor ebx, ebx
mov edx, dword [esi]
mov edx, dword [edx + 0x44]
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call edx
cmp dword [esp + 0x24], ebx
mov dword [esp + 0x14], ebx
jle 0x40862a
lea esp, [esp]
mov eax, dword [esi]
mov edx, dword [eax + 0x44]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call edx
mov ebx, dword [edi + 0x14]
mov ecx, dword [ebx + 4]
lea eax, [esp + 0x18]
push eax
push ecx
push ebx
mov ecx, edi
call fcn.0040b270
push 1
mov ecx, edi
mov dword [esp + 0x24], eax
call fcn.0040b2b0
mov eax, dword [esp + 0x20]
mov dword [ebx + 4], eax
mov edx, dword [eax + 4]
mov dword [edx], eax
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
jl 0x4085e0
mov ecx, dword [esp + 0x428]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.00649a98
mov esp, ebp
pop ebp
ret 4