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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5d9d8e
add esp, 0xffffff80
mov eax, dword [esp + 0x84]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.005d92d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x5d97a6
mov ecx, dword [esp + 0x84]
jmp 0x5d97cb
mov ecx, dword [0x84c5a0]
test ecx, ecx
jne 0x5d97bc
mov ecx, dword [esp + 0x84]
mov dword [ecx + 0x20], eax
jmp 0x5d97cb
mov ecx, dword [esp + 0x84]
lea edi, [ecx + 0x20]
call fcn.0045e940
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.005d92d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x5d97f2
mov ecx, dword [esp + 0x84]
jmp 0x5d9817
mov ecx, dword [0x84c5a0]
test ecx, ecx
jne 0x5d9808
mov ecx, dword [esp + 0x84]
mov dword [ecx + 0x1c], eax
jmp 0x5d9817
mov ecx, dword [esp + 0x84]
lea edi, [ecx + 0x1c]
call fcn.0045e940
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x14]
mov dword [esp], eax
mov dword [esp + 4], edx
lea eax, [0x63bf1b]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.004c56e0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x5d986e
mov ebx, dword [esp + 0x3c]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
cmp edx, ecx
jge 0x5d9d74
mov dword [esp + 0x3c], edx
lea ecx, [eax + edx*8]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.004c6790
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004c6210
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x5d98bd
mov ecx, dword [esp + 0x84]
lea esi, [0x6a5158]
jmp 0x5d985f
cmp eax, 1
jne 0x5d98cb
cmp byte [ecx], 0x2a
je 0x5d9cd2
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], eax
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004e0900
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x5d9990
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 0x28]
lea ebx, [edx + 1]
mov ebp, dword [ecx + 0x24]
mov esi, dword [ecx + 0x2c]
cmp esi, ebx
jae 0x5d995f
mov dword [esp + 0x4c], eax
lea eax, [0x614e20]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.00447e40
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x84]
mov dword [ebx + 0x2c], edx
mov edx, dword [0x84c5a0]
test edx, edx
jne 0x5d994d
mov dword [ebx + 0x24], eax
jmp 0x5d9955
lea edi, [ebx + 0x24]
call fcn.0045e940
mov edx, ecx
mov ebp, eax
mov eax, dword [esp + 0x4c]
mov ecx, ebx
lea ebx, [edx + 1]
mov dword [ecx + 0x28], ebx
lea ebx, [ebp + edx*8]
lea esi, [0x6a5158]
mov dword [ebx], esi
mov ebx, dword [0x84c5a0]
lea edi, [ebp + edx*8 + 4]
test ebx, ebx
jne 0x5d9986
mov dword [edi], eax
jmp 0x5d985f
call fcn.0045e940
jmp 0x5d985f
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
call fcn.004e1ba0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x30], ebx
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x48], ebp
test eax, eax
jne 0x5d9a09
test ecx, ecx
jne 0x5d99da
mov ecx, dword [esp + 0x84]
lea esi, [0x6a5158]
jmp 0x5d985f
cmp byte [edx], 0x5b
jne 0x5d9a05
lea esi, [ecx + edx - 1]
cmp byte [esi], 0x5d
jne 0x5d9a05
lea esi, [ecx - 1]
cmp esi, 1
jb 0x5d9d81
add ecx, 0xfffffffe
mov eax, ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
add edx, ecx
jmp 0x5d9a11
mov eax, ecx
jmp 0x5d9a11
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x44], edx
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.004e0740
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test eax, eax
jne 0x5d9bde
mov edx, dword [esp + 0x2c]
test edx, edx
jne 0x5d9a53
mov ecx, dword [esp + 0x84]
lea esi, [0x6a5158]
jmp 0x5d985f
cmp edx, 2
jge 0x5d9a5c
xor eax, eax
jmp 0x5d9a83
mov eax, dword [esp + 0x44]
mov dword [esp], eax
lea ecx, [0x63bf47]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call fcn.004025e0
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0x2c]
test al, al
je 0x5d9a9e
lea eax, [edx - 1]
mov ebx, eax
neg eax
sar eax, 0x1f
and eax, 1
mov ebp, dword [esp + 0x44]
lea edx, [ebp + eax]
jmp 0x5d9aa4
mov ebx, edx
mov edx, dword [esp + 0x44]
test ebx, ebx
jbe 0x5d9d78
movzx ecx, byte [edx]
cmp cl, 0x2e
je 0x5d9aee
mov byte [esp + 0x27], cl
mov dword [esp], 0
lea eax, [0x63bf1d]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.0044b330
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
movzx eax, byte [esp + 0x27]
cmp al, 0x2e
lea edi, [esp + 0x58]
mov eax, 0
call fcn.0045ebbb
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ebx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x64], ecx
setne cl
mov byte [esp + 0x68], cl
lea ecx, [0x6268c0]
mov dword [esp], ecx
lea edx, [esp + 0x58]
mov dword [esp + 4], edx
call fcn.00408ba0
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 0x34]
mov ebx, dword [ecx + 0x30]
mov ebp, dword [ecx + 0x38]
lea esi, [edx + 1]
mov eax, dword [esp + 8]
cmp ebp, esi
jae 0x5d9baa
mov dword [esp + 0x54], eax
lea eax, [0x614e20]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
call fcn.00447e40
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x84]
mov dword [ebx + 0x38], edx
mov edx, dword [0x84c5a0]
test edx, edx
jne 0x5d9b93
mov dword [ebx + 0x30], eax
jmp 0x5d9b9b
lea edi, [ebx + 0x30]
call fcn.0045e940
mov edx, ecx
mov ebx, eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x84]
lea ebp, [edx + 1]
mov dword [ecx + 0x34], ebp
lea ebp, [ebx + edx*8]
lea esi, [0x6a516c]
mov dword [ebp], esi
mov ebp, dword [0x84c5a0]
lea edi, [ebx + edx*8 + 4]
test ebp, ebp
jne 0x5d9bce
mov dword [edi], eax
jmp 0x5d9bd3
call fcn.0045e940
lea esi, [0x6a5158]
jmp 0x5d985f
mov dword [esp + 0x34], ecx
lea edi, [esp + 0x6c]
mov ebx, eax
xor eax, eax
call fcn.0045ebbb
mov dword [esp + 0x6c], ebx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x7c], ecx
lea ecx, [0x6233c0]
mov dword [esp], ecx
lea edx, [esp + 0x6c]
mov dword [esp + 4], edx
call fcn.00408ba0
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 0x28]
mov ebx, dword [ecx + 0x24]
mov ebp, dword [ecx + 0x2c]
lea esi, [edx + 1]
mov eax, dword [esp + 8]
cmp ebp, esi
jae 0x5d9c9e
mov dword [esp + 0x54], eax
lea eax, [0x614e20]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
call fcn.00447e40
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x84]
mov dword [ebx + 0x2c], edx
mov edx, dword [0x84c5a0]
test edx, edx
jne 0x5d9c87
mov dword [ebx + 0x24], eax
jmp 0x5d9c8f
lea edi, [ebx + 0x24]
call fcn.0045e940
mov edx, ecx
mov ebx, eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x84]
lea ebp, [edx + 1]
mov dword [ecx + 0x28], ebp
lea ebp, [ebx + edx*8]
lea esi, [0x6a5180]
mov dword [ebp], esi
mov ebp, dword [0x84c5a0]
lea edi, [ebx + edx*8 + 4]
test ebp, ebp
jne 0x5d9cc2
mov dword [edi], eax
jmp 0x5d9cc7
call fcn.0045e940
lea esi, [0x6a5158]
jmp 0x5d985f
lea eax, [0x608000]
mov dword [esp], eax
call fcn.0040b380
mov eax, dword [esp + 4]
lea ecx, [0x6a5144]
mov dword [eax], ecx
lea edx, [0x84c3cc]
mov dword [eax + 4], edx
mov ebx, dword [esp + 0x84]
mov dword [ebx + 0x28], 1
mov dword [ebx + 0x2c], 1
mov ebp, dword [0x84c5a0]
test ebp, ebp
jne 0x5d9d19
mov dword [ebx + 0x24], eax
jmp 0x5d9d21
lea edi, [ebx + 0x24]
call fcn.0045e940
lea eax, [0x608000]
mov dword [esp], eax
call fcn.0040b380
mov eax, dword [esp + 4]
lea ecx, [0x6a5144]
mov dword [eax], ecx
lea ecx, [0x84c3cc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x84]
mov dword [ecx + 0x34], 1
mov dword [ecx + 0x38], 1
mov edx, dword [0x84c5a0]
test edx, edx
jne 0x5d9d68
mov dword [ecx + 0x30], eax
jmp 0x5d9d70
lea edi, [ecx + 0x30]
call fcn.0045e940
sub esp, 0xffffff80
ret
sub esp, 0xffffff80
ret
xor eax, eax
mov ecx, ebx
call fcn.0045e9c0
mov eax, 1
mov ecx, esi
call fcn.0045ea20
nop
call fcn.0045d530
jmp fcn.005d9760