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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x1d4]
cmp eax, dword [ecx + 8]
jbe 0x5b208d
sub esp, 0x254
lea eax, [0x5f6320]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [esp + 0x240], eax
lea ecx, [0x5fcd80]
mov dword [esp], ecx
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [esp + 0x244], eax
mov ecx, dword [esp + 0x258]
mov edx, dword [ecx + 0x138]
mov ebx, dword [ecx + 0x13c]
test edx, edx
je 0x5b1add
nop
movzx ebp, byte [0x7bb648]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5b1aa3
mov dword [0x7bb64c], edx
mov ebp, dword [0x7e1c20]
test ebp, ebp
jne 0x5b1a92
mov dword [0x7bb650], ebx
jmp 0x5b1aa3
lea edi, [0x7bb650]
mov ebp, eax
mov eax, ebx
call fcn.004610d0
mov eax, ebp
mov dword [esp + 0x24c], edx
mov dword [esp + 0x250], ebx
mov edx, dword [esp + 0x24c]
test edx, edx
je 0x5b1ad5
nop
movzx ebp, byte [edx + 0xf]
mov esi, ebp
and ebp, 0x1f
xchg esi, eax
test al, 0x20
xchg esi, eax
jne 0x5b1ae3
or ebp, 0x80
jmp 0x5b1ae3
xor ebp, ebp
xor edx, edx
xor ebx, ebx
jmp 0x5b1ae3
xor ebp, ebp
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x238], ebx
mov dword [esp + 0x23c], edx
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.004afc60
cmp dword [esp + 0xc], 0x29
jle 0x5b1d42
mov eax, dword [esp + 0x23c]
mov dword [esp], eax
mov eax, dword [esp + 0x238]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x29
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 0x5b1b75
cmp eax, 7
jne 0x5b1b59
mov ecx, dword [ecx]
xor ebx, ebx
jmp 0x5b1b9b
cmp eax, 8
jne 0x5b1b65
movzx ecx, byte [ecx]
xor ebx, ebx
jmp 0x5b1b9b
cmp eax, 9
jne 0x5b2052
movzx ecx, word [ecx]
xor ebx, ebx
jmp 0x5b1b9b
cmp eax, 0xa
jne 0x5b1b80
mov ecx, dword [ecx]
xor ebx, ebx
jmp 0x5b1b9b
cmp eax, 0xb
jne 0x5b1b8e
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov ecx, edx
jmp 0x5b1b9b
cmp eax, 0xc
jne 0x5b2052
mov ecx, dword [ecx]
xor ebx, ebx
test ebx, ebx
sete dl
test ecx, ecx
sete bl
and edx, ebx
test dl, dl
jne 0x5b1d30
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x258]
movzx ebx, byte [edx + 0x294]
test bl, bl
je 0x5b1bfc
lea edi, [esp + 0x68]
xor eax, eax
call fcn.00461318
mov ecx, dword [edx + 0x78]
mov esi, dword [edx + 0x7c]
lea ebx, [0x606220]
cmp ecx, ebx
jne 0x5b203c
lea edi, [esp + 0x68]
call fcn.00461630
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x24]
sub ecx, eax
jmp 0x5b1c37
lea edi, [esp + 0x148]
xor eax, eax
call fcn.00461314
mov ecx, dword [edx + 0x78]
mov esi, dword [edx + 0x7c]
lea ebx, [0x605ea0]
cmp ecx, ebx
jne 0x5b2026
lea edi, [esp + 0x148]
call fcn.00461608
mov eax, dword [esp + 0x160]
mov ecx, dword [esp + 0x24]
sub ecx, eax
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.005a8720
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
lea edi, [esp + 0x50]
mov esi, dword [esp + 0x244]
call fcn.00461824
lea ecx, [0x5fcd80]
mov dword [esp], ecx
lea edx, [esp + 0x50]
mov dword [esp + 4], edx
call fcn.00408f60
mov eax, dword [esp + 8]
lea ecx, [0x5fcd80]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b3850
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x258]
mov dword [esp], ecx
lea edx, [0x5d73a0]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x244]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
call fcn.005a9440
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5b1d1e
mov edi, dword [esp + 0x240]
mov esi, dword [esp + 0x244]
call fcn.00461824
mov eax, dword [esp + 0x244]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x5b1d54
mov edx, dword [eax + 0xc]
test edx, edx
je 0x5b1d54
mov eax, dword [esp + 0x258]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005a8720
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x240]
mov edx, dword [esp + 0x244]
mov ebx, dword [esp + 0x258]
xor ebp, ebp
jmp 0x5b1f29
mov dword [esp + 0x25c], 0
add esp, 0x254
ret
mov dword [esp + 0x25c], 0
add esp, 0x254
ret
mov dword [esp + 0x25c], 0
add esp, 0x254
ret
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x5b1dce
mov edx, dword [eax + 0x14]
test edx, edx
je 0x5b1dce
mov eax, dword [esp + 0x258]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005a8720
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], 0
mov dword [esp], ecx
call fcn.004090a0
mov eax, dword [esp + 8]
lea ecx, [0x5f01e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b3850
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x244]
mov edx, dword [esp + 0x2c]
xor ebx, ebx
jmp 0x5b1e21
mov eax, dword [esp + 0x240]
mov dword [esp + 0x25c], eax
add esp, 0x254
ret
lea esi, [edx + 1]
mov dword [ecx + 0x28], esi
mov esi, dword [esp + 0x248]
mov edi, dword [esi]
mov eax, ebp
lea ebp, [ebp + edx*8]
mov esi, dword [esi + 4]
mov dword [ebp], edi
lea ebp, [eax + edx*8 + 4]
mov dword [ebp], esi
mov ebp, dword [esp + 0x38]
lea ebx, [ebp + 1]
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x2c]
lea edx, [ebp + eax]
mov ebp, dword [esp + 0x244]
mov ecx, ebp
mov ebp, dword [ecx + 0x14]
test eax, eax
je 0x5b1f03
mov dword [esp + 0x2c], edx
mov esi, eax
mov eax, ebp
xor edx, edx
div esi
cmp ebx, eax
jae 0x5b1dce
mov dword [esp + 0x38], ebx
lea eax, [0x5f01e0]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [esp + 0x248], eax
mov ecx, dword [esp + 0x258]
mov dword [esp], ecx
lea edx, [0x5d7a20]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x10], ebp
call fcn.005a9440
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5b1dce
mov ecx, dword [esp + 0x240]
mov edx, dword [ecx + 0x28]
lea ebx, [edx + 1]
mov ebp, dword [ecx + 0x24]
mov esi, dword [ecx + 0x2c]
cmp esi, ebx
jae 0x5b1de3
lea eax, [0x5f01e0]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.0044a7d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x240]
mov dword [ebx + 0x2c], edx
mov edx, dword [0x7e1c20]
test edx, edx
jne 0x5b1ef0
mov dword [ebx + 0x24], eax
jmp 0x5b1ef8
lea edi, [ebx + 0x24]
call fcn.004610d0
mov edx, ecx
mov ebp, eax
mov ecx, ebx
jmp 0x5b1de3
call fcn.00434c30
mov ebx, esi
inc esi
mov dword [ecx + 0x1c], esi
mov dword [edx + ebx*4], edi
mov esi, dword [esp + 0x3c]
lea ebp, [esi + 1]
add eax, 4
mov edx, dword [esp + 0x244]
mov ebx, dword [esp + 0x258]
mov esi, dword [edx + 0xc]
shr esi, 2
cmp ebp, esi
jae 0x5b200c
mov esi, dword [ebx + 0x2ac]
add esi, 0xfffffffc
cmp eax, esi
jbe 0x5b1f4e
mov esi, dword [0x7bb130]
xor edi, edi
jmp 0x5b1f8a
mov esi, dword [ebx + 0x28c]
mov edi, dword [ebx + 0x288]
mov ebx, dword [ebx + 0x290]
cmp eax, esi
ja 0x5b201f
sub esi, eax
sub ebx, eax
neg ebx
sar ebx, 0x1f
and ebx, eax
cmp esi, 3
jbe 0x5b2013
mov ebx, dword [edi + ebx]
xor esi, esi
mov edi, ebx
mov ebx, dword [esp + 0x258]
test esi, esi
jne 0x5b200c
mov dword [esp + 0x3c], ebp
mov esi, dword [ecx + 0x1c]
lea ebx, [esi + 1]
mov edx, dword [ecx + 0x18]
mov ebp, dword [ecx + 0x20]
cmp ebp, ebx
jae 0x5b1f08
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], eax
lea eax, [0x5e4880]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.0044a7d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x240]
mov dword [ebx + 0x20], edx
mov edx, dword [0x7e1c20]
test edx, edx
jne 0x5b1ff1
mov dword [ebx + 0x18], eax
jmp 0x5b1ff9
lea edi, [ebx + 0x18]
call fcn.004610d0
mov edi, dword [esp + 0x28]
mov esi, ecx
mov edx, eax
mov eax, dword [esp + 0x30]
mov ecx, ebx
jmp 0x5b1f08
mov eax, edx
jmp 0x5b1d54
mov eax, 3
mov ecx, esi
call fcn.00461150
mov ecx, esi
call fcn.004611c0
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea eax, [0x5e4100]
mov dword [esp + 8], eax
call fcn.00408da0
mov dword [esp], ecx
mov dword [esp + 4], ebx
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.005b1a00