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

Disassembly:
mov ecx, dword [0x85d3cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5d1248
sub esp, 0x68
lea eax, [0x679160]
mov dword [esp], eax
call fcn.0040c260
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x78]
mov dword [esp + 8], ebx
lea ebp, [0x656f40]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.00599140
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
test eax, eax
jne 0x5d0f23
mov eax, dword [esp + 0x5c]
cmp dword [eax], 1
jne 0x5d0ea7
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x5d0c9e
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.005d6cd0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
jmp 0x5d0cbf
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov ebx, dword [eax + 0x18]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.005d6cd0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x5d0e66
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], ecx
lea eax, [0x671a20]
mov dword [esp], eax
call fcn.0040c260
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov ebp, dword [ecx + 0xc]
mov esi, dword [eax + 8]
mov edi, dword [eax + 0xc]
mov ecx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebp
call fcn.00584fe0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x40]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
mov eax, dword [0x85d680]
test eax, eax
je 0x5d0d44
call fcn.00468040
mov dword [edi], edx
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov dword [ebx + 4], edx
mov byte [ebx], 0
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x54]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0057b660
mov eax, dword [esp + 8]
test eax, eax
jge 0x5d0e25
lea eax, [0x683020]
mov dword [esp], eax
call fcn.0040c260
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x3c]
mov dword [eax], ecx
mov edx, dword [0x85d680]
test edx, edx
jne 0x5d0dad
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x40]
jmp 0x5d0dbf
call fcn.00468040
mov edx, dword [esp + 0x54]
mov dword [edi], edx
mov ebx, dword [esp + 0x40]
mov dword [edi + 4], ebx
mov dword [esp + 0x4c], eax
mov dword [eax + 4], edx
mov dword [eax + 0x10], ebx
mov ecx, dword [esp + 0x44]
mov ebx, dword [ecx + 4]
mov ebp, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
call fcn.00581ac0
mov eax, dword [esp + 0xc]
lea ecx, [0x662020]
mov dword [esp], ecx
lea ecx, [eax + 7]
sar ecx, 0x1f
shr ecx, 0x1d
lea eax, [ecx + eax + 7]
sar eax, 3
mov dword [esp + 0x34], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0044d740
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x34]
jmp 0x5d1104
lea eax, [0x66a620]
mov dword [esp], eax
call fcn.0040c260
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2e
lea ecx, [0x6a0362]
mov dword [eax], ecx
mov dword [esp + 0x7c], 0
lea ecx, [0x6f1b20]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x68
ret
lea eax, [0x66a620]
mov dword [esp], eax
call fcn.0040c260
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1c
lea ecx, [0x698f70]
mov dword [eax], ecx
mov dword [esp + 0x7c], 0
lea ecx, [0x6f1b20]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x68
ret
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov eax, dword [eax]
mov dword [esp], eax
call fcn.004099a0
mov eax, dword [esp + 4]
lea ecx, [0x661e60]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
lea eax, [0x69de41]
mov dword [esp], eax
mov dword [esp + 4], 0x27
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c0e90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x68
ret
mov dword [esp + 0x38], eax
mov dword [esp + 0x50], ecx
lea eax, [0x674ea0]
mov dword [esp], eax
call fcn.0040c260
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x78]
mov dword [esp + 8], ebx
lea ebp, [0x657000]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.00599140
mov eax, dword [esp + 0x28]
test eax, eax
je 0x5d10c0
lea eax, [0x682d20]
mov dword [esp], eax
call fcn.0040c260
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 8], ecx
lea ecx, [0x656fc0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.00599140
mov eax, dword [esp + 0x28]
test eax, eax
je 0x5d107f
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x69d75d]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x26
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.00451270
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x48], ecx
lea edx, [0x66a620]
mov dword [esp], edx
call fcn.0040c260
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov ecx, dword [0x85d680]
test ecx, ecx
jne 0x5d1052
mov ecx, dword [esp + 0x48]
jmp 0x5d105d
call fcn.00468030
mov ecx, dword [esp + 0x48]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [esp + 0x7c], 0
lea ecx, [0x6f1b20]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x68
ret
lea eax, [0x66a620]
mov dword [esp], eax
call fcn.0040c260
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x58
lea ecx, [0x6a573f]
mov dword [eax], ecx
mov dword [esp + 0x7c], 0
lea ecx, [0x6f1b20]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x68
ret
lea eax, [0x66a620]
mov dword [esp], eax
call fcn.0040c260
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x58
lea ecx, [0x6a56e7]
mov dword [eax], ecx
mov dword [esp + 0x7c], 0
lea ecx, [0x6f1b20]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x68
ret
mov dword [ecx + 4], ebp
mov ebx, dword [ecx + 8]
mov ebp, dword [ecx + 4]
cmp ebx, edx
jle 0x5d118d
movzx esi, byte [ebp]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5d114c
mov esi, dword [ecx + 0xc]
dec esi
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 1
dec ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], edi
mov ebx, dword [0x85d680]
add ebp, esi
test ebx, ebx
je 0x5d1101
call fcn.00468040
mov dword [edi], ebp
mov ebx, dword [ecx + 4]
mov dword [edi + 4], ebx
jmp 0x5d1101
lea eax, [0x66a620]
mov dword [esp], eax
call fcn.0040c260
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x20
lea ecx, [0x69aaab]
mov dword [eax], ecx
mov dword [esp + 0x7c], 0
lea ecx, [0x6f1b20]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x68
ret
mov ecx, edx
sub edx, ebx
cmp ecx, edx
jb 0x5d1240
mov esi, ecx
sub ecx, edx
mov edi, ecx
neg ecx
sar ecx, 0x1f
and ecx, edx
add ecx, eax
cmp ebx, edi
jl 0x5d11ae
mov ebx, edi
cmp ebp, ecx
je 0x5d11ce
mov dword [esp + 0x58], eax
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.00468970
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + 0x20]
mov edx, dword [esp + 0x54]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
mov dword [esp + 0xc], esi
call ecx
mov eax, dword [0x85d680]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x5d1202
mov eax, dword [esp + 0x4c]
jmp 0x5d121c
call fcn.00468060
mov dword [edi], ecx
mov eax, dword [esp + 0x4c]
mov ebx, dword [eax + 8]
mov dword [edi + 4], ebx
mov dword [edi + 8], edx
mov ebx, dword [eax + 0xc]
mov dword [edi + 0xc], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x68
ret
mov eax, edx
call fcn.004680f0
nop
call fcn.00466c30
jmp fcn.005d0bf0