Function at 0x5b6190
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 0x5b68a0
sub esp, 0x90
mov eax, dword [esp + 0xa0]
test eax, eax
jne 0x5b688e
mov eax, 3
lea ecx, [0x679acf]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x34], ecx
test eax, eax
jg 0x5b685e
xor edx, edx
test dl, dl
je 0x5b67da
mov edx, dword [esp + 0x94]
test edx, edx
je 0x5b6793
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
call fcn.0052ef70
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test ecx, ecx
jne 0x5b6773
mov dword [esp + 0x30], eax
lea eax, [0x64e4a0]
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.0040a2a0
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test al, al
je 0x5b6722
mov dword [esp + 0x3c], edx
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x30]
mov ebx, dword [eax + 0x14]
mov ebp, dword [eax + 0x18]
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.005b4920
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
mov dword [edx + 0x18], ecx
mov ecx, dword [0x7e34e0]
test ecx, ecx
jne 0x5b6715
mov dword [edx + 0x14], eax
call fcn.0040d2e0
mov eax, dword [esp]
mov dword [esp + 0x50], eax
lea ecx, [0x670320]
mov dword [esp], ecx
call fcn.0040c800
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x94]
mov dword [edi + 0x78], eax
mov eax, dword [0x7e34e0]
test eax, eax
jne 0x5b66f9
mov edx, dword [esp + 0x98]
mov dword [edi + 0x7c], edx
mov edx, dword [esp + 0x1c]
mov dword [edi + 4], edx
mov edx, dword [0x7e34e0]
test edx, edx
jne 0x5b66d5
mov edx, dword [esp + 0x34]
mov dword [edi], edx
mov edx, dword [esp + 0x30]
mov dword [edi + 8], edx
mov dword [edi + 0x10], 8
lea ebx, [0x67a781]
mov dword [edi + 0xc], ebx
mov dword [edi + 0x14], 1
mov dword [edi + 0x18], 1
mov ebx, dword [0x7e34e0]
test ebx, ebx
jne 0x5b66bc
mov ebx, dword [esp + 0x50]
mov dword [edi + 0x1c], ebx
mov ebx, dword [esp + 0x20]
mov dword [edi + 0x20], ebx
mov ebx, dword [0x7e34e0]
lea ebp, [edi + 0x24]
test ebx, ebx
jne 0x5b66a6
mov ebx, dword [esp + 0x3c]
mov dword [edi + 0x24], ebx
mov eax, dword [edx + 0x14]
mov edx, dword [edx + 0x18]
mov dword [edi + 0x48], edx
mov edx, dword [0x7e34e0]
test edx, edx
jne 0x5b6693
mov dword [edi + 0x44], eax
mov edx, dword [esp + 0xac]
test edx, edx
je 0x5b668c
mov dword [esp + 0x4c], ebp
je 0x5b64e6
mov dword [esp + 0x38], edi
mov ebx, dword [edx + 8]
cmp ebx, 0x4128187d
jne 0x5b64ed
lea ecx, [0x6cb170]
cmp ecx, edx
jne 0x5b64e6
mov esi, dword [esp + 0xb0]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov edx, ecx
sar ecx, 0x1f
cmp ecx, eax
sete al
setl cl
mov ebx, dword [esi + 8]
cmp ebx, edx
xchg ebp, ebx
setae bl
xchg ebp, ebx
and ebp, eax
or ecx, ebp
test cl, cl
je 0x5b64dd
xor eax, eax
mov dword [edi + 0x2c], eax
sar eax, 0x1f
mov dword [edi + 0x30], eax
lea edi, [esp + 0x64]
call fcn.0045d09e
lea ecx, [0x64c340]
mov dword [esp], ecx
call fcn.0040c800
mov eax, dword [esp + 4]
lea ecx, [0x5cbcf0]
mov dword [eax], ecx
mov ecx, dword [0x7e34e0]
lea edi, [eax + 4]
test ecx, ecx
jne 0x5b64aa
lea esi, [esp + 0x64]
call fcn.0045d09e
mov ecx, dword [esp + 0x38]
mov dword [ecx + 0x28], eax
mov edx, dword [ecx + 0x28]
test edx, edx
je 0x5b6467
mov edx, dword [ecx + 0x30]
test edx, edx
sete dl
mov ebx, dword [ecx + 0x2c]
test ebx, ebx
sete bl
and edx, ebx
test dl, dl
je 0x5b6467
lea edx, [0x6ccdd0]
mov dword [ecx + 0x20], edx
mov edx, dword [0x7e34e0]
test edx, edx
jne 0x5b648b
lea eax, [0x7e32f0]
mov dword [ecx + 0x24], eax
lea eax, [0x6927c4]
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, [0x7e32f0]
call fcn.0045c920
lea edi, [ecx + 0x28]
lea eax, [0x6927c4]
call fcn.0045c920
jmp 0x5b6467
mov dword [esp + 0x48], eax
lea eax, [0x65b2c0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x64]
mov dword [esp + 8], eax
call fcn.00411d70
mov ecx, dword [esp + 0x38]
lea edi, [ecx + 0x28]
mov eax, dword [esp + 0x48]
call fcn.0045c920
jmp 0x5b6425
sub edx, ebx
mov eax, edx
jmp 0x5b63d8
mov ecx, edi
jmp 0x5b6425
cmp ebx, 0xa5164854
jne 0x5b65c3
lea ecx, [0x6cacd0]
cmp ecx, edx
jne 0x5b64e6
mov esi, dword [esp + 0xb0]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov dword [esp + 0x28], ecx
cmp eax, ecx
setae dl
mov ebx, dword [esi + 0x10]
sar ecx, 0x1f
cmp ecx, ebx
sete cl
setl bl
and ecx, edx
or ebx, ecx
test bl, bl
je 0x5b65b6
xor eax, eax
mov dword [edi + 0x2c], eax
sar eax, 0x1f
mov dword [edi + 0x30], eax
lea edi, [esp + 0x78]
call fcn.0045d094
lea ecx, [0x64c2e0]
mov dword [esp], ecx
call fcn.0040c800
mov eax, dword [esp + 4]
lea ecx, [0x5cbc20]
mov dword [eax], ecx
mov ecx, dword [0x7e34e0]
lea edi, [eax + 4]
test ecx, ecx
jne 0x5b6583
lea esi, [esp + 0x78]
call fcn.0045d094
mov ecx, dword [esp + 0x38]
mov dword [ecx + 0x28], eax
jmp 0x5b6425
mov dword [esp + 0x44], eax
lea eax, [0x659440]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
call fcn.00411d70
mov ecx, dword [esp + 0x38]
lea edi, [ecx + 0x28]
mov eax, dword [esp + 0x44]
call fcn.0045c920
jmp 0x5b6425
mov ecx, dword [esp + 0x28]
sub ecx, eax
mov eax, ecx
jmp 0x5b6535
cmp ebx, 0xe763bb76
jne 0x5b64e6
lea ebx, [0x6cac90]
cmp ebx, edx
jne 0x5b64e6
mov edx, dword [esp + 0xb0]
mov ebx, dword [edx + 4]
sub ebx, dword [edx + 0xc]
mov dword [edi + 0x2c], ebx
sar ebx, 0x1f
mov dword [edi + 0x30], ebx
nop
mov ecx, dword [edx + 4]
mov ebx, dword [edx]
mov esi, dword [edx + 8]
mov eax, dword [edx + 0xc]
cmp ecx, eax
jb 0x5b689a
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x2c], eax
lea eax, [0x64bf80]
mov dword [esp], eax
call fcn.0040c800
mov eax, dword [esp + 4]
lea ecx, [0x5cbb40]
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
sub ecx, edx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x28]
sub ecx, edx
mov dword [eax + 0xc], ecx
mov ebx, dword [0x7e34e0]
neg ecx
sar ecx, 0x1f
and edx, ecx
mov ecx, dword [esp + 0x40]
add ecx, edx
test ebx, ebx
jne 0x5b666d
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [ecx + 0x28], eax
jmp 0x5b6425
lea edi, [eax + 4]
mov edx, eax
mov eax, ecx
call fcn.0045c920
mov ecx, dword [esp + 0x38]
lea edi, [ecx + 0x28]
mov eax, edx
call fcn.0045c920
jmp 0x5b6425
mov ecx, edi
jmp 0x5b6467
lea edx, [edi + 0x44]
mov ecx, edi
mov edi, edx
call fcn.0045c920
mov edi, ecx
jmp 0x5b636a
mov eax, edi
mov edi, ebp
mov ecx, eax
mov eax, dword [esp + 0x3c]
call fcn.0045c920
mov edi, ecx
jmp 0x5b6350
lea ebx, [edi + 0x1c]
mov eax, edi
mov edi, ebx
mov ecx, eax
mov eax, dword [esp + 0x50]
call fcn.0045c920
mov edi, ecx
jmp 0x5b6331
mov eax, dword [esp + 0x34]
call fcn.0045c920
lea ebx, [edi + 8]
mov eax, edi
mov edi, ebx
mov ecx, eax
mov eax, dword [esp + 0x30]
call fcn.0045c920
mov edx, eax
mov edi, ecx
jmp 0x5b62fe
lea edx, [edi + 0x7c]
mov eax, edi
mov edi, edx
mov ecx, eax
mov eax, dword [esp + 0x98]
call fcn.0045c920
mov edi, ecx
jmp 0x5b62dc
lea edi, [edx + 0x14]
call fcn.0045c920
jmp 0x5b629c
mov eax, dword [esp + 0xac]
test eax, eax
je 0x5b625e
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x58], ecx
lea edx, [0x6ccd50]
mov dword [esp], edx
lea edx, [esp + 0x54]
mov dword [esp + 4], edx
call fcn.0040a0f0
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
jmp 0x5b625e
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
add esp, 0x90
ret
lea eax, [0x64d2c0]
mov dword [esp], eax
call fcn.0040c800
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x15
lea ecx, [0x67f78b]
mov dword [eax], ecx
mov dword [esp + 0xb4], 0
lea ecx, [0x6cadb0]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
add esp, 0x90
ret
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409f80
mov eax, dword [esp + 8]
lea ecx, [0x643700]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
lea eax, [0x6823b9]
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.004abbc0
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, [0x692824]
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
call fcn.004bb210
cmp dword [esp + 0x10], 0xffffffff
sete dl
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
jmp 0x5b61dc
mov ecx, dword [esp + 0x9c]
jmp 0x5b61ca
call fcn.0045ca00
nop
call fcn.0045b380
jmp fcn.005b6190