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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5e7e76
add esp, 0xffffff80
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x94]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x90]
mov dword [esp + 8], edx
call fcn.005ea4f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test ecx, ecx
jne 0x5e7c22
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
mov dword [edx], ecx
mov ebx, dword [0x816df0]
test ebx, ebx
jne 0x5e7907
mov ebx, dword [esp + 0x8c]
mov dword [edx + 4], ebx
jmp 0x5e7921
lea edi, [edx + 4]
mov ebx, eax
mov eax, dword [esp + 0x8c]
call fcn.0045e5d0
mov eax, ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x44], eax
mov ebp, dword [eax + 0x1c]
mov dword [esp + 0x2c], ebp
mov esi, dword [esp + 0x94]
cmp esi, ebp
mov edi, ebx
sete bl
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x90]
cmp edx, ecx
seta cl
cmp esi, ebp
xchg ebp, ebx
seta bl
xchg ebp, ebx
and ebx, ecx
or ebx, ebp
test bl, bl
je 0x5e7a7b
mov ecx, dword [esp + 0x28]
sub edx, ecx
mov ecx, dword [esp + 0x2c]
sbb esi, ecx
mov eax, 0x88888889
mov ebp, edx
mul esi
shr edx, 4
mov dword [esp + 0x2c], edx
imul ebx, edx, 0x1e
sub esi, ebx
mov eax, esi
mov ebx, 0x8888888
mul ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], eax
mov ebx, eax
mov eax, 0x88888889
mul ebp
shr edx, 4
mov eax, edx
add edx, 0
add ebx, edx
imul ecx, eax, 0x1e
sub ebp, ecx
shl esi, 4
lea ecx, [ebp + esi]
mov ebp, eax
mov eax, 0x88888889
mov esi, edx
mul ecx
shr edx, 4
mov ecx, edx
add edx, ebx
add ebp, 0
mov ebp, dword [esp + 0x2c]
adc ebp, 0
mov eax, edx
mov edx, dword [esp + 0x24]
add edx, esi
mov edx, dword [esp + 0x28]
adc edx, ebp
add ecx, ebx
adc edx, 0
mov ecx, dword [esp + 0x44]
mov ebx, dword [ecx + 0x10]
cmp eax, ebx
xchg ebp, ebx
setae bl
xchg ebp, ebx
mov esi, dword [ecx + 0x14]
cmp esi, edx
sete dl
mov eax, ebx
setb bl
and ebp, edx
or ebx, ebp
test bl, bl
jne 0x5e7a12
mov eax, ecx
mov edx, dword [esp + 0x90]
jmp 0x5e7a7b
lea ecx, [0x631520]
mov dword [esp], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], eax
call fcn.00447610
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + 0x10]
mov ebx, dword [esp + 0x84]
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], edx
mov edx, dword [0x816df0]
test edx, edx
jne 0x5e7a63
mov dword [ebx + 8], eax
jmp 0x5e7a6b
lea edi, [ebx + 8]
call fcn.0045e5d0
mov eax, ecx
mov edx, dword [esp + 0x90]
mov edi, dword [esp + 0x8c]
mov ecx, dword [eax + 0x2c]
mov ebx, dword [eax + 0x30]
mov ebp, dword [esp + 0x84]
mov dword [ebp + 0x18], ebx
mov ebx, dword [0x816df0]
test ebx, ebx
jne 0x5e7a9a
mov dword [ebp + 0x14], ecx
jmp 0x5e7aa6
lea ebx, [ebp + 0x14]
mov edi, ebx
mov eax, ecx
call fcn.0045e5d0
nop
lea eax, [0x623ac0]
mov dword [esp], eax
call fcn.0040b5f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x88]
mov dword [eax], ecx
mov edx, dword [0x816df0]
test edx, edx
jne 0x5e7ad8
mov edx, dword [esp + 0x8c]
mov dword [eax + 4], edx
jmp 0x5e7af2
lea edi, [eax + 4]
mov edx, eax
mov eax, dword [esp + 0x8c]
call fcn.0045e5d0
mov eax, edx
mov edx, dword [esp + 0x8c]
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov ebx, dword [esp + 0x94]
mov dword [eax + 0x1c], ebx
mov ebx, dword [esp + 0x90]
mov dword [eax + 0x18], ebx
mov ebx, dword [esp + 0x44]
mov ebp, dword [ebx + 0x24]
mov esi, dword [ebx + 0x20]
test ebp, ebp
jge 0x5e7b3e
mov ebp, dword [0x7ef820]
mov esi, dword [0x7ef824]
jmp 0x5e7b48
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], ebp
xor ebp, ebp
xor esi, esi
test ebp, ebp
jne 0x5e7c10
mov dword [esp + 0x30], eax
nop
nop
lea eax, [0x62ada0]
mov dword [esp], eax
call fcn.0040b5f0
mov eax, dword [esp + 4]
mov dword [esp + 0x34], eax
lea ecx, [0x60da40]
mov dword [esp], ecx
mov dword [esp + 4], 0x1000
mov dword [esp + 8], 0x1000
call fcn.00447550
mov eax, dword [esp + 0xc]
mov dword [esp + 0x50], eax
lea edi, [esp + 0x54]
xor eax, eax
call fcn.0045e875
mov eax, dword [esp + 0x50]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0x1000
mov dword [esp + 0x5c], 0x1000
lea eax, [0x69f514]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x64], eax
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x7c], 0xffffffff
mov eax, dword [0x816df0]
test eax, eax
jne 0x5e7bf0
mov edi, dword [esp + 0x34]
lea esi, [esp + 0x54]
call fcn.0045ed22
jmp 0x5e7c34
lea eax, [0x62ada0]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
lea ecx, [esp + 0x54]
mov dword [esp + 8], ecx
call fcn.00410bf0
jmp 0x5e7c34
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], esi
sub esp, 0xffffff80
ret
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], ebx
sub esp, 0xffffff80
ret
lea eax, [0x628fa0]
mov dword [esp], eax
call fcn.0040b5f0
mov eax, dword [esp + 4]
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x5e7c5c
mov ecx, dword [esp + 0x84]
mov dword [eax + 0x60], ecx
jmp 0x5e7c76
lea edi, [eax + 0x60]
mov ecx, eax
mov eax, dword [esp + 0x84]
call fcn.0045e5d0
mov eax, ecx
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov dword [eax + 0x64], edx
mov ebx, dword [0x816df0]
test ebx, ebx
jne 0x5e7c96
mov ebx, dword [esp + 0x8c]
mov dword [eax + 0x68], ebx
jmp 0x5e7ca9
lea edi, [eax + 0x68]
mov ebx, eax
mov eax, dword [esp + 0x8c]
call fcn.0045e5d0
mov eax, ebx
mov dword [esp + 0x38], eax
mov dword [esp], eax
lea ecx, [0x69f3d4]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 8], edx
call fcn.005e8900
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [0x7ef5f4]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x20], ebx
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x4c], ebp
mov esi, dword [esp + 0x10]
mov dword [esp + 0x3c], esi
cmp dword [0x7ef5f0], eax
je 0x5e7cf9
xor edx, edx
jmp 0x5e7d2c
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00403610
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x3c]
mov edx, eax
mov eax, dword [esp + 0x48]
test dl, dl
je 0x5e7d37
mov eax, 1
jmp 0x5e7d6a
mov edx, dword [0x7ef814]
cmp dword [0x7ef810], eax
je 0x5e7d49
xor eax, eax
jmp 0x5e7d6a
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00403610
movzx eax, byte [esp + 0xc]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x3c]
test al, al
jne 0x5e7e34
test ebx, ebx
jne 0x5e7e22
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.005e8240
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0xc]
lea edx, [ecx + 1]
mov ebx, dword [eax + 8]
mov ebp, dword [eax + 0x10]
cmp ebp, edx
jae 0x5e7df1
lea eax, [0x631520]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
call fcn.004476d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x84]
mov dword [ebx + 0x10], edx
mov edx, dword [0x816df0]
test edx, edx
jne 0x5e7de0
mov dword [ebx + 8], eax
jmp 0x5e7de8
lea edi, [ebx + 8]
call fcn.0045e5d0
mov ebx, eax
mov eax, dword [esp + 0x84]
lea edx, [ecx + 1]
mov dword [eax + 0xc], edx
mov edx, dword [0x816df0]
lea edi, [ebx + ecx*4]
test edx, edx
jne 0x5e7e10
mov edx, dword [esp + 0x38]
mov dword [ebx + ecx*4], edx
jmp 0x5e7c34
mov ecx, eax
mov eax, dword [esp + 0x38]
call fcn.0045e5d0
mov eax, ecx
jmp 0x5e7c34
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], esi
sub esp, 0xffffff80
ret
mov eax, dword [esp + 0x84]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x44]
mov ecx, dword [ecx + 0x10]
cmp ax, cx
je 0x5e7e5c
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], esi
sub esp, 0xffffff80
ret
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
sub esp, 0xffffff80
ret
call fcn.0045d190
jmp fcn.005e7880