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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xb8]
cmp eax, dword [ecx + 8]
jbe 0x5b6549
sub esp, 0x138
mov ecx, dword [esp + 0x13c]
mov edx, dword [ecx + 0x138]
mov eax, dword [ecx + 0x13c]
test edx, edx
je 0x5b61f3
nop
movzx ebx, byte [0x7f8710]
test bl, bl
je 0x5b61b9
mov dword [0x7f8714], edx
mov ebx, dword [0x81dcc0]
test ebx, ebx
jne 0x5b61ae
mov dword [0x7f8718], eax
jmp 0x5b61b9
lea edi, [0x7f8718]
call fcn.00462500
mov dword [esp + 0x130], edx
mov dword [esp + 0x134], eax
mov edx, dword [esp + 0x130]
test edx, edx
je 0x5b61eb
nop
movzx ebx, byte [edx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x5b61f9
or ebx, 0x80
jmp 0x5b61f9
xor ebx, ebx
xor edx, edx
xor eax, eax
jmp 0x5b61f9
xor ebx, ebx
xor edx, edx
xor eax, eax
mov dword [esp + 0x124], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x128], edx
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0x13
call fcn.004b2b70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
and eax, 0x1f
mov dword [esp + 0x40], eax
cmp eax, 9
ja 0x5b6258
cmp eax, 7
jne 0x5b6240
mov eax, dword [ecx]
jmp 0x5b6275
cmp eax, 8
jne 0x5b624a
movzx eax, byte [ecx]
jmp 0x5b6275
cmp eax, 9
jne 0x5b650e
movzx eax, word [ecx]
jmp 0x5b6275
cmp eax, 0xa
jne 0x5b6261
mov eax, dword [ecx]
jmp 0x5b6275
cmp eax, 0xb
jne 0x5b626a
mov eax, dword [ecx]
jmp 0x5b6275
cmp eax, 0xc
jne 0x5b650e
mov eax, dword [ecx]
test eax, eax
jbe 0x5b6346
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x128]
mov dword [esp], eax
mov eax, dword [esp + 0x124]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x12
call fcn.004b2b70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
and eax, 0x1f
mov dword [esp + 0x40], eax
cmp eax, 9
ja 0x5b62e0
cmp eax, 7
jne 0x5b62c8
mov ecx, dword [ecx]
jmp 0x5b62fd
cmp eax, 8
jne 0x5b62d2
movzx ecx, byte [ecx]
jmp 0x5b62fd
cmp eax, 9
jne 0x5b64d4
movzx ecx, word [ecx]
jmp 0x5b62fd
cmp eax, 0xa
jne 0x5b62e9
mov ecx, dword [ecx]
jmp 0x5b62fd
cmp eax, 0xb
jne 0x5b62f2
mov ecx, dword [ecx]
jmp 0x5b62fd
cmp eax, 0xc
jne 0x5b64d4
mov ecx, dword [ecx]
mov dword [esp + 0x24], ecx
lea edi, [esp + 0x44]
xor eax, eax
call fcn.00462768
mov ecx, dword [esp + 0x13c]
mov edx, dword [ecx + 0x78]
mov esi, dword [ecx + 0x7c]
lea ebx, [0x62ad80]
cmp edx, ebx
jne 0x5b64be
lea edi, [esp + 0x44]
call fcn.00462a80
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x60]
mov dword [esp + 0x30], eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
jmp 0x5b637d
xor eax, eax
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x140], edx
mov dword [esp + 0x144], ecx
mov dword [esp + 0x148], eax
add esp, 0x138
ret
mov dword [ebp + eax*4 - 4], edx
mov esi, dword [esp + 0x34]
inc esi
mov ecx, esi
mov edx, ebx
mov ebx, ebp
mov ebp, eax
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
cmp ecx, esi
jae 0x5b64a0
mov dword [esp + 0x12c], ebx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x13c]
mov dword [esp], edx
lea ebx, [eax + ecx*4]
mov dword [esp + 4], ebx
call fcn.005b1960
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x13c]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffc
cmp eax, edx
jbe 0x5b63d4
mov eax, dword [0x7f8238]
xor edx, edx
jmp 0x5b640b
mov edx, dword [ecx + 0x28c]
mov ebx, dword [ecx + 0x288]
mov ebp, dword [ecx + 0x290]
cmp edx, eax
jb 0x5b64b7
sub edx, eax
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
cmp edx, 3
jbe 0x5b64ab
mov edx, dword [ebx + eax]
xor eax, eax
test eax, eax
jne 0x5b6475
mov eax, dword [esp + 0x38]
inc eax
mov ebx, dword [esp + 0x3c]
cmp ebx, eax
jb 0x5b6428
mov ebp, dword [esp + 0x12c]
jmp 0x5b6368
mov dword [esp + 0x2c], edx
mov ecx, dword [esp + 0x12c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x5ff980]
mov dword [esp + 0x10], eax
call fcn.0044a040
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x13c]
mov ebp, ebx
mov ebx, edx
mov edx, dword [esp + 0x2c]
jmp 0x5b6368
mov eax, dword [esp + 0x12c]
mov dword [esp + 0x140], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x144], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x148], eax
add esp, 0x138
ret
mov eax, edx
mov ecx, ebp
mov edx, ebx
jmp 0x5b634c
mov eax, 3
mov ecx, edx
call fcn.00462580
mov ecx, edx
call fcn.004625f0
mov dword [esp], edx
mov dword [esp + 4], ebx
lea eax, [0x5ff280]
mov dword [esp + 8], eax
call fcn.00409250
lea eax, [0x60d960]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x63b26b]
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], ecx
lea ecx, [0x6055c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004351d0
lea eax, [0x60d960]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x63b26b]
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], ecx
lea ecx, [0x6055c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004351d0
nop
call fcn.004610f0
jmp fcn.005b6150