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

Disassembly:
mov ecx, dword [0x7da588]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x5b96d9
sub esp, 0x8c
mov eax, dword [esp + 0xac]
test eax, eax
je 0x5b91cf
test eax, 0x200
jne 0x5b91cf
lea ecx, [0x65a1a0]
mov edx, dword [esp + 0xa4]
jmp 0x5b91f9
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.004c5b70
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, ecx
mov ecx, eax
mov dword [esp + 0x5c], 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 + 0x50], ecx
mov ebx, dword [esp + 4]
mov dword [esp + 0x48], ebx
mov ebp, dword [esp + 8]
mov dword [esp + 0x68], ebp
mov esi, dword [esp + 0x5c]
mov dword [esp], esi
call eax
nop
mov eax, dword [esp + 0x50]
cmp eax, 0x14
ja 0x5b9253
lea ecx, [eax - 0x12]
cmp ecx, 1
jbe 0x5b9286
cmp eax, 0x14
je 0x5b925d
jmp 0x5b969e
cmp eax, 0x16
jbe 0x5b9286
cmp eax, 0x17
jne 0x5b927d
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 0x5b92bd
cmp eax, 0x1a
jne 0x5b969e
mov eax, dword [esp + 0xac]
test eax, 0x200
je 0x5b929d
mov ecx, dword [esp + 0xa8]
jmp 0x5b92c1
test eax, 0x80
je 0x5b92af
mov ecx, dword [esp + 0xa8]
mov edx, dword [ecx]
jmp 0x5b92b8
mov ecx, dword [esp + 0xa8]
mov edx, ecx
test edx, edx
setne dl
test dl, dl
je 0x5b92df
mov edx, dword [esp + 0x90]
mov ebx, dword [edx]
movzx ebx, byte [ebx + 0xa]
test bl, bl
jne 0x5b92df
mov ebx, eax
mov ebp, ecx
mov esi, dword [esp + 0xa4]
jmp 0x5b9345
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x48]
mov dword [esp], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.004be2d0
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.004c64c0
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 + 0x44], eax
mov dword [esp + 0x64], ecx
mov edi, dword [esp + 0x9c]
test edi, edi
je 0x5b93b4
mov dword [esp + 0x6c], edi
mov edi, dword [esp + 0xa0]
mov dword [esp + 0x70], edi
mov edi, dword [esp + 0x6c]
test edi, edi
je 0x5b93a2
movzx eax, byte [edi + 0xf]
mov byte [esp + 0x3b], al
nop
and eax, 0x1f
movzx ecx, byte [esp + 0x3b]
test cl, 0x20
jne 0x5b938a
or eax, 0x80
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x64]
mov edi, eax
mov eax, dword [esp + 0x44]
jmp 0x5b93c4
xor edi, edi
xor edi, edi
mov dword [esp + 0x54], edi
xor edi, edi
mov dword [esp + 0x58], edi
xor edi, edi
jmp 0x5b93c4
xor edi, edi
xor edi, edi
mov dword [esp + 0x54], edi
xor edi, edi
mov dword [esp + 0x58], edi
xor edi, edi
mov dword [esp + 0x3c], edi
and edi, 0x1f
nop
cmp edi, 0x16
je 0x5b93eb
mov edi, dword [esp + 0x3c]
mov edi, dword [esp + 0x54]
mov dword [esp + 0x74], edi
mov edi, dword [esp + 0x58]
mov dword [esp + 0x78], edi
mov edi, dword [esp + 0x3c]
jmp 0x5b9440
mov dword [esp + 0x60], esi
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
call fcn.004c2840
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 + 0x60]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x4c], edi
and edi, 0x1f
mov dword [esp + 0x50], edi
nop
cmp edi, 0x15
ja 0x5b94d9
cmp edi, 0x11
je 0x5b94de
cmp edi, 0x15
jne 0x5b9565
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 + 0x74]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x4c]
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.005b9940
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 0x5b955c
mov edi, dword [edx]
movzx edi, byte [edi + 0xb]
xchg edi, eax
test al, al
xchg edi, eax
je 0x5b9565
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 + 0x74]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x4c]
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.005b96f0
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 0x5b962c
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.0040aa80
mov eax, dword [esp + 8]
lea ecx, [0x5dd3e0]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.0040a980
mov eax, dword [esp + 4]
lea ecx, [0x5e0ca0]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
lea eax, [0x613eb7]
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.004cadf0
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 + 0x74]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x4c]
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.005ba3b0
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, [0x5ea8c0]
mov dword [esp], eax
call fcn.0040d1f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x13
lea ecx, [0x60ee30]
mov dword [eax], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 8], ecx
lea ecx, [0x5e2880]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004391b0
nop
call fcn.0046aa70
jmp fcn.005b9190