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

Disassembly:
mov ecx, dword [0x7da588]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x5b5f9b
sub esp, 0xa0
mov eax, dword [esp + 0xc0]
test eax, eax
jne 0x5b595d
xor ecx, ecx
jmp 0x5b598d
mov ecx, dword [esp + 0xb8]
mov dword [esp], ecx
mov edx, dword [esp + 0xbc]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004c2840
mov eax, dword [esp + 0x14]
test eax, eax
setne al
mov ecx, eax
mov eax, dword [esp + 0xc0]
test cl, cl
jne 0x5b5dbe
mov ecx, dword [esp + 0xb0]
test ecx, ecx
je 0x5b59da
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x5b59d2
movzx edx, byte [ecx + 0xf]
nop
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x5b59cc
or edx, 0x80
mov ebx, dword [esp + 0x68]
jmp 0x5b59e0
xor edx, edx
xor ecx, ecx
xor ebx, ebx
jmp 0x5b59e0
xor edx, edx
xor ecx, ecx
xor ebx, ebx
mov ebp, edx
and edx, 0x1f
nop
cmp edx, 0x16
jne 0x5b5ae1
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ecx
test ebp, 0x200
jne 0x5b5a0f
lea esi, [0x65a1a0]
jmp 0x5b5a29
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.004c5b70
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov esi, eax
mov eax, dword [esi + 0x28]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x9c], ecx
mov edx, dword [esp + 0xc0]
test edx, edx
je 0x5b5a66
test edx, 0x200
jne 0x5b5a66
lea ebx, [0x65a1a0]
mov ebp, dword [esp + 0xb8]
jmp 0x5b5aa2
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
mov ecx, dword [esp + 0xbc]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004c5b70
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc0]
mov ebx, eax
mov ebp, ecx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x9c]
cmp ebx, eax
je 0x5b5aaa
xor eax, eax
jmp 0x5b5ac6
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.00404b80
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0xc0]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x40]
mov esi, eax
mov eax, dword [esp + 0xc0]
jmp 0x5b5ae3
xor esi, esi
xchg esi, eax
test al, al
xchg esi, eax
je 0x5b5b13
cmp edx, 0x16
jne 0x5b5b13
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.004c2840
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc0]
mov ebp, edx
test ebp, ebp
jne 0x5b5b7a
test eax, eax
je 0x5b5b31
test eax, 0x200
jne 0x5b5b31
lea ecx, [0x65a1a0]
mov edx, dword [esp + 0xb8]
jmp 0x5b5b5b
mov ecx, dword [esp + 0xb8]
mov dword [esp], ecx
mov edx, dword [esp + 0xbc]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004c5b70
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, ecx
mov ecx, eax
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004c6560
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x60], ebx
test ebp, ebp
je 0x5b5b9e
test ebp, 0x200
jne 0x5b5b9e
test eax, eax
mov edx, ecx
lea esi, [0x65a1a0]
jmp 0x5b5bd4
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.004c5b70
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc0]
test edx, edx
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x30]
mov esi, eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x2c], esi
je 0x5b5bfe
test eax, 0x200
jne 0x5b5bfe
lea edi, [0x65a1a0]
mov edi, dword [esp + 0xb8]
mov dword [esp + 0x54], edi
lea edi, [0x65a1a0]
jmp 0x5b5c32
mov ecx, dword [esp + 0xb8]
mov dword [esp], ecx
mov edx, dword [esp + 0xbc]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004c5b70
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x2c]
mov edi, eax
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x58]
mov eax, dword [esi + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], edi
mov edx, dword [esp + 0x54]
mov dword [esp + 8], edx
call eax
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5b5d64
mov ecx, dword [esp + 0xc0]
test ecx, ecx
je 0x5b5c75
test ecx, 0x200
jne 0x5b5c75
lea eax, [0x65a1a0]
mov ecx, dword [esp + 0xb8]
jmp 0x5b5c9b
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004c5b70
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], eax
mov dword [esp + 0x50], ecx
lea edi, [esp + 0x74]
xor eax, eax
call fcn.0046c08a
mov ecx, dword [esp + 0xa8]
mov dword [esp], ecx
mov ecx, dword [esp + 0xac]
mov dword [esp + 4], ecx
call fcn.0040aa80
mov ecx, dword [esp + 8]
lea edx, [0x5dd3e0]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x5b5ce7
mov eax, dword [ecx + 4]
jmp 0x5b5ce9
mov eax, ecx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x5b5d05
mov esi, dword [eax + 4]
jmp 0x5b5d07
mov esi, eax
mov dword [esp + 0x84], esi
mov eax, dword [esp + 0x58]
mov dword [esp + 0x88], eax
lea eax, [0x615852]
mov dword [esp], eax
mov dword [esp + 4], 0x21
lea eax, [esp + 0x74]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 3
call fcn.004cadf0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
add esp, 0xa0
ret
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], eax
call fcn.004c4ac0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
add esp, 0xa0
ret
mov ecx, dword [esp + 0xb8]
mov dword [esp], ecx
mov edx, dword [esp + 0xbc]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004c2840
mov eax, dword [esp + 0x14]
mov ecx, eax
and eax, 0x100
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
test eax, eax
jne 0x5b5ec1
mov dword [esp + 0x98], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x94], ebx
test ecx, ecx
je 0x5b5e21
test ecx, 0x200
jne 0x5b5e21
lea ebp, [0x65a1a0]
jmp 0x5b5e3b
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.004c5b70
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebp, eax
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.004c6640
mov eax, dword [esp + 8]
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x8c], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x38], edx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004c2840
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x98]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x14], eax
call fcn.004c4ac0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x90]
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], ebx
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ecx
call fcn.005b4f00
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x5b5f24
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x5b5f3d
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
add esp, 0xa0
ret
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 8], eax
call fcn.004c2840
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 8], eax
call fcn.004c4ac0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
add esp, 0xa0
ret
call fcn.0046aa70
jmp fcn.005b5930