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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xb8]
cmp eax, dword [ecx + 8]
jbe 0x5e0bc8
sub esp, 0x138
mov eax, 0
mov dword [esp + 0x134], eax
mov byte [esp + 0x22], 0
mov dword [esp + 0x144], 0
mov dword [esp + 0x148], 0
mov eax, dword [esp + 0x13c]
mov ecx, dword [eax]
mov dword [esp + 0x90], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x30], edx
mov ebx, dword [eax + 8]
mov dword [esp + 0x8c], ebx
mov ebp, dword [esp + 0x140]
mov dword [esp], ebp
call fcn.005df2a0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
jne 0x5e0407
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x5e0ba3
mov dword [esp + 0xb8], ecx
mov eax, dword [esp + 0x13c]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0xb4], ecx
mov edx, dword [esp + 0x30]
mov ebx, dword [edx + 0x14]
mov ebp, dword [esp + 0x8c]
mov dword [esp], ebp
call ebx
mov eax, dword [esp + 4]
mov dword [esp + 0xb0], eax
lea edi, [esp + 0xc4]
xor eax, eax
call fcn.0045f63a
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0xc4], ecx
lea ecx, [esp + 0x22]
mov dword [esp + 0xc8], ecx
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0xd4], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0xcc], ecx
lea ecx, [esp + 0xc4]
mov dword [esp], ecx
lea ecx, [esp + 0x40]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 2
mov byte [esp + 0x14], 1
call fcn.004451f0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5e01a7
cmp eax, 1
je 0x5e0177
cmp eax, 2
jne 0x5e0ba3
mov eax, dword [0x8280b0]
mov ecx, dword [0x8280b4]
mov dword [esp + 0x144], eax
mov dword [esp + 0x148], ecx
add esp, 0x138
ret
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x144], eax
mov dword [esp + 0x148], ecx
add esp, 0x138
ret
mov eax, dword [esp + 0x90]
lea ecx, [eax + 0x30]
mov dword [esp + 0xac], ecx
mov dword [esp], ecx
call fcn.00470550
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x5e01ec
nop
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x5e0b8b
lea eax, [ecx + 4]
mov dword [esp], eax
call fcn.0045d830
mov eax, dword [esp + 0x90]
nop
mov ecx, dword [eax + 0x64]
test ecx, ecx
jle 0x5e01f8
dec ecx
mov dword [eax + 0x64], ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x13c]
mov dword [esp + 4], ecx
call fcn.005e1350
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
jne 0x5e03aa
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov ecx, dword [esp + 0x13c]
mov dword [esp + 4], ecx
call fcn.005e3c30
mov eax, dword [esp + 0x140]
mov dword [esp], eax
call fcn.005e90b0
movzx eax, byte [esp + 4]
test al, al
je 0x5e025c
mov eax, dword [esp + 0x90]
mov byte [eax + 0x4c], 1
mov eax, dword [esp + 0xac]
mov dword [esp], eax
call fcn.004708f0
mov eax, dword [esp + 0x90]
mov ecx, dword [eax]
movzx edx, byte [ecx + 0x10]
test dl, dl
je 0x5e0283
xor ecx, ecx
jmp 0x5e0303
mov ecx, dword [ecx + 0x38]
test ecx, ecx
je 0x5e0296
movzx ecx, byte [ecx + 0x69]
test cl, cl
je 0x5e0296
xor ecx, ecx
jmp 0x5e0303
mov eax, dword [esp + 0x140]
mov ecx, dword [eax + 0x1c]
mov dword [esp], ecx
lea ecx, [0x665813]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xf
call fcn.005b0040
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5e02cd
mov eax, dword [esp + 0x90]
xor ecx, ecx
jmp 0x5e0303
mov eax, dword [esp + 0x140]
mov ecx, dword [eax + 0x1c]
mov dword [esp], ecx
lea ecx, [0x662b14]
mov dword [esp + 4], ecx
mov dword [esp + 8], 5
call fcn.005b0040
mov eax, dword [esp + 0x10]
test eax, eax
sete al
mov ecx, eax
mov eax, dword [esp + 0x90]
test cl, cl
je 0x5e031c
mov ecx, dword [esp + 0x13c]
movzx edx, byte [ecx + 0x65]
test dl, dl
jne 0x5e0323
mov byte [ecx + 0x64], 1
jmp 0x5e0323
mov ecx, dword [esp + 0x13c]
mov edx, dword [eax]
mov edx, dword [edx + 0x38]
test edx, edx
je 0x5e033a
mov ebx, dword [edx + 0x88]
mov edx, dword [edx + 0x8c]
jmp 0x5e033e
xor edx, edx
xor ebx, ebx
test ebx, ebx
xchg ebp, ebx
setne bl
xchg ebp, ebx
test edx, edx
xchg esi, ebx
setne bl
xchg esi, ebx
or esi, ebp
xchg esi, eax
test al, al
xchg esi, eax
je 0x5e04c8
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x140]
mov ecx, dword [eax + 0x1c]
lea edx, [0x6592c0]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [0x662d01]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 6
call fcn.0040f950
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov dword [esp + 0x78], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], eax
xor edx, edx
jmp 0x5e042b
mov dword [esp + 0x88], edx
mov dword [esp + 0xa8], ecx
mov eax, dword [esp + 0xac]
mov dword [esp], eax
call fcn.004708f0
mov eax, dword [esp + 0x90]
mov eax, dword [eax + 0xb4]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00405160
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x144], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x148], eax
add esp, 0x138
ret
mov dword [esp + 0x144], ecx
mov dword [esp + 0x148], edx
add esp, 0x138
ret
mov ebx, dword [esp + 0x3c]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x78]
cmp edx, eax
jge 0x5e04b9
mov dword [esp + 0x3c], edx
lea eax, [ecx + edx*8]
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ebx
mov dword [esp + 4], eax
lea eax, [0x6645f8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0xc
call fcn.005c5ce0
movzx eax, byte [esp + 0x10]
test al, al
je 0x5e041c
lea eax, [0x62e780]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00404540
mov eax, dword [0x84f450]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x5e0499
mov eax, dword [esp + 0x13c]
mov dword [eax + 0x88], ecx
jmp 0x5e04af
mov edx, dword [esp + 0x13c]
lea edi, [edx + 0x88]
mov eax, ecx
call fcn.0045f3a0
mov eax, edx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
jmp 0x5e04bd
xor eax, eax
xor ecx, ecx
mov edx, eax
mov ebx, ecx
mov ecx, dword [esp + 0x13c]
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ebx
mov dword [esp], ecx
mov eax, dword [esp + 0x140]
mov dword [esp + 4], eax
call fcn.005e0c20
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x144], eax
mov dword [esp + 0x148], ecx
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 0xb4]
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.00405160
mov eax, dword [esp + 0x144]
test eax, eax
jne 0x5e091f
mov eax, dword [esp + 0x13c]
mov ecx, dword [eax + 0xbc]
test ecx, ecx
setne cl
mov ebx, dword [eax + 0xc0]
test ebx, ebx
setne bl
or ebx, ecx
test bl, bl
je 0x5e083a
mov ecx, dword [esp + 0x34]
test ecx, ecx
setne bl
mov ebp, dword [esp + 0x38]
test ebp, ebp
xchg esi, ebx
setne bl
xchg esi, ebx
or esi, ebx
xchg esi, eax
test al, al
xchg esi, eax
je 0x5e078c
mov ebx, dword [eax + 0x10]
test ebx, ebx
je 0x5e0588
mov edx, dword [ebx + 0x38]
test edx, edx
je 0x5e0588
mov eax, dword [edx]
call eax
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
mov dword [esp + 4], ebp
mov dword [esp], ecx
call fcn.004a0390
mov eax, dword [esp + 8]
mov dword [esp + 0x7c], eax
mov ecx, dword [eax]
mov dword [esp + 0xa4], ecx
mov edx, dword [esp + 0x13c]
mov ebx, dword [edx + 0x88]
mov dword [esp + 0xa0], ebx
mov ebp, dword [edx + 0x74]
mov dword [esp + 0x9c], ebp
mov esi, dword [esp + 0x30]
mov edi, dword [esi + 0x14]
mov esi, dword [esp + 0x8c]
mov dword [esp], esi
call edi
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x13c]
mov edx, dword [ecx + 0xc]
lea edi, [esp + 0xdc]
mov ebx, eax
xor eax, eax
call fcn.0045f636
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0xfc], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0xf4], ecx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0xec], ecx
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xdc], edx
lea ecx, [esp + 0xdc]
mov dword [esp], ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 5
mov byte [esp + 0x14], 1
call fcn.004451f0
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x5e068e
mov eax, dword [0x8280b0]
mov ecx, dword [0x8280b4]
mov dword [esp + 0x144], eax
mov dword [esp + 0x148], ecx
mov eax, dword [esp + 0x13c]
jmp 0x5e0731
cmp eax, 1
je 0x5e0701
cmp eax, 2
jne 0x5e06b5
mov eax, dword [esp + 0x13c]
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x7c]
mov dword [esp + 0x144], ecx
mov dword [esp + 0x148], edx
jmp 0x5e0731
cmp eax, 3
jne 0x5e06d9
mov dword [esp + 0x144], 0
mov dword [esp + 0x148], 0
mov eax, dword [esp + 0x13c]
jmp 0x5e0731
cmp eax, 4
jne 0x5e0b8b
mov dword [esp + 0x144], 0
mov dword [esp + 0x148], 0
mov eax, dword [esp + 0x13c]
jmp 0x5e0731
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0x8c]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x144], eax
mov dword [esp + 0x148], ecx
mov eax, dword [esp + 0x13c]
nop
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x5e0b73
lea eax, [ecx + 4]
mov dword [esp], eax
call fcn.0045d830
mov eax, dword [esp + 0x144]
mov ecx, dword [esp + 0x148]
test eax, eax
je 0x5e0785
mov ebx, dword [esp + 0x13c]
mov ebx, dword [ebx + 0x10]
test ebx, ebx
je 0x5e077e
mov edx, dword [ebx + 0x3c]
test edx, edx
je 0x5e077e
mov ebx, dword [edx]
mov dword [esp], eax
mov dword [esp + 4], ecx
call ebx
add esp, 0x138
ret
mov eax, dword [esp + 0x13c]
mov dword [esp], eax
mov ecx, dword [esp + 0x140]
mov dword [esp + 4], ecx
call fcn.005e1680
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 8]
mov dword [esp + 0x144], eax
mov dword [esp + 0x148], ecx
test edx, edx
je 0x5e082a
mov eax, dword [0x8280cc]
cmp dword [0x8280c8], ebp
jne 0x5e07f5
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.00403430
movzx eax, byte [esp + 0xc]
test al, al
je 0x5e07f5
mov eax, dword [esp + 0x13c]
jmp 0x5e0841
mov eax, dword [esp + 0x144]
mov ecx, dword [esp + 0x148]
mov ebx, dword [esp + 0x13c]
mov ebx, dword [ebx + 0x10]
test ebx, ebx
je 0x5e0823
mov edx, dword [ebx + 0x3c]
test edx, edx
je 0x5e0823
mov ebx, dword [edx]
mov dword [esp], eax
mov dword [esp + 4], ecx
call ebx
add esp, 0x138
ret
mov eax, dword [esp + 0x13c]
mov byte [eax + 0xc5], 1
jmp 0x5e0841
mov byte [eax + 0xc5], 1
mov ecx, dword [esp + 0x144]
mov ebx, dword [esp + 0x148]
mov ebp, dword [eax + 0x10]
test ebp, ebp
je 0x5e086f
mov edx, dword [ebp + 0x3c]
test edx, edx
je 0x5e086f
mov eax, dword [edx]
mov dword [esp], ecx
mov dword [esp + 4], ebx
call eax
mov eax, dword [esp + 0x13c]
mov ecx, dword [esp + 0x90]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x38]
test ecx, ecx
je 0x5e088d
mov edx, dword [ecx + 0x80]
mov ecx, dword [ecx + 0x84]
jmp 0x5e0891
xor ecx, ecx
xor edx, edx
test edx, edx
setne bl
test ecx, ecx
xchg ebp, ebx
setne bl
xchg ebp, ebx
or ebp, ebx
xchg ebp, eax
mov byte [esp + 0x23], al
xchg ebp, eax
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x5e08b3
xor ecx, ecx
xor edx, edx
jmp 0x5e0931
mov dword [esp + 4], ecx
mov dword [esp], edx
call fcn.004a0390
mov eax, dword [esp + 8]
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
lea ecx, [0x5e0be0]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
lea ecx, [esp + 0xbc]
mov dword [esp + 0x134], ecx
mov byte [esp + 0x22], 1
mov eax, dword [eax]
mov ecx, dword [esp + 0x13c]
mov edx, dword [ecx + 0x8c]
movzx ebp, byte [esp + 0x23]
mov ecx, eax
mov eax, dword [esp + 0x13c]
jmp 0x5e0931
add esp, 0x138
ret
mov eax, dword [esp + 0x13c]
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x84], edx
mov dword [esp + 0x80], ecx
mov ebx, dword [eax + 0x80]
mov dword [esp + 0x98], ebx
mov ebp, dword [eax + 0x74]
mov dword [esp + 0x94], ebp
mov esi, dword [esp + 0x30]
mov edi, dword [esi + 0x14]
mov esi, dword [esp + 0x8c]
mov dword [esp], esi
call edi
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x13c]
mov edx, dword [ecx + 0xc]
lea edi, [esp + 0x104]
mov ebx, eax
xor eax, eax
call fcn.0045f634
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x12c], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x124], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x11c], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x114], ecx
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x104], edx
lea ecx, [esp + 0x104]
mov dword [esp], ecx
lea ecx, [esp + 0x60]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 6
mov byte [esp + 0x14], 1
call fcn.004451f0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5e0b36
cmp eax, 1
je 0x5e0aea
cmp eax, 2
je 0x5e0aac
cmp eax, 3
je 0x5e0926
cmp eax, 4
jne 0x5e0a6a
mov eax, dword [0x8222f8]
mov ecx, dword [0x8222fc]
mov dword [esp + 0x144], eax
mov dword [esp + 0x148], ecx
movzx eax, byte [esp + 0x23]
test al, 1
je 0x5e0a63
and eax, 0xfffffffe
mov byte [esp + 0x22], al
mov edx, dword [esp + 0x134]
mov eax, dword [edx]
call eax
add esp, 0x138
ret
cmp eax, 5
jne 0x5e0b73
mov dword [esp + 0x144], 0
mov dword [esp + 0x148], 0
movzx eax, byte [esp + 0x23]
test al, 1
je 0x5e0aa5
and eax, 0xfffffffe
mov byte [esp + 0x22], al
mov edx, dword [esp + 0x134]
mov eax, dword [edx]
call eax
add esp, 0x138
ret
mov eax, dword [esp + 0x13c]
mov ecx, dword [eax + 0x78]
mov eax, dword [eax + 0x7c]
mov dword [esp + 0x144], ecx
mov dword [esp + 0x148], eax
movzx eax, byte [esp + 0x23]
test al, 1
je 0x5e0ae3
and eax, 0xfffffffe
mov byte [esp + 0x22], al
mov edx, dword [esp + 0x134]
mov eax, dword [edx]
call eax
add esp, 0x138
ret
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x144], eax
mov dword [esp + 0x148], ecx
movzx eax, byte [esp + 0x23]
test al, 1
je 0x5e0b2f
and eax, 0xfffffffe
mov byte [esp + 0x22], al
mov edx, dword [esp + 0x134]
mov eax, dword [edx]
call eax
add esp, 0x138
ret
mov eax, dword [0x8280b0]
mov ecx, dword [0x8280b4]
mov dword [esp + 0x144], eax
mov dword [esp + 0x148], ecx
movzx eax, byte [esp + 0x23]
test al, 1
je 0x5e0b6c
and eax, 0xfffffffe
mov byte [esp + 0x22], al
mov edx, dword [esp + 0x134]
mov eax, dword [edx]
call eax
add esp, 0x138
ret
lea eax, [0x634440]
mov dword [esp], eax
lea eax, [0x6cf1bc]
mov dword [esp + 4], eax
call fcn.00434270
lea eax, [0x634440]
mov dword [esp], eax
lea eax, [0x6cf1bc]
mov dword [esp + 4], eax
call fcn.00434270
lea eax, [0x634440]
mov dword [esp], eax
lea eax, [0x6cf174]
mov dword [esp + 4], eax
call fcn.00434270
nop
call fcn.004337c0
add esp, 0x138
ret
call fcn.0045df90
jmp fcn.005dfff0