Function at 0x40873e
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 0x408792
call 0x4eded8
mov ebx, dword [edi + 0xc]
mov edx, dword [edi]
mov dword [esp + 0x20], edx
cmp ebx, dword [edi + 0x10]
jbe 0x4087a5
call 0x4eded8
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.004183ee
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.0042894e
xor ebx, ebx
mov dword [esp + 0x80], 0
mov dword [esp + 0x10], ebx
cmp dword [esi + 0x18c], ebx
je 0x4089a2
cmp dword [esp + 0x14], ebx
jle 0x4088cd
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 0x40886b
mov ecx, dword [edi + 0xc]
test ecx, ecx
jne 0x408830
xor eax, eax
jmp 0x408838
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 0x408850
mov dword [esi], ebx
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x4088be
cmp ecx, esi
jbe 0x408859
call 0x4eded8
mov eax, dword [edi]
push esi
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
push ecx
mov eax, edi
jmp 0x4088b9
mov edx, dword [esp + 0x68]
test edx, edx
jne 0x408877
xor ecx, ecx
jmp 0x408880
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 0x40889a
mov dword [eax], ebx
add eax, 4
mov dword [esp + 0x6c], eax
jmp 0x4088be
mov esi, eax
cmp edx, eax
jbe 0x4088a5
call 0x4eded8
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 int.00428a4e
inc ebx
cmp ebx, dword [esp + 0x14]
mov dword [esp + 0x10], ebx
jl 0x408813
mov ebx, dword [edi + 0x10]
cmp dword [edi + 0xc], ebx
jbe 0x4088da
call 0x4eded8
mov esi, dword [edi + 0xc]
mov eax, dword [edi]
mov dword [esp + 0x20], eax
cmp esi, dword [edi + 0x10]
jbe 0x4088f1
call 0x4eded8
mov eax, dword [esp + 0x20]
mov ecx, dword [edi]
test eax, eax
je 0x4088fb
cmp eax, ecx
je 0x408900
call 0x4eded8
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.0040e22e
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
add esp, 0x18
mov esi, eax
cmp ecx, eax
jbe 0x40894c
call 0x4eded8
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 0x408963
call 0x4eded8
mov edx, dword [esp + 0x20]
test edx, edx
je 0x40896d
cmp edx, dword [esp + 0x5c]
je 0x408972
call 0x4eded8
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.0040e22e
add esp, 0x18
jmp 0x408bb7
cmp dword [esp + 0x14], ebx
jle 0x408bb7
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 0x408b55
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
mov ecx, eax
sub ecx, esi
test ecx, 0xfffffffc
je 0x408b0f
mov ebx, eax
cmp esi, eax
jbe 0x4089ed
call 0x4eded8
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x28], ecx
cmp esi, eax
jbe 0x408a02
call 0x4eded8
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x408a0c
cmp ecx, dword [esp + 0x5c]
je 0x408a11
call 0x4eded8
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.0040e22e
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 0x408ace
cmp ebx, eax
jb 0x408a64
call 0x4eded8
mov ecx, dword [esp + 0x68]
mov eax, dword [edi + 0xc]
lea ecx, [ecx + ebx*4]
mov dword [esp + 0x20], ecx
test eax, eax
jne 0x408a76
xor ecx, ecx
jmp 0x408a7e
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 0x408a9c
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov dword [esi], ecx
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x408aba
cmp eax, esi
jbe 0x408aa5
call 0x4eded8
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 int.00428a4e
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 0x408a64
mov dword [esp + 0x20], edx
cmp ecx, edx
jbe 0x408ae3
call 0x4eded8
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x5c]
mov ebx, ecx
cmp ecx, edx
jbe 0x408af2
call 0x4eded8
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.004183ee
mov ebx, dword [esp + 0x10]
mov ecx, dword [edi + 0xc]
test ecx, ecx
jne 0x408b1a
xor eax, eax
jmp 0x408b22
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 0x408b3a
mov dword [esi], ebx
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x408ba8
cmp ecx, esi
jbe 0x408b43
call 0x4eded8
mov eax, dword [edi]
push esi
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov eax, edi
jmp 0x408ba3
mov edx, dword [esp + 0x68]
test edx, edx
jne 0x408b61
xor ecx, ecx
jmp 0x408b6a
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 0x408b84
mov dword [eax], ebx
add eax, 4
mov dword [esp + 0x6c], eax
jmp 0x408ba8
mov esi, eax
cmp edx, eax
jbe 0x408b8f
call 0x4eded8
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 int.00428a4e
inc ebx
cmp ebx, dword [esp + 0x14]
mov dword [esp + 0x10], ebx
jl 0x4089ac
mov ebx, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
mov ecx, ebx
sub ecx, esi
test ecx, 0xfffffffc
je 0x408cf6
cmp esi, ebx
jbe 0x408bdc
call 0x4eded8
mov esi, dword [esp + 0x68]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x28], eax
cmp esi, dword [esp + 0x6c]
jbe 0x408bf3
call 0x4eded8
mov eax, dword [esp + 0x28]
test eax, eax
je 0x408bfd
cmp eax, dword [esp + 0x5c]
je 0x408c02
call 0x4eded8
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.0040e22e
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 0x408cbf
cmp ebx, eax
jb 0x408c55
call 0x4eded8
mov ecx, dword [esp + 0x68]
mov eax, dword [edi + 0xc]
lea ecx, [ecx + ebx*4]
mov dword [esp + 0x20], ecx
test eax, eax
jne 0x408c67
xor ecx, ecx
jmp 0x408c6f
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 0x408c8d
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov dword [esi], ecx
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x408cab
cmp eax, esi
jbe 0x408c96
call 0x4eded8
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 int.00428a4e
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 0x408c55
mov ebx, edx
cmp ecx, edx
jbe 0x408cd2
call 0x4eded8
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x5c]
mov edi, ecx
cmp ecx, edx
jbe 0x408ce1
call 0x4eded8
mov ecx, dword [esp + 0x5c]
push ebx
push esi
push edi
push ecx
lea ebx, [esp + 0x58]
lea esi, [esp + 0x6c]
call fcn.004183ee
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
xor esi, esi
push esi
push esi
push eax
call dword [fcn.006457ec]
mov eax, dword [esp + 0x68]
cmp eax, esi
je 0x408d18
push eax
call 0x4cda15
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 0x4cda15
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