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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x5b8763
sub esp, 0x90
mov eax, dword [esp + 0xa0]
test eax, eax
jne 0x5b874d
mov eax, 3
lea ecx, [0x646cab]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x34], ecx
test eax, eax
jg 0x5b871d
xor edx, edx
test dl, dl
je 0x5b8699
mov ebx, dword [esp + 0x94]
test ebx, ebx
je 0x5b8652
mov edx, dword [0x80b4d4]
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
test ecx, ecx
jne 0x5b8632
mov dword [esp + 0x30], eax
lea eax, [0x6139c0]
mov dword [esp], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0xb0]
mov dword [esp + 8], ecx
call fcn.00408100
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x14]
mov edx, dword [esp + 0x10]
test cl, cl
je 0x5b85e1
mov dword [esp + 0x3c], edx
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x30]
mov ebx, dword [ecx + 0x18]
mov ebp, dword [ecx + 0x14]
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.005b6670
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x30]
mov dword [edx + 0x18], eax
mov eax, dword [0x823e50]
test eax, eax
jne 0x5b85d2
mov dword [edx + 0x14], ecx
call fcn.0040afa0
mov eax, dword [esp]
mov dword [esp + 0x50], eax
lea ecx, [0x63b9c0]
mov dword [esp], ecx
call fcn.0040a450
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x94]
mov dword [edi + 0x78], eax
mov eax, dword [0x823e50]
test eax, eax
jne 0x5b85b6
mov edx, dword [esp + 0x98]
mov dword [edi + 0x7c], edx
mov edx, dword [esp + 0x1c]
mov dword [edi + 4], edx
mov edx, dword [0x823e50]
test edx, edx
jne 0x5b8592
mov edx, dword [esp + 0x34]
mov dword [edi], edx
mov edx, dword [esp + 0x30]
mov dword [edi + 8], edx
mov dword [edi + 0x10], 8
mov ebx, dword [0x823e50]
test ebx, ebx
jne 0x5b8577
lea ebx, [0x64789e]
mov dword [edi + 0xc], ebx
mov dword [edi + 0x14], 1
mov dword [edi + 0x18], 1
mov ebx, dword [0x823e50]
test ebx, ebx
jne 0x5b855e
mov ebx, dword [esp + 0x50]
mov dword [edi + 0x1c], ebx
mov ebx, dword [esp + 0x20]
mov dword [edi + 0x20], ebx
mov ebx, dword [0x823e50]
lea ebp, [edi + 0x24]
test ebx, ebx
jne 0x5b8548
mov ebx, dword [esp + 0x3c]
mov dword [edi + 0x24], ebx
mov ebx, dword [edx + 0x18]
mov eax, dword [edx + 0x14]
mov dword [edi + 0x48], ebx
mov edx, dword [0x823e50]
test edx, edx
jne 0x5b8535
mov dword [edi + 0x44], eax
mov edx, dword [esp + 0xac]
test edx, edx
je 0x5b852e
mov dword [esp + 0x4c], ebp
je 0x5b852a
mov dword [esp + 0x38], edi
mov ebx, dword [edx + 8]
cmp ebx, 0x4128187d
jne 0x5b8523
mov eax, ebp
lea ebp, [0x69d2e0]
cmp ebp, edx
jne 0x5b8519
mov ecx, dword [esp + 0xb0]
jne 0x5b8349
mov edx, dword [ecx + 4]
mov dword [esp + 0x28], edx
mov ebx, dword [ecx + 8]
cmp ebx, edx
xchg ebp, ebx
setae bl
xchg ebp, ebx
mov eax, dword [ecx + 0xc]
sar edx, 0x1f
cmp eax, edx
sete al
setg dl
and eax, ebp
or edx, eax
test dl, dl
je 0x5b833c
xor eax, eax
mov dword [edi + 0x2c], eax
sar eax, 0x1f
mov dword [edi + 0x30], eax
lea edi, [esp + 0x64]
mov esi, ecx
call fcn.00450a4e
lea ecx, [0x6110c0]
mov dword [esp], ecx
call fcn.0040a450
mov eax, dword [esp + 4]
lea ecx, [0x5cd5b0]
mov dword [eax], ecx
mov ecx, dword [0x823e50]
lea edi, [eax + 4]
test ecx, ecx
jne 0x5b8309
lea esi, [esp + 0x64]
call fcn.00450a4e
mov ecx, dword [esp + 0x38]
mov dword [ecx + 0x28], eax
mov edx, dword [ecx + 0x28]
test edx, edx
je 0x5b82c6
mov edx, dword [ecx + 0x2c]
test edx, edx
sete dl
mov ebx, dword [ecx + 0x30]
test ebx, ebx
sete bl
and ebx, edx
test bl, bl
je 0x5b82c6
lea edx, [0x69f120]
mov dword [ecx + 0x20], edx
mov edx, dword [0x823e50]
test edx, edx
jne 0x5b82ea
lea eax, [0x823c68]
mov dword [ecx + 0x24], eax
lea eax, [0x65df70]
mov dword [ecx + 0x28], eax
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
add esp, 0x90
ret
mov edi, dword [esp + 0x4c]
lea eax, [0x823c68]
call fcn.004502e0
lea edi, [ecx + 0x28]
lea eax, [0x65df70]
call fcn.004502e0
jmp 0x5b82c6
mov dword [esp + 0x48], eax
lea eax, [0x622480]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x64]
mov dword [esp + 8], eax
call fcn.0040fe50
mov ecx, dword [esp + 0x38]
lea edi, [ecx + 0x28]
mov eax, dword [esp + 0x48]
call fcn.004502e0
jmp 0x5b8284
mov edx, dword [esp + 0x28]
sub edx, ebx
mov eax, edx
jmp 0x5b8235
cmp ebx, 0xa5164854
jne 0x5b842f
lea ebp, [0x69ce60]
cmp ebp, edx
jne 0x5b850f
mov ecx, dword [esp + 0xb0]
jne 0x5b842f
mov edx, dword [ecx + 4]
mov dword [esp + 0x28], edx
mov ebx, dword [ecx + 0xc]
cmp ebx, edx
xchg ebp, ebx
setae bl
xchg ebp, ebx
mov eax, dword [ecx + 0x10]
sar edx, 0x1f
cmp eax, edx
setg al
sete dl
and edx, ebp
or eax, edx
test al, al
je 0x5b8422
xor eax, eax
mov dword [edi + 0x2c], eax
sar eax, 0x1f
mov dword [edi + 0x30], eax
lea edi, [esp + 0x78]
mov esi, ecx
call fcn.00450a44
lea ecx, [0x611060]
mov dword [esp], ecx
call fcn.0040a450
mov eax, dword [esp + 4]
lea ecx, [0x5cd4e0]
mov dword [eax], ecx
mov ecx, dword [0x823e50]
lea edi, [eax + 4]
test ecx, ecx
jne 0x5b83ef
lea esi, [esp + 0x78]
call fcn.00450a44
mov ecx, dword [esp + 0x38]
mov dword [ecx + 0x28], eax
jmp 0x5b8284
mov dword [esp + 0x44], eax
lea eax, [0x620000]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
call fcn.0040fe50
mov ecx, dword [esp + 0x38]
lea edi, [ecx + 0x28]
mov eax, dword [esp + 0x44]
call fcn.004502e0
jmp 0x5b8284
mov edx, dword [esp + 0x28]
sub edx, ebx
mov eax, edx
jmp 0x5b839f
cmp ebx, 0xe763bb76
jne 0x5b84fe
lea ebx, [0x69ce20]
cmp ebx, edx
jne 0x5b8505
mov ecx, dword [esp + 0xb0]
jne 0x5b84fe
mov edx, dword [ecx + 4]
sub edx, dword [ecx + 0xc]
mov dword [edi + 0x2c], edx
sar edx, 0x1f
mov dword [edi + 0x30], edx
nop
mov edx, dword [ecx + 4]
mov ebx, dword [ecx]
mov ebp, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
cmp esi, edx
ja 0x5b8759
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x2c], ebp
lea eax, [0x610d60]
mov dword [esp], eax
call fcn.0040a450
mov eax, dword [esp + 4]
lea ecx, [0x5cd400]
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
sub ecx, edx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x2c]
sub ecx, edx
mov dword [eax + 0xc], ecx
mov ebx, dword [0x823e50]
neg ecx
sar ecx, 0x1f
and edx, ecx
mov ecx, dword [esp + 0x40]
add ecx, edx
test ebx, ebx
jne 0x5b84df
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [ecx + 0x28], eax
jmp 0x5b8284
lea edi, [eax + 4]
mov edx, eax
mov eax, ecx
call fcn.004502e0
mov ecx, dword [esp + 0x38]
lea edi, [ecx + 0x28]
mov eax, edx
call fcn.004502e0
jmp 0x5b8284
mov ecx, edi
jmp 0x5b8284
mov ecx, 0
jmp 0x5b8450
mov ecx, 0
jmp 0x5b836a
mov ecx, 0
jmp 0x5b8200
mov eax, ebp
jmp 0x5b8349
mov eax, ebp
jmp 0x5b84fe
mov ecx, edi
jmp 0x5b82c6
lea edx, [edi + 0x44]
mov ecx, edi
mov edi, edx
call fcn.004502e0
mov edi, ecx
jmp 0x5b81bd
mov eax, edi
mov edi, ebp
mov ecx, eax
mov eax, dword [esp + 0x3c]
call fcn.004502e0
mov edi, ecx
jmp 0x5b81a3
lea ebx, [edi + 0x1c]
mov eax, edi
mov edi, ebx
mov ecx, eax
mov eax, dword [esp + 0x50]
call fcn.004502e0
mov edi, ecx
jmp 0x5b8184
lea ebx, [edi + 0xc]
mov eax, edi
mov edi, ebx
mov ecx, eax
lea eax, [0x64789e]
call fcn.004502e0
mov edi, ecx
jmp 0x5b8161
mov eax, dword [esp + 0x34]
call fcn.004502e0
lea ebx, [edi + 8]
mov eax, edi
mov edi, ebx
mov ecx, eax
mov eax, dword [esp + 0x30]
call fcn.004502e0
mov edx, eax
mov edi, ecx
jmp 0x5b8143
lea edx, [edi + 0x7c]
mov eax, edi
mov edi, edx
mov ecx, eax
mov eax, dword [esp + 0x98]
call fcn.004502e0
mov edi, ecx
jmp 0x5b8121
lea edi, [edx + 0x14]
mov eax, ecx
call fcn.004502e0
jmp 0x5b80e1
mov ecx, dword [esp + 0xac]
test ecx, ecx
je 0x5b80a3
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], ecx
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x58], eax
lea edx, [0x69f0a0]
mov dword [esp], edx
lea edx, [esp + 0x54]
mov dword [esp + 4], edx
call fcn.00407f30
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
jmp 0x5b80a3
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], ebx
add esp, 0x90
ret
lea eax, [0x612660]
mov dword [esp], eax
call fcn.0040a450
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x15
lea ecx, [0x64bd44]
mov dword [eax], ecx
mov dword [esp + 0xb4], 0
lea ecx, [0x69cf20]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
add esp, 0x90
ret
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00407dc0
mov eax, dword [esp + 8]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea ecx, [0x607720]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
lea eax, [0x64e28e]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
lea eax, [esp + 0x5c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004aab30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
add esp, 0x90
ret
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x65dfd0]
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
call fcn.00488fa0
cmp dword [esp + 0x10], 0xffffffff
sete dl
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
jmp 0x5b801c
mov ecx, dword [esp + 0x9c]
jmp 0x5b800a
mov eax, esi
mov ecx, edx
call fcn.004503c0
nop
call fcn.0044eaa0
jmp fcn.005b7fd0