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

Disassembly:
mov ecx, dword [0x7c3e14]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x5b2a59
sub esp, 0x8c
mov eax, dword [esp + 0xac]
test eax, eax
je 0x5b254f
test eax, 0x200
jne 0x5b254f
lea ecx, [0x65b040]
mov edx, dword [esp + 0xa4]
jmp 0x5b2579
mov ecx, dword [esp + 0xa4]
mov dword [esp], ecx
mov edx, dword [esp + 0xa8]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.0048f510
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, ecx
mov ecx, eax
mov dword [esp + 0x60], edx
mov dword [esp + 0x40], ecx
mov eax, dword [ecx + 0x4c]
mov dword [esp], edx
call eax
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x28]
mov ecx, dword [esp + 0xac]
and ecx, 0x1f
mov dword [esp + 0x4c], ecx
mov ebx, dword [esp + 4]
mov dword [esp + 0x70], ebx
mov ebp, dword [esp + 8]
mov dword [esp + 0x6c], ebp
mov esi, dword [esp + 0x60]
mov dword [esp], esi
call eax
nop
mov eax, dword [esp + 0x4c]
cmp eax, 0x14
ja 0x5b25d3
lea ecx, [eax - 0x12]
cmp ecx, 1
jbe 0x5b2606
cmp eax, 0x14
je 0x5b25dd
jmp 0x5b2a1e
cmp eax, 0x16
jbe 0x5b2606
cmp eax, 0x17
jne 0x5b25fd
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax]
test ecx, ecx
setne cl
mov eax, dword [esp + 0xac]
mov edx, ecx
mov ecx, dword [esp + 0xa8]
jmp 0x5b263d
cmp eax, 0x1a
jne 0x5b2a1e
mov eax, dword [esp + 0xac]
test eax, 0x200
je 0x5b261d
mov ecx, dword [esp + 0xa8]
jmp 0x5b2641
test eax, 0x80
je 0x5b262f
mov ecx, dword [esp + 0xa8]
mov edx, dword [ecx]
jmp 0x5b2638
mov ecx, dword [esp + 0xa8]
mov edx, ecx
test edx, edx
setne dl
test dl, dl
je 0x5b265f
mov edx, dword [esp + 0x90]
mov ebx, dword [edx]
movzx ebx, byte [ebx + 0xa]
test bl, bl
jne 0x5b265f
mov ebx, eax
mov ebp, ecx
mov esi, dword [esp + 0xa4]
jmp 0x5b26c5
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x70]
mov dword [esp], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.00488450
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
nop
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
call fcn.0048fe60
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0xac]
mov ebp, dword [esp + 0xa8]
mov esi, eax
mov eax, edx
mov edx, dword [esp + 0x90]
mov dword [esp + 0x48], eax
mov dword [esp + 0x68], ecx
mov edi, dword [esp + 0x9c]
test edi, edi
je 0x5b2734
mov dword [esp + 0x74], edi
mov edi, dword [esp + 0xa0]
mov dword [esp + 0x78], edi
mov edi, dword [esp + 0x74]
test edi, edi
je 0x5b2722
movzx eax, byte [edi + 0xf]
mov byte [esp + 0x3b], al
nop
and eax, 0x1f
movzx ecx, byte [esp + 0x3b]
test cl, 0x20
jne 0x5b270a
or eax, 0x80
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x54], edi
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x68]
mov edi, eax
mov eax, dword [esp + 0x48]
jmp 0x5b2744
xor edi, edi
xor edi, edi
mov dword [esp + 0x54], edi
xor edi, edi
mov dword [esp + 0x5c], edi
xor edi, edi
jmp 0x5b2744
xor edi, edi
xor edi, edi
mov dword [esp + 0x54], edi
xor edi, edi
mov dword [esp + 0x5c], edi
xor edi, edi
mov dword [esp + 0x3c], edi
and edi, 0x1f
nop
cmp edi, 0x16
je 0x5b276b
mov edi, dword [esp + 0x3c]
mov edi, dword [esp + 0x54]
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x3c]
jmp 0x5b27c0
mov dword [esp + 0x64], esi
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
call fcn.0048c8a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x90]
mov ebx, dword [esp + 0xac]
mov ebp, dword [esp + 0xa8]
mov esi, dword [esp + 0x64]
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], ecx
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x44], edi
and edi, 0x1f
mov dword [esp + 0x4c], edi
nop
cmp edi, 0x15
ja 0x5b2859
cmp edi, 0x11
je 0x5b285e
cmp edi, 0x15
jne 0x5b28e5
mov dword [esp], edx
mov edx, dword [esp + 0x94]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x98]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
call fcn.005b2cd0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
add esp, 0x8c
ret
cmp edi, 0x17
jne 0x5b28dc
mov edi, dword [edx]
movzx edi, byte [edi + 0xb]
xchg edi, eax
test al, al
xchg edi, eax
je 0x5b28e5
mov dword [esp], edx
mov edx, dword [esp + 0x94]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x98]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
call fcn.005b2a70
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
add esp, 0x8c
ret
cmp edi, 0x19
je 0x5b29ac
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov eax, dword [esp + 0x94]
mov dword [esp], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 4], eax
call fcn.00409c60
mov eax, dword [esp + 8]
lea ecx, [0x5dda40]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.00409b50
mov eax, dword [esp + 4]
lea ecx, [0x5e0ca0]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
lea eax, [0x614a32]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
lea eax, [esp + 0x7c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c4e90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
add esp, 0x8c
ret
mov dword [esp], edx
mov edx, dword [esp + 0x94]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x98]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
call fcn.005b3750
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
add esp, 0x8c
ret
lea eax, [0x5e9700]
mov dword [esp], eax
call fcn.0040c420
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x13
lea ecx, [0x60f066]
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
lea ecx, [0x5e2140]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004382f0
nop
call fcn.00467000
jmp fcn.005b2510