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

Disassembly:
mov ecx, dword [0x9ec7ac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x8c]
cmp eax, dword [ecx + 8]
jbe 0x49b575
sub esp, 0x10c
mov eax, dword [esp + 0x110]
test eax, eax
je 0x49b52e
mov ecx, dword [esp + 0x118]
test ecx, ecx
je 0x49b52e
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x54]
test eax, eax
je 0x49b381
movzx edx, byte [eax + 0xf]
nop
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x49b37b
or edx, 0x80
mov ebx, dword [esp + 0x58]
jmp 0x49b387
xor edx, edx
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x11c]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x49b3bb
movzx ebp, byte [ecx + 0xf]
nop
mov esi, ebp
and ebp, 0x1f
xchg esi, eax
test al, 0x20
xchg esi, eax
jne 0x49b3b5
or ebp, 0x80
mov esi, dword [esp + 0x50]
jmp 0x49b3c1
xor ebp, ebp
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x40], esi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x3c], eax
test edx, edx
je 0x49b3f5
test edx, 0x200
jne 0x49b3f5
mov edi, eax
lea eax, [0x7ad404]
mov dword [esp + 0x2c], eax
mov eax, edi
jmp 0x49b42b
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.004a2b10
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov eax, ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x48], eax
test ebp, ebp
je 0x49b44f
test ebp, 0x200
jne 0x49b44f
mov dword [esp + 0x30], eax
lea eax, [0x7ad404]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
jmp 0x49b483
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
call fcn.004a2b10
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x48]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
cmp ebp, esi
jne 0x49b4a8
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00404340
movzx eax, byte [esp + 0xc]
test al, al
jne 0x49b4b7
mov byte [esp + 0x120], 0
add esp, 0x10c
ret
lea edi, [esp + 0x5c]
xor eax, eax
call fcn.004686f9
lea edi, [esp + 0x78]
call fcn.004686db
lea ecx, [esp + 0x78]
mov dword [esp + 0x68], ecx
call fcn.00452f50
mov ecx, dword [esp]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x18], ecx
call fcn.00499ac0
movzx ecx, byte [esp + 0x1c]
mov byte [esp + 0x120], cl
add esp, 0x10c
ret
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0x110]
cmp eax, ecx
je 0x49b544
xor eax, eax
jmp 0x49b567
mov dword [esp], ecx
mov eax, dword [esp + 0x114]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x11c]
mov dword [esp + 8], eax
call fcn.00404260
movzx eax, byte [esp + 0xc]
mov byte [esp + 0x120], al
add esp, 0x10c
ret
call fcn.00467050
jmp fcn.0049b310