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

Disassembly:
push 0xffffffffffffffff
push 0x41fad8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push ebp
push esi
push edi
mov eax, dword [0x427260]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0xc4]
mov ebp, dword [esp + 0xb8]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0xd0]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xd4]
push 4
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
call fcn.0040e5bf
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x408228
lea edx, [esp + 0x3c]
mov dword [eax], edx
jmp 0x40822a
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x8c], ecx
mov eax, dword [esi + 0x18]
lea edi, [esi + 4]
cmp eax, 8
jb 0x408254
mov ebx, dword [edi]
jmp 0x408256
mov ebx, edi
test ebx, ebx
je 0x40827e
cmp eax, 8
jb 0x408263
mov ecx, dword [edi]
jmp 0x408265
mov ecx, edi
cmp ecx, ebx
ja 0x40827e
cmp eax, 8
jb 0x408272
mov eax, dword [edi]
jmp 0x408274
mov eax, edi
mov ecx, dword [esi + 0x14]
lea edx, [eax + ecx*2]
cmp ebx, edx
jbe 0x408283
call fcn.0040eaef
mov eax, dword [esi + 0x18]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebx
cmp eax, 8
jb 0x408297
mov ebx, dword [edi]
jmp 0x408299
mov ebx, edi
test ebx, ebx
je 0x4082bd
cmp eax, 8
jb 0x4082a6
mov ecx, dword [edi]
jmp 0x4082a8
mov ecx, edi
cmp ecx, ebx
ja 0x4082bd
cmp eax, 8
jb 0x4082b3
mov edi, dword [edi]
mov eax, dword [esi + 0x14]
lea ecx, [edi + eax*2]
cmp ebx, ecx
jbe 0x4082c2
call fcn.0040eaef
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ebx
cmp ebp, 0xfffffffc
je 0x4082de
test ebp, ebp
je 0x4082d9
cmp ebp, dword [esp + 0x64]
je 0x4082de
call fcn.0040eaef
mov eax, dword [esp + 0x60]
mov edi, dword [esp + 0x68]
cmp eax, edi
je 0x40842b
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x20]
push ebp
push edx
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x58]
call fcn.00408900
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x20], edi
lea edi, [ecx + eax]
mov dword [esp + 0x18], edx
cmp eax, edi
jbe 0x408342
call fcn.0040eaef
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0xc4]
push ecx
push edi
push eax
push edx
lea eax, [esp + 0x58]
push eax
call fcn.00409190
mov eax, dword [esi + 0x18]
lea edx, [esi + 4]
cmp eax, 8
jb 0x40837d
mov edi, dword [edx]
jmp 0x40837f
mov edi, edx
mov ecx, dword [esi + 0x14]
add ecx, ecx
add edi, ecx
je 0x4083a4
cmp eax, 8
jb 0x408391
mov ebx, dword [edx]
jmp 0x408393
mov ebx, edx
cmp ebx, edi
ja 0x4083a4
cmp eax, 8
jb 0x40839e
mov edx, dword [edx]
add edx, ecx
cmp edi, edx
jbe 0x4083a9
call fcn.0040eaef
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
push edi
push esi
push ecx
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0xa8]
push ecx
call fcn.00407700
mov ecx, dword [eax]
mov edi, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov ebp, ecx
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ebx
cmp ecx, 0xfffffffc
je 0x4083f2
test ecx, ecx
je 0x4083ed
cmp ecx, edx
je 0x4083f2
call fcn.0040eaef
cmp edi, ebx
je 0x4082ca
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
jmp 0x4082ca
mov edx, dword [esi + 0x18]
lea ebx, [esi + 4]
cmp edx, 8
jb 0x40843a
mov edi, dword [ebx]
jmp 0x40843c
mov edi, ebx
mov eax, dword [esi + 0x14]
add eax, eax
add edi, eax
je 0x408465
cmp edx, 8
jb 0x40844e
mov ecx, dword [ebx]
jmp 0x408450
mov ecx, ebx
cmp ecx, edi
ja 0x408465
cmp edx, 8
jb 0x40845d
mov ecx, dword [ebx]
jmp 0x40845f
mov ecx, ebx
add ecx, eax
cmp edi, ecx
jbe 0x40846a
call fcn.0040eaef
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push edi
push esi
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
lea ecx, [esp + 0x3c]
push ecx
lea eax, [esp + 0x58]
call fcn.00408900
mov ecx, dword [esp + 0x58]
test ecx, ecx
jne 0x4084ed
mov edx, dword [esi + 0x18]
cmp edx, 8
jb 0x4084a2
mov ecx, dword [ebx]
jmp 0x4084a4
mov ecx, ebx
mov eax, dword [esi + 0x14]
add eax, eax
lea edi, [ecx + eax]
test edi, edi
je 0x4084cc
cmp edx, 8
jb 0x4084b9
mov ecx, dword [ebx]
jmp 0x4084bb
mov ecx, ebx
cmp ecx, edi
ja 0x4084cc
cmp edx, 8
jb 0x4084c6
mov ebx, dword [ebx]
add ebx, eax
cmp edi, ebx
jbe 0x4084d1
call fcn.0040eaef
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push edi
push esi
push edx
push eax
lea ecx, [esp + 0x34]
push ecx
push esi
call fcn.004087d0
jmp 0x408580
mov eax, dword [esp + 0x54]
lea edx, [ecx + eax]
mov dword [esp + 0x14], edx
cmp eax, edx
jbe 0x408509
call fcn.0040eaef
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x3c]
add ecx, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], eax
cmp eax, ecx
jbe 0x408520
call fcn.0040eaef
mov edx, dword [esi + 0x18]
mov ebp, dword [esp + 0x3c]
cmp edx, 8
jb 0x408530
mov ecx, dword [ebx]
jmp 0x408532
mov ecx, ebx
mov eax, dword [esi + 0x14]
add eax, eax
lea edi, [eax + ecx]
test edi, edi
je 0x40855a
cmp edx, 8
jb 0x408547
mov ecx, dword [ebx]
jmp 0x408549
mov ecx, ebx
cmp ecx, edi
ja 0x40855a
cmp edx, 8
jb 0x408554
mov ebx, dword [ebx]
add eax, ebx
cmp edi, eax
jbe 0x40855f
call fcn.0040eaef
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0xbc]
push ecx
push edx
push ebp
push edi
push esi
push edi
push esi
push eax
call fcn.00409680
lea esi, [esp + 0x3c]
call fcn.00408670
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0040e0e2
add esp, 4
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret