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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5e9d8e
sub esp, 0x70
lea edi, [esp + 0x40]
xor eax, eax
call fcn.0045af84
lea ecx, [0x66ea3d]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], 3
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x5e9d75
mov eax, dword [ecx + 8]
cmp eax, 0x29cb474c
jne 0x5e9d25
lea eax, [0x65b820]
cmp eax, ecx
jne 0x5e9d75
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x50], edx
mov ebx, dword [eax + 0x18]
mov dword [esp + 0x54], ebx
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov byte [esp + 0xc], 1
call fcn.005ea630
movzx eax, byte [esp + 0x10]
mov byte [esp + 0x69], al
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x5e9694
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], edx
mov ecx, 1
mov byte [esp + 0x2b], cl
mov edx, dword [esp + 0x50]
test edx, edx
jne 0x5e96bd
mov edx, dword [esp + 0x54]
test edx, edx
jne 0x5e96bd
mov dword [esp + 0x50], 1
mov dword [esp + 0x54], 1
lea eax, [esp + 0x40]
mov dword [esp], eax
call fcn.005e9dd0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x5e9d13
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x40]
movzx ebp, byte [esp + 0x68]
movzx esi, byte [esp + 0x2b]
xchg esi, eax
mov byte [esp], al
xchg esi, eax
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
xchg ebp, eax
mov byte [esp + 0x14], al
xchg ebp, eax
call fcn.005ea0e0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
test edx, edx
jne 0x5e9d01
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], ecx
movzx edx, byte [esp + 0x2b]
test dl, dl
je 0x5e9753
mov edx, dword [esp + 0x48]
cmp dword [esp + 0x4c], 4
jne 0x5e9753
cmp dword [edx], 0x44414548
je 0x5e9c82
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x40]
movzx ecx, byte [esp + 0x68]
mov dword [esp], eax
mov byte [esp + 4], cl
call fcn.005ea780
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x6c], ecx
test eax, eax
jne 0x5e9c70
mov ecx, dword [esp + 0x74]
cmp dword [ecx + 8], 0x29cb474c
jne 0x5e9c68
lea edx, [0x65b820]
cmp edx, ecx
jne 0x5e9c5b
mov ebx, dword [esp + 0x2c]
cmp ebx, 0xffffffff
xchg ebp, ebx
sete bl
xchg ebp, ebx
mov esi, dword [esp + 0x34]
cmp esi, 0xffffffff
sete dl
and edx, ebp
test dl, dl
je 0x5e97d2
movzx edx, byte [esp + 0x68]
test dl, dl
je 0x5e9c29
movzx edx, byte [esp + 0x68]
test dl, dl
je 0x5e9ab5
mov edx, dword [esp + 0x48]
cmp dword [esp + 0x4c], 4
jne 0x5e99d0
cmp dword [edx], 0x44414548
jne 0x5e99d0
lea edx, [0x6ca370]
mov dword [esp + 0x58], edx
lea edx, [0x8324a4]
mov dword [esp + 0x5c], edx
mov edx, dword [ecx + 8]
cmp edx, 0x29cb474c
jne 0x5e98f9
lea edx, [0x65b820]
cmp edx, ecx
jne 0x5e9877
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x78]
mov dword [edx + 0x20], ecx
mov ecx, dword [0x8326a0]
test ecx, ecx
jne 0x5e98ec
mov dword [edx + 0x24], eax
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
mov dword [edx + 0x28], ecx
mov dword [edx + 0x2c], ebx
movzx ecx, byte [esp + 0x68]
test cl, cl
jne 0x5e989b
movzx ecx, byte [esp + 0x69]
mov byte [edx + 0x3c], cl
mov ecx, dword [0x8326a0]
mov eax, dword [esp + 0x6c]
test ecx, ecx
jne 0x5e9891
mov dword [edx + 0x40], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x70
ret
lea edi, [edx + 0x40]
call fcn.0045ace0
jmp 0x5e9877
lea eax, [0x62e640]
mov dword [esp], eax
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 7
lea ecx, [0x66f541]
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
mov dword [ecx + 0x34], 1
mov dword [ecx + 0x38], 1
mov edx, dword [0x8326a0]
test edx, edx
jne 0x5e98e2
mov dword [ecx + 0x30], eax
mov edx, ecx
jmp 0x5e985e
lea edi, [ecx + 0x30]
call fcn.0045ace0
jmp 0x5e98db
lea edi, [edx + 0x24]
call fcn.0045ace0
jmp 0x5e9847
cmp edx, 0x7ade63e2
jne 0x5e9877
lea edx, [0x668700]
cmp edx, ecx
jne 0x5e9877
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x78]
mov dword [edx + 0x20], ecx
mov ecx, dword [0x8326a0]
test ecx, ecx
jne 0x5e99c3
mov dword [edx + 0x24], eax
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
mov dword [edx + 0x2c], ecx
mov dword [edx + 0x30], ebx
movzx ecx, byte [esp + 0x68]
test cl, cl
jne 0x5e9975
movzx ecx, byte [esp + 0x69]
mov byte [edx + 0x40], cl
mov ecx, dword [0x8326a0]
mov eax, dword [esp + 0x6c]
test ecx, ecx
jne 0x5e9968
mov dword [edx + 0x58], eax
jmp 0x5e9877
lea edi, [edx + 0x58]
call fcn.0045ace0
jmp 0x5e9877
lea eax, [0x62e640]
mov dword [esp], eax
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 7
lea ecx, [0x66f541]
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
mov dword [ecx + 0x38], 1
mov dword [ecx + 0x3c], 1
mov edx, dword [0x8326a0]
test edx, edx
jne 0x5e99b9
mov dword [ecx + 0x34], eax
mov edx, ecx
jmp 0x5e994a
lea edi, [ecx + 0x34]
call fcn.0045ace0
jmp 0x5e99b5
lea edi, [edx + 0x24]
call fcn.0045ace0
jmp 0x5e9933
mov edx, dword [esp + 0x44]
lea ebx, [edx - 0x64]
cmp ebx, 0x63
jbe 0x5e97fa
cmp edx, 0xcc
je 0x5e97fa
cmp edx, 0x130
je 0x5e97fa
lea eax, [0x6c7f50]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
call fcn.005c4e90
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
lea edx, [0x65d560]
mov dword [esp], edx
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
mov ecx, dword [0x8326a0]
test ecx, ecx
jne 0x5e9aa3
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov edx, dword [0x8326a0]
test edx, edx
jne 0x5e9a81
mov edx, dword [esp + 0x78]
mov dword [eax + 0xc], edx
mov ebx, dword [esp + 0x7c]
mov dword [eax + 0x10], ebx
movzx ebx, byte [esp + 0x69]
mov byte [eax + 0x14], bl
lea ebx, [0x6c9e30]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], eax
jmp 0x5e980e
lea edi, [eax + 0xc]
mov edx, eax
mov eax, dword [esp + 0x78]
call fcn.0045ace0
lea edi, [edx + 0x10]
mov ebx, eax
mov eax, dword [esp + 0x7c]
call fcn.0045ace0
mov eax, edx
mov edx, ebx
jmp 0x5e9a66
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x3c]
call fcn.0045ace0
mov eax, ecx
jmp 0x5e9a47
test esi, esi
sete dl
test ebx, ebx
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ebp, edx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5e9ae4
lea edx, [0x6ca370]
mov dword [esp + 0x58], edx
lea edx, [0x8324a4]
mov dword [esp + 0x5c], edx
jmp 0x5e980e
test esi, esi
xchg ebp, ebx
setg bl
xchg ebp, ebx
test ebx, ebx
xchg esi, ebx
seta bl
xchg esi, ebx
and esi, edx
or ebp, esi
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x5e9b7e
movzx edx, byte [esp + 0x69]
test dl, dl
jne 0x5e9b22
lea edx, [0x6ca370]
mov dword [esp + 0x58], edx
lea edx, [0x8324a4]
mov dword [esp + 0x5c], edx
jmp 0x5e980e
lea eax, [0x65d560]
mov dword [esp], eax
call fcn.0040b4f0
mov eax, dword [esp + 4]
lea ecx, [0x6c7f50]
mov dword [eax], ecx
mov ecx, dword [0x8326a0]
test ecx, ecx
jne 0x5e9b6c
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
movzx edx, byte [esp + 0x69]
mov byte [eax + 0x14], dl
lea edx, [0x6c9e30]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x74]
jmp 0x5e980e
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x7c]
call fcn.0045ace0
mov eax, ecx
jmp 0x5e9b4d
lea eax, [0x645380]
mov dword [esp], eax
call fcn.0040b4f0
mov eax, dword [esp + 4]
lea ecx, [0x6c7f50]
mov dword [eax], ecx
mov ecx, dword [0x8326a0]
test ecx, ecx
jne 0x5e9c17
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0xc], ecx
lea ecx, [0x65d560]
mov dword [esp], ecx
call fcn.0040b4f0
mov eax, dword [esp + 4]
lea ecx, [0x6c8230]
mov dword [eax], ecx
mov ecx, dword [0x8326a0]
test ecx, ecx
jne 0x5e9c05
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
movzx edx, byte [esp + 0x69]
mov byte [eax + 0x14], dl
lea edx, [0x6c9e30]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x74]
jmp 0x5e980e
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x38]
call fcn.0045ace0
mov eax, ecx
jmp 0x5e9be6
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x7c]
call fcn.0045ace0
mov eax, ecx
jmp 0x5e9ba9
mov edx, dword [esp + 0x44]
lea ebp, [edx - 0x64]
cmp ebp, 0x63
jbe 0x5e97d2
cmp edx, 0xcc
je 0x5e97d2
cmp edx, 0x130
je 0x5e97d2
mov byte [esp + 0x69], 1
jmp 0x5e97d2
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x34]
jmp 0x5e97d2
lea edx, [0x65b820]
jmp 0x5e9c5b
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
add esp, 0x70
ret
mov eax, dword [esp + 0x40]
lea ecx, [0x663600]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x671b98]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0xe
call fcn.0040f8a0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
test eax, eax
jle 0x5e9cfb
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.005eb3d0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
test eax, eax
jne 0x5e9ce9
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
jmp 0x5e975b
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ebx
add esp, 0x70
ret
xor eax, eax
xor ecx, ecx
jmp 0x5e9cbc
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ebx
add esp, 0x70
ret
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x70
ret
cmp eax, 0x7ade63e2
jne 0x5e9d75
lea eax, [0x668700]
cmp eax, ecx
jne 0x5e9d75
mov edx, dword [esp + 0x78]
mov ebx, dword [edx + 0x1c]
mov dword [esp + 0x40], ebx
mov ebx, dword [edx]
mov ebp, dword [edx + 4]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov ebx, dword [edx + 0x14]
mov dword [esp + 0x50], ebx
mov ebx, dword [edx + 0x18]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x44], 0xc8
movzx ebx, byte [edx + 0x40]
mov byte [esp + 0x69], bl
mov eax, edx
xor ecx, ecx
jmp 0x5e9699
lea eax, [0x633ac0]
mov dword [esp], eax
lea eax, [0x6c51a0]
mov dword [esp + 4], eax
call fcn.00430630
nop
call fcn.00459790
jmp fcn.005e95e0