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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x5e3830
sub esp, 0x90
mov eax, dword [esp + 0xa0]
test eax, eax
jne 0x5e381e
mov eax, 3
lea ecx, [0x66ea3d]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x34], ecx
test eax, eax
jg 0x5e37ee
xor edx, edx
test dl, dl
je 0x5e376a
mov edx, dword [esp + 0x94]
test edx, edx
je 0x5e3723
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
call fcn.0055cb10
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test ecx, ecx
jne 0x5e3703
mov dword [esp + 0x30], eax
lea eax, [0x640000]
mov dword [esp], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0xb0]
mov dword [esp + 8], ecx
call fcn.00408fa0
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test al, al
je 0x5e36b2
mov dword [esp + 0x3c], edx
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x30]
mov ebx, dword [eax + 0x14]
mov ebp, dword [eax + 0x18]
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.005e18b0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
mov dword [edx + 0x18], ecx
mov ecx, dword [0x8326a0]
test ecx, ecx
jne 0x5e36a5
mov dword [edx + 0x14], eax
call fcn.0040bf90
mov eax, dword [esp]
mov dword [esp + 0x50], eax
lea ecx, [0x664d00]
mov dword [esp], ecx
call fcn.0040b4f0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x94]
mov dword [edi + 0x78], eax
mov eax, dword [0x8326a0]
test eax, eax
jne 0x5e3689
mov edx, dword [esp + 0x98]
mov dword [edi + 0x7c], edx
mov edx, dword [esp + 0x1c]
mov dword [edi + 4], edx
mov edx, dword [0x8326a0]
test edx, edx
jne 0x5e3665
mov edx, dword [esp + 0x34]
mov dword [edi], edx
mov edx, dword [esp + 0x30]
mov dword [edi + 8], edx
mov dword [edi + 0x10], 8
lea ebx, [0x66f7ac]
mov dword [edi + 0xc], ebx
mov dword [edi + 0x14], 1
mov dword [edi + 0x18], 1
mov ebx, dword [0x8326a0]
test ebx, ebx
jne 0x5e364c
mov ebx, dword [esp + 0x50]
mov dword [edi + 0x1c], ebx
mov ebx, dword [esp + 0x20]
mov dword [edi + 0x20], ebx
mov ebx, dword [0x8326a0]
lea ebp, [edi + 0x24]
test ebx, ebx
jne 0x5e3636
mov ebx, dword [esp + 0x3c]
mov dword [edi + 0x24], ebx
mov eax, dword [edx + 0x14]
mov edx, dword [edx + 0x18]
mov dword [edi + 0x48], edx
mov edx, dword [0x8326a0]
test edx, edx
jne 0x5e3623
mov dword [edi + 0x44], eax
mov edx, dword [esp + 0xac]
test edx, edx
je 0x5e361c
mov dword [esp + 0x4c], ebp
je 0x5e3476
mov dword [esp + 0x38], edi
mov ebx, dword [edx + 8]
cmp ebx, 0x4128187d
jne 0x5e347d
lea ecx, [0x6c8590]
cmp ecx, edx
jne 0x5e3476
mov esi, dword [esp + 0xb0]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov edx, ecx
sar ecx, 0x1f
cmp ecx, eax
sete al
setl cl
mov ebx, dword [esi + 8]
cmp ebx, edx
xchg ebp, ebx
setae bl
xchg ebp, ebx
and ebp, eax
or ecx, ebp
test cl, cl
je 0x5e346d
xor eax, eax
mov dword [edi + 0x2c], eax
sar eax, 0x1f
mov dword [edi + 0x30], eax
lea edi, [esp + 0x64]
call fcn.0045b46e
lea ecx, [0x63db80]
mov dword [esp], ecx
call fcn.0040b4f0
mov eax, dword [esp + 4]
lea ecx, [0x5f9050]
mov dword [eax], ecx
mov ecx, dword [0x8326a0]
lea edi, [eax + 4]
test ecx, ecx
jne 0x5e343a
lea esi, [esp + 0x64]
call fcn.0045b46e
mov ecx, dword [esp + 0x38]
mov dword [ecx + 0x28], eax
mov edx, dword [ecx + 0x28]
test edx, edx
je 0x5e33f7
mov edx, dword [ecx + 0x30]
test edx, edx
sete dl
mov ebx, dword [ecx + 0x2c]
test ebx, ebx
sete bl
and edx, ebx
test dl, dl
je 0x5e33f7
lea edx, [0x6ca370]
mov dword [ecx + 0x20], edx
mov edx, dword [0x8326a0]
test edx, edx
jne 0x5e341b
lea eax, [0x8324a4]
mov dword [ecx + 0x24], eax
lea eax, [0x68962c]
mov dword [ecx + 0x28], eax
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
add esp, 0x90
ret
mov edi, dword [esp + 0x4c]
lea eax, [0x8324a4]
call fcn.0045ace0
lea edi, [ecx + 0x28]
lea eax, [0x68962c]
call fcn.0045ace0
jmp 0x5e33f7
mov dword [esp + 0x48], eax
lea eax, [0x64e2a0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x64]
mov dword [esp + 8], eax
call fcn.00410a20
mov ecx, dword [esp + 0x38]
lea edi, [ecx + 0x28]
mov eax, dword [esp + 0x48]
call fcn.0045ace0
jmp 0x5e33b5
sub edx, ebx
mov eax, edx
jmp 0x5e3368
mov ecx, edi
jmp 0x5e33b5
cmp ebx, 0xa5164854
jne 0x5e3553
lea ecx, [0x6c7fd0]
cmp ecx, edx
jne 0x5e3476
mov esi, dword [esp + 0xb0]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov dword [esp + 0x28], ecx
cmp eax, ecx
setae dl
mov ebx, dword [esi + 0x10]
sar ecx, 0x1f
cmp ecx, ebx
sete cl
setl bl
and ecx, edx
or ebx, ecx
test bl, bl
je 0x5e3546
xor eax, eax
mov dword [edi + 0x2c], eax
sar eax, 0x1f
mov dword [edi + 0x30], eax
lea edi, [esp + 0x78]
call fcn.0045b464
lea ecx, [0x63db20]
mov dword [esp], ecx
call fcn.0040b4f0
mov eax, dword [esp + 4]
lea ecx, [0x5f8f80]
mov dword [eax], ecx
mov ecx, dword [0x8326a0]
lea edi, [eax + 4]
test ecx, ecx
jne 0x5e3513
lea esi, [esp + 0x78]
call fcn.0045b464
mov ecx, dword [esp + 0x38]
mov dword [ecx + 0x28], eax
jmp 0x5e33b5
mov dword [esp + 0x44], eax
lea eax, [0x64bd20]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
call fcn.00410a20
mov ecx, dword [esp + 0x38]
lea edi, [ecx + 0x28]
mov eax, dword [esp + 0x44]
call fcn.0045ace0
jmp 0x5e33b5
mov ecx, dword [esp + 0x28]
sub ecx, eax
mov eax, ecx
jmp 0x5e34c5
cmp ebx, 0xe763bb76
jne 0x5e3476
lea ebx, [0x6c7f90]
cmp ebx, edx
jne 0x5e3476
mov edx, dword [esp + 0xb0]
mov ebx, dword [edx + 4]
sub ebx, dword [edx + 0xc]
mov dword [edi + 0x2c], ebx
sar ebx, 0x1f
mov dword [edi + 0x30], ebx
nop
mov ecx, dword [edx + 4]
mov ebx, dword [edx]
mov esi, dword [edx + 8]
mov eax, dword [edx + 0xc]
cmp ecx, eax
jb 0x5e382a
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x2c], eax
lea eax, [0x63d7c0]
mov dword [esp], eax
call fcn.0040b4f0
mov eax, dword [esp + 4]
lea ecx, [0x5f8ea0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
sub ecx, edx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x28]
sub ecx, edx
mov dword [eax + 0xc], ecx
mov ebx, dword [0x8326a0]
neg ecx
sar ecx, 0x1f
and edx, ecx
mov ecx, dword [esp + 0x40]
add ecx, edx
test ebx, ebx
jne 0x5e35fd
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [ecx + 0x28], eax
jmp 0x5e33b5
lea edi, [eax + 4]
mov edx, eax
mov eax, ecx
call fcn.0045ace0
mov ecx, dword [esp + 0x38]
lea edi, [ecx + 0x28]
mov eax, edx
call fcn.0045ace0
jmp 0x5e33b5
mov ecx, edi
jmp 0x5e33f7
lea edx, [edi + 0x44]
mov ecx, edi
mov edi, edx
call fcn.0045ace0
mov edi, ecx
jmp 0x5e32fa
mov eax, edi
mov edi, ebp
mov ecx, eax
mov eax, dword [esp + 0x3c]
call fcn.0045ace0
mov edi, ecx
jmp 0x5e32e0
lea ebx, [edi + 0x1c]
mov eax, edi
mov edi, ebx
mov ecx, eax
mov eax, dword [esp + 0x50]
call fcn.0045ace0
mov edi, ecx
jmp 0x5e32c1
mov eax, dword [esp + 0x34]
call fcn.0045ace0
lea ebx, [edi + 8]
mov eax, edi
mov edi, ebx
mov ecx, eax
mov eax, dword [esp + 0x30]
call fcn.0045ace0
mov edx, eax
mov edi, ecx
jmp 0x5e328e
lea edx, [edi + 0x7c]
mov eax, edi
mov edi, edx
mov ecx, eax
mov eax, dword [esp + 0x98]
call fcn.0045ace0
mov edi, ecx
jmp 0x5e326c
lea edi, [edx + 0x14]
call fcn.0045ace0
jmp 0x5e322c
mov eax, dword [esp + 0xac]
test eax, eax
je 0x5e31ee
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x58], ecx
lea edx, [0x6ca2f0]
mov dword [esp], edx
lea edx, [esp + 0x54]
mov dword [esp + 4], edx
call fcn.00408d80
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
jmp 0x5e31ee
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
add esp, 0x90
ret
lea eax, [0x63eca0]
mov dword [esp], eax
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x15
lea ecx, [0x6759d8]
mov dword [eax], ecx
mov dword [esp + 0xb4], 0
lea ecx, [0x6c8150]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
add esp, 0x90
ret
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00408c10
mov eax, dword [esp + 8]
lea ecx, [0x633ac0]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
lea eax, [0x678a03]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
lea eax, [esp + 0x5c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a95f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
add esp, 0x90
ret
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x68968c]
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
call fcn.004bae50
cmp dword [esp + 0x10], 0xffffffff
sete dl
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
jmp 0x5e316c
mov ecx, dword [esp + 0x9c]
jmp 0x5e315a
call fcn.0045adc0
nop
call fcn.00459790
jmp fcn.005e3120