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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x2b4]
cmp eax, dword [ecx + 8]
jbe 0x5d730e
sub esp, 0x334
mov ecx, dword [esp + 0x338]
mov edx, dword [ecx + 0x138]
mov eax, dword [ecx + 0x13c]
test edx, edx
je 0x5d6793
nop
movzx ebx, byte [0x8553f8]
test bl, bl
je 0x5d6759
mov dword [0x8553fc], edx
mov ebx, dword [0x87bd00]
test ebx, ebx
jne 0x5d674e
mov dword [0x855400], eax
jmp 0x5d6759
lea edi, [0x855400]
call fcn.004626c0
mov dword [esp + 0x278], edx
mov dword [esp + 0x27c], eax
mov edx, dword [esp + 0x278]
test edx, edx
je 0x5d678b
nop
movzx ebx, byte [edx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x5d6799
or ebx, 0x80
jmp 0x5d6799
xor ebx, ebx
xor edx, edx
xor eax, eax
jmp 0x5d6799
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.004b57e0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
and eax, 0x1f
mov dword [esp + 0x64], eax
cmp eax, 9
ja 0x5d67ec
cmp eax, 7
jne 0x5d67d0
mov ecx, dword [ecx]
xor ebx, ebx
jmp 0x5d6812
cmp eax, 8
jne 0x5d67dc
movzx ecx, byte [ecx]
xor ebx, ebx
jmp 0x5d6812
cmp eax, 9
jne 0x5d72d3
movzx ecx, word [ecx]
xor ebx, ebx
jmp 0x5d6812
cmp eax, 0xa
jne 0x5d67f7
mov ecx, dword [ecx]
xor ebx, ebx
jmp 0x5d6812
cmp eax, 0xb
jne 0x5d6805
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov ecx, edx
jmp 0x5d6812
cmp eax, 0xc
jne 0x5d72d3
mov ecx, dword [ecx]
xor ebx, ebx
test ebx, ebx
sete dl
test ecx, ecx
sete bl
and edx, ebx
test dl, dl
jne 0x5d6db2
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x338]
movzx ebx, byte [edx + 0x294]
test bl, bl
je 0x5d6879
lea edi, [esp + 0x98]
xor eax, eax
call fcn.00462908
mov ecx, dword [edx + 0x78]
mov esi, dword [edx + 0x7c]
lea ebx, [0x652a00]
cmp ecx, ebx
jne 0x5d72bd
lea edi, [esp + 0x98]
call fcn.00462c20
mov ecx, dword [esp + 0xb4]
mov ebx, dword [esp + 0x24]
sub ebx, ecx
jmp 0x5d68b4
lea edi, [esp + 0x178]
xor eax, eax
call fcn.00462904
mov ecx, dword [edx + 0x78]
mov esi, dword [edx + 0x7c]
lea ebx, [0x6524c0]
cmp ecx, ebx
jne 0x5d72a7
lea edi, [esp + 0x178]
call fcn.00462bf8
mov ecx, dword [esp + 0x190]
mov ebx, dword [esp + 0x24]
sub ebx, ecx
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.005cf880
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x338]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffc
cmp eax, edx
jbe 0x5d68e2
mov edx, dword [0x854c78]
xor ebx, ebx
jmp 0x5d691a
mov edx, dword [ecx + 0x28c]
mov ebx, dword [ecx + 0x288]
mov ebp, dword [ecx + 0x290]
cmp edx, eax
jb 0x5d72a0
sub edx, eax
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
cmp edx, 3
jbe 0x5d7294
mov ebx, dword [ebp + ebx]
xor edx, edx
test edx, edx
jne 0x5d6da0
mov dword [esp + 0x50], eax
mov dword [esp + 0x30], ebx
lea eax, [0x64c980]
mov dword [esp], eax
call fcn.0040b7c0
mov esi, dword [esp + 4]
mov dword [esp + 0x270], esi
mov eax, dword [esp + 0x30]
cmp eax, 1
je 0x5d6a11
cmp eax, 2
je 0x5d69d3
cmp eax, 3
jne 0x5d6998
lea edi, [esp + 0x68]
call fcn.00462dd8
lea eax, [0x64c980]
mov dword [esp], eax
lea ecx, [esp + 0x68]
mov dword [esp + 4], ecx
call fcn.00408fb0
mov eax, dword [esp + 8]
lea ecx, [0x64c980]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004ba710
mov eax, dword [esp + 8]
jmp 0x5d6a4d
lea edi, [esp + 0x68]
call fcn.00462dd8
lea eax, [0x64c980]
mov dword [esp], eax
lea ecx, [esp + 0x68]
mov dword [esp + 4], ecx
call fcn.00408fb0
mov eax, dword [esp + 8]
lea ecx, [0x64c980]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004ba710
mov eax, dword [esp + 8]
jmp 0x5d6a4d
lea edi, [esp + 0x68]
call fcn.00462dd8
lea eax, [0x64c980]
mov dword [esp], eax
lea ecx, [esp + 0x68]
mov dword [esp + 4], ecx
call fcn.00408fb0
mov eax, dword [esp + 8]
lea ecx, [0x64c980]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004ba710
mov eax, dword [esp + 8]
add eax, 0xfffffffc
jmp 0x5d6a4d
lea edi, [esp + 0x68]
call fcn.00462dd8
lea eax, [0x64c980]
mov dword [esp], eax
lea ecx, [esp + 0x68]
mov dword [esp + 4], ecx
call fcn.00408fb0
mov eax, dword [esp + 8]
lea ecx, [0x64c980]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004ba710
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 0x5d6d2e
mov ebx, dword [esp + 0x338]
mov ebp, dword [ebx + 0x2ac]
cmp ebp, ecx
jbe 0x5d6a81
cmp ebp, edx
jae 0x5d6aec
mov dword [esp + 0x280], 0
mov dword [esp + 0x284], 0
lea eax, [0x6282a0]
mov dword [esp + 0x280], eax
lea eax, [0x6c3150]
mov dword [esp + 0x284], eax
mov eax, dword [ebx + 0x2c0]
mov dword [esp], eax
lea eax, [esp + 0x280]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.005112e0
mov dword [esp + 0x33c], 0
add esp, 0x334
ret
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], edx
lea edi, [esp + 0x68]
mov esi, dword [esp + 0x270]
call fcn.00462dd8
lea eax, [0x64c980]
mov dword [esp], eax
lea ecx, [esp + 0x68]
mov dword [esp + 4], ecx
call fcn.00408fb0
mov eax, dword [esp + 8]
lea ecx, [0x64c980]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004ba710
mov eax, dword [esp + 8]
mov dword [esp + 0x44], eax
lea ecx, [0x628460]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0044b0b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x338]
mov edx, dword [ecx + 0x290]
mov ebx, dword [ecx + 0x288]
mov ebp, dword [esp + 0x34]
cmp edx, ebp
jb 0x5d728d
mov esi, dword [esp + 0x50]
cmp esi, ebp
ja 0x5d7284
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 0x5d6b92
mov ebx, ebp
mov dword [esp + 0x26c], eax
cmp eax, edx
je 0x5d6bad
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.00463030
lea eax, [0x63c700]
mov dword [esp], eax
call fcn.0040b7c0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x44]
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov eax, dword [0x87bd00]
test eax, eax
jne 0x5d6bde
mov eax, dword [esp + 0x26c]
mov dword [edi], eax
jmp 0x5d6bea
mov eax, dword [esp + 0x26c]
call fcn.004626c0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xffffffff
lea eax, [0x6c36f8]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [0x6c49c4]
mov dword [esp + 8], eax
lea eax, [0x87ba98]
mov dword [esp + 0xc], eax
lea eax, [0x618440]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x270]
mov dword [esp + 0x14], eax
call fcn.004b93a0
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x5d6cbc
lea eax, [0x63d500]
mov dword [esp], eax
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov dword [esp + 0x274], eax
lea edi, [esp + 0x68]
mov esi, dword [esp + 0x270]
call fcn.00462dd8
lea ecx, [0x64c980]
mov dword [esp], ecx
lea edx, [esp + 0x68]
mov dword [esp + 4], edx
call fcn.00408fb0
mov eax, dword [esp + 8]
lea ecx, [0x64c980]
mov edx, dword [esp + 0x274]
mov dword [edx], ecx
mov ecx, dword [0x87bd00]
test ecx, ecx
jne 0x5d6ca3
mov dword [edx + 4], eax
jmp 0x5d6cab
lea edi, [edx + 4]
call fcn.004626c0
mov eax, dword [esp + 0x270]
mov ecx, dword [eax + 4]
xor ebx, ebx
jmp 0x5d6e09
mov dword [esp + 0x280], 0
mov dword [esp + 0x284], 0
lea eax, [0x6282a0]
mov dword [esp + 0x280], eax
lea eax, [0x6c3158]
mov dword [esp + 0x284], eax
mov eax, dword [esp + 0x338]
mov eax, dword [eax + 0x2c0]
mov dword [esp], eax
lea eax, [esp + 0x280]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.005112e0
mov dword [esp + 0x33c], 0
add esp, 0x334
ret
mov dword [esp + 0x280], 0
mov dword [esp + 0x284], 0
lea eax, [0x6282a0]
mov dword [esp + 0x280], eax
lea eax, [0x6c3150]
mov dword [esp + 0x284], eax
mov eax, dword [esp + 0x338]
mov eax, dword [eax + 0x2c0]
mov dword [esp], eax
lea eax, [esp + 0x280]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.005112e0
mov dword [esp + 0x33c], 0
add esp, 0x334
ret
mov dword [esp + 0x33c], 0
add esp, 0x334
ret
mov dword [esp + 0x33c], 0
add esp, 0x334
ret
lea edi, [esi + 1]
mov dword [eax + 0xc], edi
lea esi, [esi + esi*2]
mov dword [ecx + esi*4], ebp
mov dword [ecx + esi*4 + 4], edx
mov ebp, dword [esp + 0x60]
test ebp, 1
xchg ebp, ebx
setne bl
xchg ebp, ebx
lea esi, [ecx + esi*4 + 8]
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 + 0x270]
mov edx, dword [esp + 0x274]
cmp dword [eax + 8], ebx
jle 0x5d6f98
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x338]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005cf880
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x338]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffc
cmp eax, edx
jbe 0x5d6e4f
mov ebx, dword [0x854c78]
xor ebp, ebp
jmp 0x5d6e86
mov ebx, dword [ecx + 0x28c]
mov ebp, dword [ecx + 0x288]
mov esi, dword [ecx + 0x290]
cmp ebx, eax
jb 0x5d727d
sub ebx, eax
sub esi, eax
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, eax
cmp ebx, 3
jbe 0x5d7271
mov ebp, dword [esi + ebp]
xor ebx, ebx
test ebx, ebx
jne 0x5d6f8a
test ebp, 1
je 0x5d6e9d
mov ebx, ebp
and ebp, 0xfffffffe
jmp 0x5d6e9f
mov ebx, ebp
mov dword [esp + 0x60], ebx
lea esi, [eax + 4]
cmp edx, esi
jae 0x5d6eb4
mov eax, dword [0x854c78]
xor edx, edx
jmp 0x5d6ef1
mov edx, dword [ecx + 0x28c]
mov edi, dword [ecx + 0x288]
mov ebx, dword [ecx + 0x290]
cmp edx, esi
jb 0x5d7268
sub ebx, eax
sub edx, eax
add ebx, 0xfffffffc
neg ebx
sar ebx, 0x1f
and esi, ebx
add edx, 0xfffffffc
cmp edx, 3
jbe 0x5d725c
mov edx, dword [esi + edi]
mov ebx, dword [esp + 0x60]
xor eax, eax
test eax, eax
jne 0x5d6f7a
mov eax, dword [esp + 0x274]
mov esi, dword [eax + 0xc]
lea edi, [esi + 1]
mov ecx, dword [eax + 8]
mov ebx, dword [eax + 0x10]
cmp ebx, edi
jae 0x5d6dc4
mov dword [esp + 0x54], ebp
mov dword [esp + 0x2c], edx
lea eax, [0x63d100]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edi
call fcn.0044b2b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x274]
mov dword [ebx + 0x10], edx
mov edx, dword [0x87bd00]
test edx, edx
jne 0x5d6f5f
mov dword [ebx + 8], eax
jmp 0x5d6f67
lea edi, [ebx + 8]
call fcn.004626c0
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x54]
mov esi, ecx
mov ecx, eax
mov eax, ebx
jmp 0x5d6dc4
mov eax, dword [esp + 0x270]
mov edx, dword [esp + 0x274]
jmp 0x5d6f98
mov eax, dword [esp + 0x270]
mov edx, dword [esp + 0x274]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x5d6fa3
xor ecx, ecx
jmp 0x5d6fc4
mov dword [esp + 0x33c], edx
add esp, 0x334
ret
mov ebx, dword [esp + 0x48]
lea ecx, [ebx + 1]
lea ebx, [edx + 4]
mov edx, dword [esp + 0x274]
mov eax, ebx
cmp ecx, 0x400
jge 0x5d6fa3
mov dword [esp + 0x48], ecx
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x338]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.005cf880
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x338]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffc
cmp eax, edx
jbe 0x5d7009
mov edx, dword [0x854c78]
xor ebx, ebx
jmp 0x5d7040
mov edx, dword [ecx + 0x28c]
mov ebx, dword [ecx + 0x288]
mov ebp, dword [ecx + 0x290]
cmp edx, eax
jb 0x5d7255
sub edx, eax
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
cmp edx, 3
jbe 0x5d7249
mov ebx, dword [eax + ebx]
xor edx, edx
test edx, edx
jne 0x5d7171
mov dword [esp + 0x28], ebx
lea edi, [esp + 0x2b0]
xor eax, eax
call fcn.00462935
mov ecx, dword [esp + 0x338]
mov edx, dword [ecx + 0xb0]
mov ebp, dword [ecx + 0xac]
test edx, edx
je 0x5d707c
mov esi, dword [esp + 0x3c]
xor edi, edi
jmp 0x5d7193
lea edi, [esp + 0x2b0]
call fcn.00462935
lea edi, [esp + 0x2dc]
lea esi, [esp + 0x2b0]
call fcn.00462de2
mov ecx, dword [esp + 0x2e0]
mov edx, dword [esp + 0x2e4]
mov ebp, dword [esp + 0x274]
mov esi, ecx
mov ecx, dword [ebp + 0x18]
mov edi, edx
lea edx, [ecx + 1]
mov ebx, dword [ebp + 0x14]
mov ebp, dword [ebp + 0x1c]
cmp ebp, edx
jae 0x5d7129
mov dword [esp + 0x268], esi
mov dword [esp + 0x5c], edi
lea eax, [0x63d180]
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.0044b2b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x274]
mov dword [ebx + 0x1c], edx
mov edx, dword [0x87bd00]
test edx, edx
jne 0x5d7112
mov dword [ebx + 0x14], eax
jmp 0x5d711a
lea edi, [ebx + 0x14]
call fcn.004626c0
mov esi, dword [esp + 0x268]
mov edi, dword [esp + 0x5c]
mov ebx, eax
xor eax, eax
lea edx, [ecx + 1]
mov ebp, dword [esp + 0x274]
mov dword [ebp + 0x18], edx
shl ecx, 4
mov edx, dword [esp + 0x3c]
mov dword [ebx + ecx], edx
mov ebp, dword [esp + 0x28]
mov dword [ebx + ecx + 4], ebp
mov dword [ebx + ecx + 0xc], edi
mov ebp, dword [0x87bd00]
lea edi, [ebx + ecx + 8]
test ebp, ebp
jne 0x5d7163
mov dword [ebx + ecx + 8], esi
jmp 0x5d6fb1
mov eax, esi
call fcn.004626c0
xor eax, eax
jmp 0x5d6fb1
mov edx, dword [esp + 0x274]
jmp 0x5d6fa3
add ebp, 0x2c
mov ebx, dword [esp + 0x3c]
mov ebx, esi
mov esi, dword [esp + 0x3c]
mov edi, ecx
mov ecx, dword [esp + 0x338]
mov dword [esp + 0x5c], edi
lea edi, [esp + 0x308]
mov esi, ebp
call fcn.00462de2
mov ecx, dword [esp + 0x318]
mov esi, ebx
mov ebx, dword [esp + 0x314]
test ecx, ecx
je 0x5d71cb
mov dword [esp + 0x58], ecx
mov edi, dword [esp + 0x3c]
xor eax, eax
mov dword [esp + 0x20], eax
xor eax, eax
jmp 0x5d71f7
mov ecx, dword [esp + 0x5c]
inc ecx
cmp edx, ecx
jg 0x5d717d
mov ecx, dword [esp + 0x338]
mov ebx, esi
jmp 0x5d707c
add ebx, 0x28
mov ecx, edx
mov edx, edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x20], ebp
mov ebp, esi
mov esi, dword [esp + 0x28]
lea edi, [esp + 0x288]
mov esi, ebx
call fcn.00462dec
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x2a8], ecx
je 0x5d722d
mov esi, ebp
mov ebp, dword [esp + 0x20]
inc ebp
mov edi, edx
mov edx, dword [esp + 0x58]
cmp edx, ebp
jg 0x5d71e2
mov edx, edi
mov ebp, esi
mov esi, dword [esp + 0x28]
jmp 0x5d71cb
lea edi, [esp + 0x2b0]
lea esi, [esp + 0x308]
call fcn.00462de2
mov ebx, dword [esp + 0x28]
jmp 0x5d7088
mov eax, 3
mov ecx, edx
call fcn.00462740
mov ecx, edx
call fcn.004627b0
mov eax, 3
mov ecx, edx
call fcn.00462740
mov eax, esi
mov ecx, edx
call fcn.004627b0
mov eax, 3
mov ecx, ebx
call fcn.00462740
mov ecx, ebx
call fcn.004627b0
mov eax, esi
mov ecx, ebp
call fcn.004627b0
mov ecx, ebp
call fcn.00462790
mov eax, 3
mov ecx, edx
call fcn.00462740
mov ecx, edx
call fcn.004627b0
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea eax, [0x627be0]
mov dword [esp + 8], eax
call fcn.00408df0
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea eax, [0x627be0]
mov dword [esp + 8], eax
call fcn.00408df0
lea eax, [0x637580]
mov dword [esp], eax
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x65fac4]
mov dword [eax], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 8], ecx
lea ecx, [0x62edc0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004369c0
nop
call fcn.004612b0
jmp fcn.005d66f0