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

Disassembly:
mov ecx, dword [0x9aee30]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5b2a48
sub esp, 0x54
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x70]
mov dword [esp + 8], edx
call fcn.005b3e80
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5b2a27
mov eax, dword [esp + 0xc]
mov dword [esp + 0x38], eax
mov dword [esp], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x6c]
mov dword [esp + 8], edx
movzx ebx, byte [esp + 0x74]
mov byte [esp + 0xc], bl
call fcn.005b4040
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5b29e5
nop
mov eax, dword [esp + 0x6c]
cmp eax, 2
je 0x5b2726
cmp eax, 3
setne cl
jmp 0x5b2728
xor ecx, ecx
mov byte [esp + 0x2b], cl
lea eax, [0x6b8d60]
mov dword [esp], eax
call fcn.0040d2a0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x6c]
cmp ecx, 1
sete dl
mov byte [eax + 0x12d], dl
movzx edx, byte [esp + 0x2b]
mov byte [eax + 0x12e], dl
mov edx, dword [esp + 0x68]
mov dword [eax + 0x134], edx
mov dword [eax + 0x138], ecx
mov edx, dword [esp + 0x64]
mov dword [eax + 0x144], edx
mov edx, dword [0x9aef70]
test edx, edx
jne 0x5b278a
mov edx, dword [esp + 0x60]
jmp 0x5b279e
call fcn.0046c8a0
mov edx, dword [esp + 0x60]
mov dword [edi], edx
mov ebx, dword [eax + 0x140]
mov dword [edi + 4], ebx
mov dword [esp + 0x4c], eax
mov dword [eax + 0x140], edx
mov edx, dword [esp + 0x78]
test edx, edx
je 0x5b2936
mov ebx, dword [esp + 0x80]
test ebx, ebx
jne 0x5b293d
cmp ecx, 1
je 0x5b27da
cmp ecx, 2
je 0x5b289d
cmp ecx, 5
jne 0x5b293d
lea eax, [0x9af140]
mov dword [esp], eax
lea eax, [0x6fa058]
mov dword [esp + 4], eax
call fcn.004897c0
mov eax, dword [0x9af14c]
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x18], eax
call fcn.005b3400
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x5b2878
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
call fcn.005a46a0
mov dword [esp + 0x8c], 0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x94], eax
add esp, 0x54
ret
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
add esp, 0x54
ret
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x14], ecx
call fcn.005b38b0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5b2911
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
call fcn.005a46a0
mov dword [esp + 0x8c], 0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x94], eax
add esp, 0x54
ret
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
add esp, 0x54
ret
mov ebx, dword [esp + 0x80]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x1c], ecx
call fcn.005b2a60
mov eax, dword [esp + 0x20]
test eax, eax
je 0x5b29c0
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
call fcn.005a46a0
mov dword [esp + 0x8c], 0
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x94], eax
add esp, 0x54
ret
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
add esp, 0x54
ret
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x50], eax
mov edx, dword [0x964680]
mov ecx, dword [edx]
mov ebx, dword [esp + 0x38]
mov dword [esp], ebx
call ecx
mov dword [esp + 0x8c], 0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x94], eax
add esp, 0x54
ret
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
add esp, 0x54
ret
call fcn.0046b490
jmp fcn.005b26a0