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

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x49200f
sub esp, 0x5c
mov eax, dword [esp + 0x68]
mov ecx, eax
and eax, 0x1f
mov dword [esp + 0x50], eax
nop
cmp eax, 0x11
je 0x491c86
cmp eax, 0x17
jne 0x491fd4
cmp eax, 0x11
jne 0x491ca9
nop
test ecx, 0x60
jne 0x491c99
test ecx, 0x100
jne 0x491ca9
mov dword [esp], ecx
call fcn.0048e7f0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x68]
nop
test ecx, ecx
je 0x491cb6
test ecx, 0x60
je 0x491cc6
mov dword [esp], ecx
call fcn.0048e6e0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x74]
mov ebx, edx
and edx, 0x1f
mov dword [esp + 0x4c], edx
nop
cmp edx, 0x11
je 0x491d5d
cmp edx, 0x17
je 0x491d5d
cmp edx, 0x18
jne 0x491d4c
mov ebp, dword [esp + 0x60]
movzx esi, byte [ebp + 0xf]
and esi, 0x1f
xchg esi, eax
cmp al, 0x12
xchg esi, eax
ja 0x491d11
xchg esi, eax
cmp al, 0x11
xchg esi, eax
jne 0x491d05
mov esi, dword [ebp + 0x20]
jmp 0x491d37
xchg esi, eax
cmp al, 0x12
xchg esi, eax
jne 0x491d35
mov esi, dword [ebp + 0x20]
jmp 0x491d37
xchg esi, eax
cmp al, 0x15
xchg esi, eax
jne 0x491d1d
mov esi, dword [ebp + 0x24]
jmp 0x491d37
xchg esi, eax
cmp al, 0x16
xchg esi, eax
jne 0x491d29
mov esi, dword [ebp + 0x20]
jmp 0x491d37
xchg esi, eax
cmp al, 0x17
xchg esi, eax
jne 0x491d35
mov esi, dword [ebp + 0x20]
jmp 0x491d37
xor esi, esi
movzx esi, byte [esi + 0xf]
and esi, 0x1f
xchg esi, eax
cmp al, 8
xchg esi, eax
xchg esi, ebx
sete bl
xchg esi, ebx
jmp 0x491d52
mov ebp, dword [esp + 0x60]
xor esi, esi
xchg esi, eax
test al, al
xchg esi, eax
jne 0x491d63
jmp 0x491f9a
mov ebp, dword [esp + 0x60]
xor esi, esi
xchg esi, eax
mov byte [esp + 0x23], al
xchg esi, eax
nop
test ebx, ebx
je 0x491d76
test ebx, 0x60
je 0x491d97
mov dword [esp], ebx
call fcn.0048e6e0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x60]
movzx esi, byte [esp + 0x23]
movzx edi, byte [ebp + 0xf]
and edi, 0x1f
xchg edi, eax
cmp al, 0x12
xchg edi, eax
ja 0x491dbd
xchg edi, eax
cmp al, 0x11
xchg edi, eax
jne 0x491db1
mov edi, dword [ebp + 0x20]
jmp 0x491de3
xchg edi, eax
cmp al, 0x12
xchg edi, eax
jne 0x491de1
mov edi, dword [ebp + 0x20]
jmp 0x491de3
xchg edi, eax
cmp al, 0x15
xchg edi, eax
jne 0x491dc9
mov edi, dword [ebp + 0x24]
jmp 0x491de3
xchg edi, eax
cmp al, 0x16
xchg edi, eax
jne 0x491dd5
mov edi, dword [ebp + 0x20]
jmp 0x491de3
xchg edi, eax
cmp al, 0x17
xchg edi, eax
jne 0x491de1
mov edi, dword [ebp + 0x20]
jmp 0x491de3
xor edi, edi
mov dword [esp + 0x54], edi
xchg esi, eax
test al, al
xchg esi, eax
je 0x491df5
cmp eax, 0x11
jmp 0x491ec6
mov esi, dword [esp + 0x6c]
movzx ebx, byte [esi + 0xf]
and ebx, 0x1f
cmp bl, 0x12
ja 0x491e19
cmp bl, 0x11
jne 0x491e0f
mov ebx, dword [esi + 0x20]
jmp 0x491e39
cmp bl, 0x12
jne 0x491e37
mov ebx, dword [esi + 0x20]
jmp 0x491e39
cmp bl, 0x15
jne 0x491e23
mov ebx, dword [esi + 0x24]
jmp 0x491e39
cmp bl, 0x16
jne 0x491e2d
mov ebx, dword [esi + 0x20]
jmp 0x491e39
cmp bl, 0x17
jne 0x491e37
mov ebx, dword [esi + 0x20]
jmp 0x491e39
xor ebx, ebx
test edi, edi
je 0x491e51
mov dword [esp + 0x3c], eax
lea eax, [0x78cbe4]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3c]
jmp 0x491e61
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x28], eax
xor edi, edi
mov eax, dword [esp + 0x44]
test ebx, ebx
je 0x491e75
mov dword [esp + 0x34], eax
lea eax, [0x78cbe4]
mov dword [esp + 0x24], eax
jmp 0x491e7d
xor ebx, ebx
mov dword [esp + 0x24], ebx
xor ebx, ebx
lea eax, [0x71d2e5]
mov dword [esp], eax
mov dword [esp + 4], 0xc
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.00491750
mov eax, dword [esp + 0x50]
cmp eax, 0x11
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x60]
mov edi, dword [esp + 0x54]
je 0x491ed9
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
mov ebp, dword [eax + 4]
mov eax, dword [eax + 8]
cmp edx, 0x11
jmp 0x491f09
nop
mov dword [esp], ebp
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0048ff60
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x4c]
cmp eax, 0x11
mov edx, eax
mov ebx, dword [esp + 0x74]
mov edi, dword [esp + 0x54]
mov eax, ebp
mov ecx, dword [esp + 0x64]
je 0x491f2f
cmp edx, 0x17
jne 0x491f1e
mov edx, dword [esp + 0x70]
mov ebx, dword [edx]
mov esi, dword [edx + 4]
mov edx, dword [edx + 8]
jmp 0x491f6e
mov edx, eax
mov eax, dword [esp + 0x70]
mov esi, dword [eax + 4]
mov ebx, dword [eax]
mov eax, edx
mov edx, esi
jmp 0x491f6e
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x58], ecx
nop
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.0048ff60
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x58]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x54]
mov edx, esi
mov ebx, dword [esp + 0x70]
mov dword [esp], edi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edx
call fcn.00469570
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x78], eax
add esp, 0x5c
ret
lea eax, [0x6ed9c0]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xc
lea ecx, [0x71d2e5]
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
lea ecx, [0x6e2140]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0046a9e0
lea eax, [0x6ed9c0]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xc
lea ecx, [0x71d2e5]
mov dword [eax], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 8], ecx
lea ecx, [0x6e2140]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0046a9e0
nop
call fcn.00470430
jmp fcn.00491c50