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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5d07ff
sub esp, 0x68
mov ebx, dword [esp + 0x6c]
mov ebp, dword [ebx + 0x198]
mov ecx, dword [ebx + 0x19c]
mov esi, dword [ebx + 0x1a0]
mov eax, dword [ebx + 0x1a4]
mov edi, ecx
sub ecx, eax
cmp ecx, 4
jge 0x5cff6d
mov dword [esp], ebx
mov byte [esp + 4], 0
call fcn.005cc240
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x5cff09
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
add esp, 0x68
ret
nop
cmp edi, eax
jb 0x5d07f7
sub esi, eax
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and eax, esi
movzx esi, byte [ebp + eax + 1]
shl esi, 0x10
movzx edi, byte [ebp + eax + 2]
shl edi, 8
or edi, esi
movzx ebp, byte [ebp + eax + 3]
or ebp, edi
mov dword [esp + 0x24], ebp
cmp ebp, 0x10000
jle 0x5d0147
mov dword [esp], ebx
mov byte [esp + 4], 0x50
call fcn.005cee70
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.004090d0
mov eax, dword [esp + 4]
lea ecx, [0x696180]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
lea eax, [0x75052c]
mov dword [esp + 0x64], eax
lea eax, [0x6e3684]
mov dword [esp], eax
mov dword [esp + 4], 0x45
lea eax, [esp + 0x58]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004beaf0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], ecx
lea edx, [0x6a7600]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004093f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test eax, eax
jne 0x5d00a1
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x6c]
mov dword [edx + 0xc4], ecx
mov ecx, dword [0x90e260]
test ecx, ecx
jne 0x5d0090
mov eax, dword [esp + 0x3c]
mov dword [edx + 0xc8], eax
jmp 0x5d0111
lea edi, [edx + 0xc8]
mov eax, dword [esp + 0x3c]
call fcn.004630d0
jmp 0x5d0111
mov dword [esp + 0x54], edx
mov dword [esp + 0x48], ecx
lea eax, [0x6a06a0]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x54]
mov dword [eax], ecx
mov ecx, dword [0x90e260]
test ecx, ecx
jne 0x5d00d4
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], ecx
jmp 0x5d00e4
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x48]
call fcn.004630d0
mov eax, ecx
lea ecx, [0x751028]
mov edx, dword [esp + 0x6c]
mov dword [edx + 0xc4], ecx
mov ecx, dword [0x90e260]
test ecx, ecx
jne 0x5d0106
mov dword [edx + 0xc8], eax
jmp 0x5d0111
lea edi, [edx + 0xc8]
call fcn.004630d0
mov eax, dword [edx + 0xc4]
mov ecx, dword [edx + 0xc8]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x68
ret
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x24]
lea esi, [ebp + 4]
mov edi, dword [ebx + 0x19c]
sub edi, dword [ebx + 0x1a4]
cmp edi, esi
jge 0x5d0199
mov dword [esp], ebx
mov byte [esp + 4], 0
call fcn.005cc240
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x5d013f
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
add esp, 0x68
ret
nop
mov byte [ebx + 0x1a8], 0
nop
mov edx, dword [ebx + 0x1a0]
mov ebp, dword [ebx + 0x198]
mov edi, dword [ebx + 0x19c]
mov eax, dword [ebx + 0x1a4]
sub edi, eax
cmp edi, esi
jl 0x5d01c2
mov edi, esi
lea ecx, [edi + eax]
cmp edx, ecx
jb 0x5d07f2
cmp eax, ecx
ja 0x5d07ed
mov dword [ebx + 0x1a4], ecx
sub edx, eax
neg edx
sar edx, 0x1f
and eax, edx
lea edx, [ebp + eax]
test edi, edi
jle 0x5d01f3
mov byte [ebx + 0x1a8], 0xff
jbe 0x5d07e4
mov dword [esp + 0x20], edi
mov dword [esp + 0x4c], edx
movzx eax, byte [ebp + eax]
cmp al, 0xb
ja 0x5d0349
cmp al, 2
ja 0x5d0270
test al, al
jne 0x5d0229
lea ecx, [0x751b60]
lea eax, [0x90dfac]
jmp 0x5d05db
cmp al, 1
jne 0x5d024f
lea eax, [0x6c5160]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x20]
lea ecx, [0x751ae8]
jmp 0x5d05db
lea eax, [0x6c3520]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x20]
lea ecx, [0x751bd8]
jmp 0x5d05db
cmp al, 5
ja 0x5d02d7
cmp al, 4
jne 0x5d02bd
cmp word [ebx + 0x24], 0x304
jne 0x5d029c
lea eax, [0x6b8540]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
lea ecx, [0x751ba8]
jmp 0x5d02b4
lea eax, [0x6a6880]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
lea ecx, [0x751b90]
mov edi, dword [esp + 0x20]
jmp 0x5d05db
cmp al, 5
jne 0x5d0488
lea ecx, [0x751b30]
lea eax, [0x90dfac]
jmp 0x5d05db
cmp al, 8
je 0x5d0328
cmp al, 0xb
jne 0x5d0488
cmp word [ebx + 0x24], 0x304
jne 0x5d0307
lea eax, [0x6b17c0]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
lea ecx, [0x751a70]
jmp 0x5d031f
lea eax, [0x6a6580]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
lea ecx, [0x751a58]
mov edi, dword [esp + 0x20]
jmp 0x5d05db
lea eax, [0x6a6700]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x20]
lea ecx, [0x751b18]
jmp 0x5d05db
cmp al, 0xf
ja 0x5d0425
cmp al, 0xd
ja 0x5d03dc
cmp al, 0xc
je 0x5d03bb
cmp word [ebx + 0x24], 0x304
jne 0x5d0388
lea eax, [0x6b84a0]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
lea ecx, [0x751aa0]
mov edx, eax
mov eax, dword [esp + 0x6c]
jmp 0x5d03b0
lea eax, [0x6b5800]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 0x6c]
cmp word [eax + 0x24], 0x303
setae cl
mov edx, dword [esp + 4]
mov byte [edx + 0xc], cl
lea ecx, [0x751a88]
mov edi, dword [esp + 0x20]
mov eax, edx
jmp 0x5d05db
lea eax, [0x6a69a0]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x20]
lea ecx, [0x751bf0]
jmp 0x5d05db
cmp al, 0xe
jne 0x5d03f2
lea ecx, [0x751bc0]
lea eax, [0x90dfac]
jmp 0x5d05db
lea eax, [0x6b1840]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 0x6c]
cmp word [eax + 0x24], 0x303
setae cl
mov edx, dword [esp + 4]
mov byte [edx + 0xc], cl
mov edi, dword [esp + 0x20]
lea ecx, [0x751ad0]
mov eax, edx
jmp 0x5d05db
cmp al, 0x14
ja 0x5d0476
cmp al, 0x10
je 0x5d0455
cmp al, 0x14
jne 0x5d0488
lea eax, [0x6a6760]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x20]
lea ecx, [0x751b48]
jmp 0x5d05db
lea eax, [0x6a6640]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x20]
lea ecx, [0x751b00]
jmp 0x5d05db
cmp al, 0x16
je 0x5d05bf
cmp al, 0x18
je 0x5d05a1
mov dword [esp], ebx
mov byte [esp + 4], 0xa
call fcn.005cf040
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x38], ecx
lea edx, [0x6a7600]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004093f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test eax, eax
jne 0x5d0503
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x6c]
mov dword [edx + 0xc4], ecx
mov ecx, dword [0x90e260]
test ecx, ecx
jne 0x5d04f2
mov eax, dword [esp + 0x38]
mov dword [edx + 0xc8], eax
jmp 0x5d0573
lea edi, [edx + 0xc8]
mov eax, dword [esp + 0x38]
call fcn.004630d0
jmp 0x5d0573
mov dword [esp + 0x54], edx
mov dword [esp + 0x44], ecx
lea eax, [0x6a06a0]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x54]
mov dword [eax], ecx
mov ecx, dword [0x90e260]
test ecx, ecx
jne 0x5d0536
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], ecx
jmp 0x5d0546
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x44]
call fcn.004630d0
mov eax, ecx
lea ecx, [0x751028]
mov edx, dword [esp + 0x6c]
mov dword [edx + 0xc4], ecx
mov ecx, dword [0x90e260]
test ecx, ecx
jne 0x5d0568
mov dword [edx + 0xc8], eax
jmp 0x5d0573
lea edi, [edx + 0xc8]
call fcn.004630d0
mov eax, dword [edx + 0xc4]
mov ecx, dword [edx + 0xc8]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x68
ret
lea eax, [0x6a6820]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x20]
lea ecx, [0x751b78]
jmp 0x5d05db
lea eax, [0x6a65e0]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x20]
lea ecx, [0x751ab8]
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ecx
lea edx, [0x696c40]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], edi
call fcn.0044b8c0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], ecx
mov dword [esp], eax
mov edx, dword [esp + 0x4c]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 8], edx
call fcn.00463a60
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x30]
mov dword [esp], edx
mov ebx, dword [esp + 0x50]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x20]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x2c]
mov dword [esp + 0xc], esi
call ecx
movzx eax, byte [esp + 0x10]
test al, al
je 0x5d06c7
mov eax, dword [esp + 0x70]
test eax, eax
je 0x5d0692
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xc], ecx
call eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x5d069f
mov ecx, dword [eax + 4]
jmp 0x5d06a1
mov ecx, eax
mov dword [esp + 0x78], ecx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.005cf040
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x34], ecx
lea edx, [0x6a7600]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004093f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test eax, eax
jne 0x5d0746
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x6c]
mov dword [edx + 0xc4], ecx
mov ecx, dword [0x90e260]
test ecx, ecx
jne 0x5d0735
mov eax, dword [esp + 0x34]
mov dword [edx + 0xc8], eax
jmp 0x5d07b6
lea edi, [edx + 0xc8]
mov eax, dword [esp + 0x34]
call fcn.004630d0
jmp 0x5d07b6
mov dword [esp + 0x40], ecx
mov dword [esp + 0x54], edx
lea eax, [0x6a06a0]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x54]
mov dword [eax], ecx
mov ecx, dword [0x90e260]
test ecx, ecx
jne 0x5d0779
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], ecx
jmp 0x5d0789
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x40]
call fcn.004630d0
mov eax, ecx
lea ecx, [0x751028]
mov edx, dword [esp + 0x6c]
mov dword [edx + 0xc4], ecx
mov ecx, dword [0x90e260]
test ecx, ecx
jne 0x5d07ab
mov dword [edx + 0xc8], eax
jmp 0x5d07b6
lea edi, [edx + 0xc8]
call fcn.004630d0
mov eax, dword [edx + 0xc4]
mov ecx, dword [edx + 0xc8]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x68
ret
xor eax, eax
mov ecx, eax
call fcn.00463150
call fcn.004631b0
call fcn.00463190
mov ecx, edi
call fcn.004631b0
nop
call fcn.00461cc0
jmp fcn.005cfef0