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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x2ac]
cmp eax, dword [ecx + 8]
jbe 0x5b19e8
sub esp, 0x32c
lea eax, [0x5efa00]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [esp + 0x318], eax
mov ecx, dword [esp + 0x330]
mov edx, dword [ecx + 0x138]
mov ebx, dword [ecx + 0x13c]
test edx, edx
je 0x5b1284
nop
movzx ebp, byte [0x7bb648]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5b124a
mov dword [0x7bb64c], edx
mov ebp, dword [0x7e1c20]
test ebp, ebp
jne 0x5b1239
mov dword [0x7bb650], ebx
jmp 0x5b124a
lea edi, [0x7bb650]
mov ebp, eax
mov eax, ebx
call fcn.004610d0
mov eax, ebp
mov dword [esp + 0x324], edx
mov dword [esp + 0x328], ebx
mov edx, dword [esp + 0x324]
test edx, edx
je 0x5b127c
nop
movzx ebp, byte [edx + 0xf]
mov esi, ebp
and ebp, 0x1f
xchg esi, eax
test al, 0x20
xchg esi, eax
jne 0x5b128a
or ebp, 0x80
jmp 0x5b128a
xor ebp, ebp
xor edx, edx
xor ebx, ebx
jmp 0x5b128a
xor ebp, ebp
xor edx, edx
xor ebx, ebx
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 0x28
call fcn.004ae8a0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
and eax, 0x1f
mov dword [esp + 0x44], eax
cmp eax, 9
ja 0x5b12dd
cmp eax, 7
jne 0x5b12c1
mov eax, dword [ecx]
xor ecx, ecx
jmp 0x5b1301
cmp eax, 8
jne 0x5b12cd
movzx eax, byte [ecx]
xor ecx, ecx
jmp 0x5b1301
cmp eax, 9
jne 0x5b19ad
movzx eax, word [ecx]
xor ecx, ecx
jmp 0x5b1301
cmp eax, 0xa
jne 0x5b12e8
mov eax, dword [ecx]
xor ecx, ecx
jmp 0x5b1301
cmp eax, 0xb
jne 0x5b12f4
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
jmp 0x5b1301
cmp eax, 0xc
jne 0x5b19ad
mov eax, dword [ecx]
xor ecx, ecx
test eax, eax
sete dl
test ecx, ecx
sete cl
and ecx, edx
test cl, cl
jne 0x5b17b2
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x330]
movzx edx, byte [ecx + 0x294]
test dl, dl
je 0x5b1476
lea eax, [0x601a40]
mov dword [esp], eax
call fcn.0040b6c0
mov esi, dword [esp + 4]
mov dword [esp + 0x310], esi
lea edi, [esp + 0x48]
call fcn.004617a2
lea eax, [0x601a40]
mov dword [esp], eax
lea ecx, [esp + 0x48]
mov dword [esp + 4], ecx
call fcn.00408f60
mov eax, dword [esp + 8]
lea ecx, [0x601a40]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b3850
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
lea edi, [esp + 0x134]
xor eax, eax
call fcn.00461318
mov eax, dword [esp + 0x330]
mov ecx, dword [eax + 0x78]
mov esi, dword [eax + 0x7c]
lea edx, [0x606220]
cmp ecx, edx
jne 0x5b1997
lea edi, [esp + 0x134]
call fcn.00461630
mov ecx, dword [esp + 0x150]
mov dword [esp], eax
mov edx, dword [esp + 0x24]
sub edx, ecx
mov dword [esp + 4], edx
call fcn.005a8720
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x330]
mov dword [esp], ecx
lea edx, [0x5d6d60]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x310]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
call fcn.005a9440
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5b1464
lea edi, [esp + 0x48]
mov esi, dword [esp + 0x310]
call fcn.004617a2
lea eax, [0x601a40]
mov dword [esp], eax
lea ecx, [esp + 0x48]
mov dword [esp + 4], ecx
call fcn.00408f60
mov eax, dword [esp + 8]
lea ecx, [0x601a40]
mov edx, dword [esp + 0x318]
mov dword [edx], ecx
mov ecx, dword [0x7e1c20]
test ecx, ecx
jne 0x5b1457
mov dword [edx + 4], eax
jmp 0x5b145f
lea edi, [edx + 4]
call fcn.004610d0
jmp 0x5b15b6
mov dword [esp + 0x334], 0
add esp, 0x32c
ret
lea eax, [0x601b20]
mov dword [esp], eax
call fcn.0040b6c0
mov esi, dword [esp + 4]
mov dword [esp + 0x30c], esi
lea edi, [esp + 0xe4]
call fcn.00461798
lea eax, [0x601b20]
mov dword [esp], eax
lea ecx, [esp + 0xe4]
mov dword [esp + 4], ecx
call fcn.00408f60
mov eax, dword [esp + 8]
lea ecx, [0x601b20]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b3850
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
lea edi, [esp + 0x214]
xor eax, eax
call fcn.00461314
mov eax, dword [esp + 0x330]
mov ecx, dword [eax + 0x78]
mov esi, dword [eax + 0x7c]
lea edx, [0x605ea0]
cmp ecx, edx
jne 0x5b1981
lea edi, [esp + 0x214]
call fcn.00461608
mov ecx, dword [esp + 0x22c]
mov edx, dword [esp + 0x24]
sub edx, ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.005a8720
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x330]
mov dword [esp], ecx
lea edx, [0x5d6da0]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x30c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
call fcn.005a9440
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5b17a0
lea edi, [esp + 0xe4]
mov esi, dword [esp + 0x30c]
call fcn.00461798
lea eax, [0x601b20]
mov dword [esp], eax
lea ecx, [esp + 0xe4]
mov dword [esp + 4], ecx
call fcn.00408f60
mov eax, dword [esp + 8]
lea ecx, [0x601b20]
mov edx, dword [esp + 0x318]
mov dword [edx], ecx
mov ecx, dword [0x7e1c20]
test ecx, ecx
jne 0x5b15ae
mov dword [edx + 4], eax
jmp 0x5b15b6
lea edi, [edx + 4]
call fcn.004610d0
mov ecx, dword [edx]
mov eax, dword [edx + 4]
test ecx, ecx
je 0x5b1628
nop
movzx ebx, byte [0x7bb648]
test bl, bl
je 0x5b15ee
mov dword [0x7bb64c], ecx
mov ebx, dword [0x7e1c20]
test ebx, ebx
jne 0x5b15e3
mov dword [0x7bb650], eax
jmp 0x5b15ee
lea edi, [0x7bb650]
call fcn.004610d0
mov dword [esp + 0x31c], ecx
mov dword [esp + 0x320], eax
mov ecx, dword [esp + 0x31c]
test ecx, ecx
je 0x5b1620
nop
movzx ebx, byte [ecx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x5b162e
or ebx, 0x80
jmp 0x5b162e
xor ebx, ebx
xor ecx, ecx
xor eax, eax
jmp 0x5b162e
xor ebx, ebx
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x308], eax
mov dword [esp + 0x304], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
lea edx, [0x60d92b]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0xa
call fcn.004aec50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
call fcn.004aefa0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [0x5e4880]
cmp ecx, edx
jne 0x5b196b
mov eax, dword [eax]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x304]
mov dword [esp], ecx
mov edx, dword [esp + 0x308]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x20]
mov dword [esp + 8], ebx
lea ebp, [0x610226]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], 0xf
call fcn.004aec50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
call fcn.004aefa0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [0x5e4880]
cmp ecx, edx
jne 0x5b1955
mov eax, dword [eax]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x304]
mov dword [esp], ecx
mov ecx, dword [esp + 0x308]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 8], ecx
lea ecx, [0x61019f]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0xf
call fcn.004aec50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
call fcn.004aefa0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [0x5e4880]
cmp ecx, edx
jne 0x5b193f
mov eax, dword [eax]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x330]
mov dword [esp], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 4], edx
call fcn.005a8720
mov eax, dword [esp + 8]
xor ecx, ecx
jmp 0x5b17e7
mov dword [esp + 0x334], 0
add esp, 0x32c
ret
mov dword [esp + 0x334], 0
add esp, 0x32c
ret
lea ecx, [ebx + 1]
mov dword [edx + 0xc], ecx
lea ecx, [ebx + ebx*4]
shl ecx, 4
add ecx, eax
mov eax, edi
mov edi, ecx
mov esi, dword [esp + 0x314]
call fcn.00461798
mov ecx, dword [esp + 0x2c]
inc ecx
mov edx, dword [esp + 0x30]
cmp ecx, edx
jae 0x5b192a
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], eax
lea eax, [0x5fdfa0]
mov dword [esp], eax
call fcn.0040b6c0
mov esi, dword [esp + 4]
mov dword [esp + 0x314], esi
lea edi, [esp + 0x94]
call fcn.00461798
lea eax, [0x5fdfa0]
mov dword [esp], eax
lea ecx, [esp + 0x94]
mov dword [esp + 4], ecx
call fcn.00408f60
mov eax, dword [esp + 8]
lea ecx, [0x5fdfa0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b3850
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x330]
mov dword [esp], ecx
lea edx, [0x5d6de0]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x314]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x28]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
call fcn.005a9440
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5b1918
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
add ecx, eax
mov edx, dword [esp + 0x318]
mov ebx, dword [edx + 0xc]
lea ebp, [ebx + 1]
mov esi, eax
mov eax, dword [edx + 8]
mov edi, ecx
mov ecx, dword [edx + 0x10]
cmp ecx, ebp
jae 0x5b17c4
mov dword [esp + 0x3c], edi
lea edx, [0x5fdfa0]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
call fcn.0044a7d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x318]
mov dword [ebx + 0x10], edx
mov edx, dword [0x7e1c20]
test edx, edx
jne 0x5b18ff
mov dword [ebx + 8], eax
jmp 0x5b1907
lea edi, [ebx + 8]
call fcn.004610d0
mov edx, ebx
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
mov ebx, ecx
jmp 0x5b17c4
mov dword [esp + 0x334], 0
add esp, 0x32c
ret
mov eax, dword [esp + 0x318]
mov dword [esp + 0x334], eax
add esp, 0x32c
ret
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x5e4100]
mov dword [esp + 8], eax
call fcn.00408da0
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x5e4100]
mov dword [esp + 8], eax
call fcn.00408da0
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x5e4100]
mov dword [esp + 8], eax
call fcn.00408da0
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x5e4100]
mov dword [esp + 8], eax
call fcn.00408da0
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x5e4100]
mov dword [esp + 8], eax
call fcn.00408da0
lea eax, [0x5f0f60]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x6119f0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
lea ecx, [0x5ea280]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00435ee0
nop
call fcn.0045fcc0
jmp fcn.005b11c0