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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x284]
cmp eax, dword [ecx + 8]
jbe 0x5e5c16
sub esp, 0x304
mov ecx, dword [esp + 0x308]
mov edx, dword [ecx + 0x138]
mov eax, dword [ecx + 0x13c]
test edx, edx
je 0x5e5103
nop
movzx ebx, byte [0x86e3e0]
test bl, bl
je 0x5e50c9
mov dword [0x86e3e4], edx
mov ebx, dword [0x893c80]
test ebx, ebx
jne 0x5e50be
mov dword [0x86e3e8], eax
jmp 0x5e50c9
lea edi, [0x86e3e8]
call fcn.00463680
mov dword [esp + 0x248], edx
mov dword [esp + 0x24c], eax
mov edx, dword [esp + 0x248]
test edx, edx
je 0x5e50fb
nop
movzx ebx, byte [edx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x5e5109
or ebx, 0x80
jmp 0x5e5109
xor ebx, ebx
xor edx, edx
xor eax, eax
jmp 0x5e5109
xor ebx, ebx
xor edx, edx
xor eax, eax
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0x1f
call fcn.004b7aa0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
and eax, 0x1f
mov dword [esp + 0x64], eax
cmp eax, 9
ja 0x5e515c
cmp eax, 7
jne 0x5e5140
mov ecx, dword [ecx]
xor ebx, ebx
jmp 0x5e5182
cmp eax, 8
jne 0x5e514c
movzx ecx, byte [ecx]
xor ebx, ebx
jmp 0x5e5182
cmp eax, 9
jne 0x5e5bdb
movzx ecx, word [ecx]
xor ebx, ebx
jmp 0x5e5182
cmp eax, 0xa
jne 0x5e5167
mov ecx, dword [ecx]
xor ebx, ebx
jmp 0x5e5182
cmp eax, 0xb
jne 0x5e5175
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov ecx, edx
jmp 0x5e5182
cmp eax, 0xc
jne 0x5e5bdb
mov ecx, dword [ecx]
xor ebx, ebx
test ebx, ebx
sete dl
test ecx, ecx
sete bl
and edx, ebx
test dl, dl
jne 0x5e56be
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x308]
movzx ebx, byte [edx + 0x294]
test bl, bl
je 0x5e51e3
lea edi, [esp + 0x68]
xor eax, eax
call fcn.004638e8
mov ecx, dword [edx + 0x78]
mov esi, dword [edx + 0x7c]
lea ebx, [0x665460]
cmp ecx, ebx
jne 0x5e5bc5
lea edi, [esp + 0x68]
call fcn.00463c00
mov ecx, dword [esp + 0x84]
mov ebx, dword [esp + 0x24]
sub ebx, ecx
jmp 0x5e521e
lea edi, [esp + 0x148]
xor eax, eax
call fcn.004638e4
mov ecx, dword [edx + 0x78]
mov esi, dword [edx + 0x7c]
lea ebx, [0x664f20]
cmp ecx, ebx
jne 0x5e5baf
lea edi, [esp + 0x148]
call fcn.00463bd8
mov ecx, dword [esp + 0x160]
mov ebx, dword [esp + 0x24]
sub ebx, ecx
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.005de420
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x308]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffc
cmp eax, edx
jbe 0x5e524c
mov edx, dword [0x86dc50]
xor ebx, ebx
jmp 0x5e5284
mov edx, dword [ecx + 0x28c]
mov ebx, dword [ecx + 0x288]
mov ebp, dword [ecx + 0x290]
cmp edx, eax
jb 0x5e5ba8
sub edx, eax
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
cmp edx, 3
jbe 0x5e5b9c
mov ebx, dword [ebp + ebx]
xor edx, edx
test edx, edx
jne 0x5e56ac
mov dword [esp + 0x50], eax
mov dword [esp + 0x30], ebx
lea eax, [0x65ef80]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [esp + 0x240], eax
mov ecx, dword [esp + 0x30]
cmp ecx, 1
je 0x5e5348
cmp ecx, 2
je 0x5e531b
cmp ecx, 3
jne 0x5e52f1
lea eax, [0x65ef80]
mov dword [esp], eax
call fcn.00409410
mov eax, dword [esp + 8]
lea ecx, [0x65ef80]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004bf680
mov eax, dword [esp + 8]
jmp 0x5e5373
lea eax, [0x65ef80]
mov dword [esp], eax
call fcn.00409410
mov eax, dword [esp + 8]
lea ecx, [0x65ef80]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004bf680
mov eax, dword [esp + 8]
jmp 0x5e5373
lea eax, [0x65ef80]
mov dword [esp], eax
call fcn.00409410
mov eax, dword [esp + 8]
lea ecx, [0x65ef80]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004bf680
mov eax, dword [esp + 8]
add eax, 0xfffffffc
jmp 0x5e5373
lea eax, [0x65ef80]
mov dword [esp], eax
call fcn.00409410
mov eax, dword [esp + 8]
lea ecx, [0x65ef80]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004bf680
mov eax, dword [esp + 8]
add eax, 0xfffffff8
mov ecx, dword [esp + 0x50]
lea edx, [eax + ecx]
cmp ecx, edx
setb bl
test eax, eax
xchg ebp, ebx
seta bl
xchg ebp, ebx
xchg ebp, eax
cmp al, bl
xchg ebp, eax
jne 0x5e563a
mov ebx, dword [esp + 0x308]
mov ebp, dword [ebx + 0x2ac]
cmp ebp, ecx
jbe 0x5e53a7
cmp ebp, edx
jae 0x5e5412
mov dword [esp + 0x250], 0
mov dword [esp + 0x254], 0
lea eax, [0x638660]
mov dword [esp + 0x250], eax
lea eax, [0x6ceea8]
mov dword [esp + 0x254], eax
mov eax, dword [ebx + 0x2c0]
mov dword [esp], eax
lea eax, [esp + 0x250]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.0051c980
mov dword [esp + 0x30c], 0
add esp, 0x304
ret
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], edx
lea eax, [0x65ef80]
mov dword [esp], eax
mov ecx, dword [esp + 0x240]
mov dword [esp + 4], ecx
call fcn.00409410
mov eax, dword [esp + 8]
lea ecx, [0x65ef80]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004bf680
mov eax, dword [esp + 8]
mov dword [esp + 0x44], eax
lea ecx, [0x638820]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0044a8a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x308]
mov edx, dword [ecx + 0x290]
mov ebx, dword [ecx + 0x288]
mov ebp, dword [esp + 0x34]
cmp edx, ebp
jb 0x5e5b95
mov esi, dword [esp + 0x50]
cmp esi, ebp
ja 0x5e5b8c
sub edx, esi
neg edx
sar edx, 0x1f
and edx, esi
add edx, ebx
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x44]
cmp ebx, ebp
jl 0x5e54ab
mov ebx, ebp
mov dword [esp + 0x23c], eax
cmp eax, edx
je 0x5e54c6
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.00464010
lea eax, [0x64d960]
mov dword [esp], eax
call fcn.0040bcc0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x44]
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov eax, dword [0x893c80]
test eax, eax
jne 0x5e54f7
mov eax, dword [esp + 0x23c]
mov dword [edi], eax
jmp 0x5e5503
mov eax, dword [esp + 0x23c]
call fcn.00463680
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xffffffff
lea eax, [0x6cf3c0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [0x6d05e8]
mov dword [esp + 8], eax
lea eax, [0x8939c0]
mov dword [esp + 0xc], eax
lea eax, [0x628760]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x240]
mov dword [esp + 0x14], eax
call fcn.004be310
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x5e55c8
lea eax, [0x64e760]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [esp + 0x244], eax
lea ecx, [0x65ef80]
mov dword [esp], ecx
mov edx, dword [esp + 0x240]
mov dword [esp + 4], edx
call fcn.00409410
mov eax, dword [esp + 8]
lea ecx, [0x65ef80]
mov edx, dword [esp + 0x244]
mov dword [edx], ecx
mov ecx, dword [0x893c80]
test ecx, ecx
jne 0x5e55af
mov dword [edx + 4], eax
jmp 0x5e55b7
lea edi, [edx + 4]
call fcn.00463680
mov eax, dword [esp + 0x240]
mov ecx, dword [eax + 4]
xor ebx, ebx
jmp 0x5e570b
mov dword [esp + 0x250], 0
mov dword [esp + 0x254], 0
lea eax, [0x638660]
mov dword [esp + 0x250], eax
lea eax, [0x6ceeb0]
mov dword [esp + 0x254], eax
mov eax, dword [esp + 0x308]
mov eax, dword [eax + 0x2c0]
mov dword [esp], eax
lea eax, [esp + 0x250]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.0051c980
mov dword [esp + 0x30c], 0
add esp, 0x304
ret
mov dword [esp + 0x250], 0
mov dword [esp + 0x254], 0
lea eax, [0x638660]
mov dword [esp + 0x250], eax
lea eax, [0x6ceea8]
mov dword [esp + 0x254], eax
mov eax, dword [esp + 0x308]
mov eax, dword [eax + 0x2c0]
mov dword [esp], eax
lea eax, [esp + 0x250]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.0051c980
mov dword [esp + 0x30c], 0
add esp, 0x304
ret
mov dword [esp + 0x30c], 0
add esp, 0x304
ret
mov dword [esp + 0x30c], 0
add esp, 0x304
ret
mov ecx, ebp
xchg ebp, ebx
setne bl
xchg ebp, ebx
mov dword [eax + 0xc], esi
lea esi, [esi + esi*2]
mov dword [edi + esi*4 - 0xc], ecx
mov dword [edi + esi*4 - 8], edx
lea esi, [edi + esi*4 - 4]
xchg ebp, eax
mov byte [esi], al
xchg ebp, eax
mov ebp, dword [esp + 0x4c]
lea ebx, [ebp + 1]
mov ebp, dword [esp + 0x40]
lea ecx, [ebp + 8]
mov eax, dword [esp + 0x240]
mov edx, dword [esp + 0x244]
cmp dword [eax + 8], ebx
jle 0x5e58bb
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x308]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005de420
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x308]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffc
cmp eax, edx
jbe 0x5e5751
mov ebx, dword [0x86dc50]
xor ebp, ebp
jmp 0x5e5788
mov ebx, dword [ecx + 0x28c]
mov ebp, dword [ecx + 0x288]
mov esi, dword [ecx + 0x290]
cmp ebx, eax
jb 0x5e5b85
sub ebx, eax
sub esi, eax
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, eax
cmp ebx, 3
jbe 0x5e5b79
mov ebp, dword [esi + ebp]
xor ebx, ebx
test ebx, ebx
jne 0x5e58ad
test ebp, 1
je 0x5e579f
mov ebx, ebp
and ebp, 0xfffffffe
jmp 0x5e57a1
mov ebx, ebp
mov dword [esp + 0x54], ebp
lea esi, [eax + 4]
cmp edx, esi
jae 0x5e57b6
mov eax, dword [0x86dc50]
xor edx, edx
jmp 0x5e57f7
mov edx, dword [ecx + 0x28c]
mov edi, dword [ecx + 0x288]
mov ebp, dword [ecx + 0x290]
cmp edx, esi
jb 0x5e5b70
sub ebp, eax
sub edx, eax
add ebp, 0xfffffffc
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and esi, ebp
add edx, 0xfffffffc
cmp edx, 3
jbe 0x5e5b64
mov edx, dword [esi + edi]
mov ebp, dword [esp + 0x54]
xor eax, eax
test eax, eax
jne 0x5e589d
mov eax, dword [esp + 0x244]
mov esi, dword [eax + 0xc]
inc esi
mov edi, dword [eax + 8]
mov ecx, dword [eax + 0x10]
cmp ecx, esi
jb 0x5e581f
test ebx, 1
jmp 0x5e56d0
mov dword [esp + 0x60], ebx
mov dword [esp + 0x2c], edx
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x64e360]
mov dword [esp + 0x10], eax
call fcn.0044aa20
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x244]
mov dword [ebx + 0x10], edx
mov edx, dword [0x893c80]
test edx, edx
jne 0x5e5878
mov dword [ebx + 8], eax
mov edx, dword [esp + 0x60]
test edx, 1
jmp 0x5e588a
lea edi, [ebx + 8]
call fcn.00463680
mov edx, dword [esp + 0x60]
test edx, 1
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x54]
mov esi, ecx
mov edi, eax
mov eax, ebx
jmp 0x5e56d0
mov eax, dword [esp + 0x240]
mov edx, dword [esp + 0x244]
jmp 0x5e58bb
mov eax, dword [esp + 0x240]
mov edx, dword [esp + 0x244]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x5e58c6
xor ecx, ecx
jmp 0x5e58e7
mov dword [esp + 0x30c], edx
add esp, 0x304
ret
mov ebp, dword [esp + 0x48]
lea ecx, [ebp + 1]
add ebx, 4
mov edx, dword [esp + 0x244]
mov eax, ebx
cmp ecx, 0x400
jge 0x5e58c6
mov dword [esp + 0x48], ecx
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x308]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.005de420
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x308]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffc
cmp eax, edx
jbe 0x5e592c
mov edx, dword [0x86dc50]
xor ebx, ebx
jmp 0x5e5963
mov edx, dword [ecx + 0x28c]
mov ebx, dword [ecx + 0x288]
mov ebp, dword [ecx + 0x290]
cmp edx, eax
jb 0x5e5b5d
sub edx, eax
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
cmp edx, 3
jbe 0x5e5b51
mov ebx, dword [eax + ebx]
xor edx, edx
test edx, edx
jne 0x5e5a8f
mov dword [esp + 0x28], ebx
lea edi, [esp + 0x280]
xor eax, eax
call fcn.00463915
mov ecx, dword [esp + 0x308]
mov edx, dword [ecx + 0xac]
mov ebp, dword [ecx + 0xb0]
mov dword [esp + 0x5c], ebp
mov esi, dword [esp + 0x3c]
xor edi, edi
jmp 0x5e5ab4
lea edi, [esp + 0x280]
call fcn.00463915
lea edi, [esp + 0x2ac]
lea esi, [esp + 0x280]
call fcn.00463dc2
mov ecx, dword [esp + 0x2b0]
mov edx, dword [esp + 0x2b4]
mov ebp, dword [esp + 0x244]
mov esi, ecx
mov ecx, dword [ebp + 0x18]
inc ecx
mov edi, edx
mov edx, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x1c]
cmp ebx, ecx
jae 0x5e5a50
mov dword [esp + 0x5c], edi
mov dword [esp + 0x238], esi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x64e3e0]
mov dword [esp + 0x10], eax
call fcn.0044aa20
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x244]
mov dword [ebx + 0x1c], edx
mov edx, dword [0x893c80]
test edx, edx
jne 0x5e5a37
mov dword [ebx + 0x14], eax
jmp 0x5e5a3f
lea edi, [ebx + 0x14]
call fcn.00463680
mov ebp, ebx
mov esi, dword [esp + 0x238]
mov edi, dword [esp + 0x5c]
mov edx, eax
xor eax, eax
mov dword [ebp + 0x18], ecx
dec ecx
shl ecx, 4
mov ebx, dword [esp + 0x3c]
mov dword [edx + ecx], ebx
mov ebp, dword [esp + 0x28]
mov dword [edx + ecx + 4], ebp
mov dword [edx + ecx + 0xc], edi
mov ebp, dword [0x893c80]
lea edi, [edx + ecx + 8]
test ebp, ebp
jne 0x5e5a81
mov dword [edx + ecx + 8], esi
jmp 0x5e58d4
mov eax, esi
call fcn.00463680
xor eax, eax
jmp 0x5e58d4
mov edx, dword [esp + 0x244]
jmp 0x5e58c6
add edx, 0x2c
mov ecx, dword [esp + 0x58]
inc ecx
mov ebp, dword [esp + 0x5c]
mov ebx, esi
mov esi, edi
mov edi, ecx
mov ecx, dword [esp + 0x308]
cmp edi, ebp
jge 0x5e599f
mov dword [esp + 0x58], edi
lea edi, [esp + 0x2d8]
mov esi, edx
call fcn.00463dc2
mov ecx, dword [esp + 0x2e4]
mov esi, ebx
mov ebx, dword [esp + 0x2e8]
mov edi, dword [esp + 0x3c]
xor eax, eax
mov dword [esp + 0x20], eax
xor eax, eax
jmp 0x5e5b07
mov esi, dword [esp + 0x23c]
add esi, 0x28
inc ebp
mov edi, ecx
mov dword [esp + 0x20], ebp
mov ecx, esi
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x20]
cmp ebp, ebx
jge 0x5e5a9b
mov dword [esp + 0x23c], ecx
lea edi, [esp + 0x258]
mov esi, ecx
call fcn.00463dcc
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x278], ecx
jne 0x5e5aec
lea edi, [esp + 0x280]
lea esi, [esp + 0x2d8]
call fcn.00463dc2
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x3c]
jmp 0x5e59ab
mov eax, 3
mov ecx, edx
call fcn.00463700
mov ecx, edx
call fcn.00463770
mov eax, 3
mov ecx, edx
call fcn.00463700
mov eax, esi
mov ecx, edx
call fcn.00463770
mov eax, 3
mov ecx, ebx
call fcn.00463700
mov ecx, ebx
call fcn.00463770
mov eax, esi
mov ecx, ebp
call fcn.00463770
mov ecx, ebp
call fcn.00463750
mov eax, 3
mov ecx, edx
call fcn.00463700
mov ecx, edx
call fcn.00463770
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea eax, [0x638020]
mov dword [esp + 8], eax
call fcn.00409250
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea eax, [0x638020]
mov dword [esp + 8], eax
call fcn.00409250
lea eax, [0x6483a0]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x672470]
mov dword [eax], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 8], ecx
lea ecx, [0x63f6c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00435bb0
nop
call fcn.00462270
jmp fcn.005e5060