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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6399c8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x6e9060]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x130], eax
mov dword [edi + 0x12c], ecx
mov esi, dword [edi + 0x144]
add edi, 0x134
cmp dword [edi + 0xc], esi
jbe 0x4089a2
call 0x4ee0e8
mov ebx, dword [edi + 0xc]
mov edx, dword [edi]
mov dword [esp + 0x20], edx
cmp ebx, dword [edi + 0x10]
jbe 0x4089b5
call 0x4ee0e8
mov ecx, dword [esp + 0x20]
mov eax, dword [edi]
push esi
push ecx
push ebx
push eax
lea ebx, [esp + 0x38]
mov esi, edi
call fcn.004185fe
mov esi, dword [ebp + 8]
mov edx, dword [esi + 0x12c]
mov ecx, dword [esi + 0x54]
mov eax, dword [esi + 0x130]
mov dword [esp + 0x1c], edx
mov edx, dword [ecx]
mov dword [esp + 0x50], eax
mov eax, dword [edx]
mov dword [esp + 0x18], ecx
call eax
lea ecx, [esp + 0x5c]
push ecx
mov dword [esp + 0x18], eax
call fcn.00428b5e
xor ebx, ebx
mov dword [esp + 0x80], 0
mov dword [esp + 0x10], ebx
cmp dword [esi + 0x18c], ebx
je 0x408bb2
cmp dword [esp + 0x14], ebx
jle 0x408add
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x54]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
push ebx
call edx
test eax, eax
je 0x408a7b
mov ecx, dword [edi + 0xc]
test ecx, ecx
jne 0x408a40
xor eax, eax
jmp 0x408a48
mov eax, dword [edi + 0x14]
sub eax, ecx
sar eax, 2
mov esi, dword [edi + 0x10]
mov edx, esi
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x408a60
mov dword [esi], ebx
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x408ace
cmp ecx, esi
jbe 0x408a69
call 0x4ee0e8
mov eax, dword [edi]
push esi
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
push ecx
mov eax, edi
jmp 0x408ac9
mov edx, dword [esp + 0x68]
test edx, edx
jne 0x408a87
xor ecx, ecx
jmp 0x408a90
mov ecx, dword [esp + 0x70]
sub ecx, edx
sar ecx, 2
mov eax, dword [esp + 0x6c]
mov esi, eax
sub esi, edx
sar esi, 2
cmp esi, ecx
jae 0x408aaa
mov dword [eax], ebx
add eax, 4
mov dword [esp + 0x6c], eax
jmp 0x408ace
mov esi, eax
cmp edx, eax
jbe 0x408ab5
call 0x4ee0e8
mov eax, dword [esp + 0x5c]
push esi
push eax
lea edx, [esp + 0x18]
lea eax, [esp + 0x28]
push edx
push eax
lea eax, [esp + 0x6c]
call fcn.00428c5e
inc ebx
cmp ebx, dword [esp + 0x14]
mov dword [esp + 0x10], ebx
jl 0x408a23
mov ebx, dword [edi + 0x10]
cmp dword [edi + 0xc], ebx
jbe 0x408aea
call 0x4ee0e8
mov esi, dword [edi + 0xc]
mov eax, dword [edi]
mov dword [esp + 0x20], eax
cmp esi, dword [edi + 0x10]
jbe 0x408b01
call 0x4ee0e8
mov eax, dword [esp + 0x20]
mov ecx, dword [edi]
test eax, eax
je 0x408b0b
cmp eax, ecx
je 0x408b10
call 0x4ee0e8
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x18]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], edx
mov edx, ebx
sub edx, esi
sar edx, 2
push edx
push ebx
push esi
mov dword [eax + 8], ecx
call fcn.0040e43e
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
add esp, 0x18
mov esi, eax
cmp ecx, eax
jbe 0x408b5c
call 0x4ee0e8
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x20], edx
mov ebx, ecx
cmp ecx, eax
jbe 0x408b73
call 0x4ee0e8
mov edx, dword [esp + 0x20]
test edx, edx
je 0x408b7d
cmp edx, dword [esp + 0x5c]
je 0x408b82
call 0x4ee0e8
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x18]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], edx
mov edx, esi
sub edx, ebx
sar edx, 2
push edx
push esi
push ebx
mov dword [eax + 8], ecx
call fcn.0040e43e
add esp, 0x18
jmp 0x408dc7
cmp dword [esp + 0x14], ebx
jle 0x408dc7
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x54]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
test eax, eax
je 0x408d65
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
mov ecx, eax
sub ecx, esi
test ecx, 0xfffffffc
je 0x408d1f
mov ebx, eax
cmp esi, eax
jbe 0x408bfd
call 0x4ee0e8
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x28], ecx
cmp esi, eax
jbe 0x408c12
call 0x4ee0e8
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x408c1c
cmp ecx, dword [esp + 0x5c]
je 0x408c21
call 0x4ee0e8
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x18]
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov eax, ebx
sub eax, esi
sar eax, 2
push eax
push ebx
push esi
call fcn.0040e43e
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
mov eax, edx
sub eax, ecx
sar eax, 2
add esp, 0x18
xor ebx, ebx
test eax, eax
jbe 0x408cde
cmp ebx, eax
jb 0x408c74
call 0x4ee0e8
mov ecx, dword [esp + 0x68]
mov eax, dword [edi + 0xc]
lea ecx, [ecx + ebx*4]
mov dword [esp + 0x20], ecx
test eax, eax
jne 0x408c86
xor ecx, ecx
jmp 0x408c8e
mov ecx, dword [edi + 0x14]
sub ecx, eax
sar ecx, 2
mov esi, dword [edi + 0x10]
mov edx, esi
sub edx, eax
sar edx, 2
cmp edx, ecx
jae 0x408cac
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov dword [esi], ecx
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x408cca
cmp eax, esi
jbe 0x408cb5
call 0x4ee0e8
mov eax, dword [edi]
mov edx, dword [esp + 0x20]
push esi
push eax
push edx
lea eax, [esp + 0x3c]
push eax
mov eax, edi
call fcn.00428c5e
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov eax, edx
sub eax, ecx
inc ebx
sar eax, 2
cmp ebx, eax
jb 0x408c74
mov dword [esp + 0x20], edx
cmp ecx, edx
jbe 0x408cf3
call 0x4ee0e8
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x5c]
mov ebx, ecx
cmp ecx, edx
jbe 0x408d02
call 0x4ee0e8
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x5c]
push ecx
push esi
push ebx
push edx
lea ebx, [esp + 0x48]
lea esi, [esp + 0x6c]
call fcn.004185fe
mov ebx, dword [esp + 0x10]
mov ecx, dword [edi + 0xc]
test ecx, ecx
jne 0x408d2a
xor eax, eax
jmp 0x408d32
mov eax, dword [edi + 0x14]
sub eax, ecx
sar eax, 2
mov esi, dword [edi + 0x10]
mov edx, esi
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x408d4a
mov dword [esi], ebx
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x408db8
cmp ecx, esi
jbe 0x408d53
call 0x4ee0e8
mov eax, dword [edi]
push esi
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov eax, edi
jmp 0x408db3
mov edx, dword [esp + 0x68]
test edx, edx
jne 0x408d71
xor ecx, ecx
jmp 0x408d7a
mov ecx, dword [esp + 0x70]
sub ecx, edx
sar ecx, 2
mov eax, dword [esp + 0x6c]
mov esi, eax
sub esi, edx
sar esi, 2
cmp esi, ecx
jae 0x408d94
mov dword [eax], ebx
add eax, 4
mov dword [esp + 0x6c], eax
jmp 0x408db8
mov esi, eax
cmp edx, eax
jbe 0x408d9f
call 0x4ee0e8
mov eax, dword [esp + 0x5c]
push esi
push eax
lea edx, [esp + 0x18]
lea eax, [esp + 0x50]
push edx
push eax
lea eax, [esp + 0x6c]
call fcn.00428c5e
inc ebx
cmp ebx, dword [esp + 0x14]
mov dword [esp + 0x10], ebx
jl 0x408bbc
mov ebx, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
mov ecx, ebx
sub ecx, esi
test ecx, 0xfffffffc
je 0x408f06
cmp esi, ebx
jbe 0x408dec
call 0x4ee0e8
mov esi, dword [esp + 0x68]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x28], eax
cmp esi, dword [esp + 0x6c]
jbe 0x408e03
call 0x4ee0e8
mov eax, dword [esp + 0x28]
test eax, eax
je 0x408e0d
cmp eax, dword [esp + 0x5c]
je 0x408e12
call 0x4ee0e8
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x18]
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov eax, ebx
sub eax, esi
sar eax, 2
push eax
push ebx
push esi
call fcn.0040e43e
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
mov eax, edx
sub eax, ecx
sar eax, 2
add esp, 0x18
xor ebx, ebx
test eax, eax
jbe 0x408ecf
cmp ebx, eax
jb 0x408e65
call 0x4ee0e8
mov ecx, dword [esp + 0x68]
mov eax, dword [edi + 0xc]
lea ecx, [ecx + ebx*4]
mov dword [esp + 0x20], ecx
test eax, eax
jne 0x408e77
xor ecx, ecx
jmp 0x408e7f
mov ecx, dword [edi + 0x14]
sub ecx, eax
sar ecx, 2
mov esi, dword [edi + 0x10]
mov edx, esi
sub edx, eax
sar edx, 2
cmp edx, ecx
jae 0x408e9d
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov dword [esi], ecx
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x408ebb
cmp eax, esi
jbe 0x408ea6
call 0x4ee0e8
mov eax, dword [edi]
mov edx, dword [esp + 0x20]
push esi
push eax
push edx
lea eax, [esp + 0x54]
push eax
mov eax, edi
call fcn.00428c5e
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov eax, edx
sub eax, ecx
inc ebx
sar eax, 2
cmp ebx, eax
jb 0x408e65
mov ebx, edx
cmp ecx, edx
jbe 0x408ee2
call 0x4ee0e8
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x5c]
mov edi, ecx
cmp ecx, edx
jbe 0x408ef1
call 0x4ee0e8
mov ecx, dword [esp + 0x5c]
push ebx
push esi
push edi
push ecx
lea ebx, [esp + 0x58]
lea esi, [esp + 0x6c]
call fcn.004185fe
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
xor esi, esi
push esi
push esi
push eax
call dword [0x6457ec]
mov eax, dword [esp + 0x68]
cmp eax, esi
je 0x408f28
push eax
call 0x4cdc25
add esp, 4
mov ecx, dword [esp + 0x5c]
push ecx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
call 0x4cdc25
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8