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

Disassembly:
mov ecx, dword [0x5e82a4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x49d431
sub esp, 0x5c
mov eax, dword [esp + 0x68]
mov ecx, eax
and eax, 0x1f
mov dword [esp + 0x38], eax
nop
cmp eax, 0x11
je 0x49d0c6
cmp eax, 0x17
jne 0x49d3f6
cmp eax, 0x11
jne 0x49d0e9
nop
test ecx, 0x60
jne 0x49d0d9
test ecx, 0x100
jne 0x49d0e9
mov dword [esp], ecx
call fcn.0049a630
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x68]
nop
test ecx, ecx
je 0x49d0f6
test ecx, 0x60
je 0x49d106
mov dword [esp], ecx
call fcn.0049a520
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x74]
mov ebx, edx
and edx, 0x1f
mov dword [esp + 0x34], edx
nop
cmp edx, 0x11
je 0x49d18b
cmp edx, 0x17
je 0x49d18b
cmp edx, 0x18
jne 0x49d17a
mov ebp, dword [esp + 0x60]
movzx esi, byte [ebp + 0xf]
and esi, 0x1f
cmp esi, 0x12
ja 0x49d147
cmp esi, 0x11
jne 0x49d13d
mov esi, dword [ebp + 0x20]
jmp 0x49d167
cmp esi, 0x12
jne 0x49d165
mov esi, dword [ebp + 0x20]
jmp 0x49d167
cmp esi, 0x15
jne 0x49d151
mov esi, dword [ebp + 0x24]
jmp 0x49d167
cmp esi, 0x16
jne 0x49d15b
mov esi, dword [ebp + 0x20]
jmp 0x49d167
cmp esi, 0x17
jne 0x49d165
mov esi, dword [ebp + 0x20]
jmp 0x49d167
xor esi, esi
movzx esi, byte [esi + 0xf]
and esi, 0x1f
cmp esi, 8
xchg esi, ebx
sete bl
xchg esi, ebx
jmp 0x49d180
mov ebp, dword [esp + 0x60]
xor esi, esi
xchg esi, eax
test al, al
xchg esi, eax
jne 0x49d191
jmp 0x49d3bc
mov ebp, dword [esp + 0x60]
xor esi, esi
xchg esi, eax
mov byte [esp + 0x23], al
xchg esi, eax
nop
test ebx, ebx
je 0x49d1a4
test ebx, 0x60
je 0x49d1c5
mov dword [esp], ebx
call fcn.0049a520
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x60]
movzx esi, byte [esp + 0x23]
movzx edi, byte [ebp + 0xf]
and edi, 0x1f
cmp edi, 0x12
ja 0x49d1e5
cmp edi, 0x11
jne 0x49d1db
mov edi, dword [ebp + 0x20]
jmp 0x49d205
cmp edi, 0x12
jne 0x49d203
mov edi, dword [ebp + 0x20]
jmp 0x49d205
cmp edi, 0x15
jne 0x49d1ef
mov edi, dword [ebp + 0x24]
jmp 0x49d205
cmp edi, 0x16
jne 0x49d1f9
mov edi, dword [ebp + 0x20]
jmp 0x49d205
cmp edi, 0x17
jne 0x49d203
mov edi, dword [ebp + 0x20]
jmp 0x49d205
xor edi, edi
mov dword [esp + 0x54], edi
xchg esi, eax
test al, al
xchg esi, eax
je 0x49d217
cmp eax, 0x11
jmp 0x49d2e8
mov esi, dword [esp + 0x6c]
movzx ebx, byte [esi + 0xf]
and ebx, 0x1f
cmp ebx, 0x12
ja 0x49d23b
cmp ebx, 0x11
jne 0x49d231
mov ebx, dword [esi + 0x20]
jmp 0x49d25b
cmp ebx, 0x12
jne 0x49d259
mov ebx, dword [esi + 0x20]
jmp 0x49d25b
cmp ebx, 0x15
jne 0x49d245
mov ebx, dword [esi + 0x24]
jmp 0x49d25b
cmp ebx, 0x16
jne 0x49d24f
mov ebx, dword [esi + 0x20]
jmp 0x49d25b
cmp ebx, 0x17
jne 0x49d259
mov ebx, dword [esi + 0x20]
jmp 0x49d25b
xor ebx, ebx
test edi, edi
je 0x49d273
mov dword [esp + 0x44], eax
lea eax, [0x529ec8]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
jmp 0x49d283
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x28], eax
xor edi, edi
mov eax, dword [esp + 0x4c]
test ebx, ebx
je 0x49d297
mov dword [esp + 0x3c], eax
lea eax, [0x529ec8]
mov dword [esp + 0x24], eax
jmp 0x49d29f
xor ebx, ebx
mov dword [esp + 0x24], ebx
xor ebx, ebx
lea eax, [0x4fe5c2]
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.0049cf70
mov eax, dword [esp + 0x38]
cmp eax, 0x11
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x60]
mov edi, dword [esp + 0x54]
je 0x49d2fb
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
mov ebp, dword [eax + 4]
mov eax, dword [eax + 8]
cmp edx, 0x11
jmp 0x49d32b
nop
mov dword [esp], ebp
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0049bdc0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x34]
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 0x49d351
cmp edx, 0x17
jne 0x49d340
mov edx, dword [esp + 0x70]
mov ebx, dword [edx]
mov esi, dword [edx + 4]
mov edx, dword [edx + 8]
jmp 0x49d390
mov edx, eax
mov eax, dword [esp + 0x70]
mov esi, dword [eax + 4]
mov ebx, dword [eax]
mov eax, edx
mov edx, esi
jmp 0x49d390
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.0049bdc0
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.0045f680
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x78], eax
add esp, 0x5c
ret
lea eax, [0x4ee5e0]
mov dword [esp], eax
call fcn.0040bd40
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xc
lea ecx, [0x4fe5c2]
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ecx
lea ecx, [0x4eae60]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004368b0
lea eax, [0x4ee5e0]
mov dword [esp], eax
call fcn.0040bd40
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xc
lea ecx, [0x4fe5c2]
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
lea ecx, [0x4eae60]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004368b0
nop
call fcn.004621e0
jmp fcn.0049d090