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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x1c]
cmp eax, dword [ecx + 8]
jbe 0x4e4dc3
sub esp, 0x9c
mov eax, 0
mov dword [esp + 0x98], eax
mov byte [esp + 0x2f], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov ecx, dword [esp + 0xa0]
test ecx, ecx
je 0x4e4d9e
lea edi, [esp + 0x60]
xor eax, eax
call fcn.0046314b
mov ecx, dword [esp + 0xa0]
mov edx, dword [ecx + 0x10]
mov ebx, dword [esp + 0xa4]
mov dword [esp], ebx
call edx
movzx ecx, byte [esp + 0x18]
mov byte [esp + 0x2e], cl
lea edi, [esp + 0x60]
lea esi, [esp + 4]
call fcn.0046362e
lea edi, [esp + 0x4c]
lea esi, [esp + 0x60]
call fcn.0046362e
movzx ecx, byte [esp + 0x2e]
test cl, cl
je 0x4e4a8c
lea edi, [esp]
lea esi, [esp + 0x4c]
call fcn.0046362e
lea edi, [esp + 0x14]
lea esi, [esp + 0xa8]
call fcn.0046362e
call fcn.004858a0
movzx eax, byte [esp + 0x28]
test al, al
jne 0x4e4d5c
lea edi, [esp + 0x74]
xor eax, eax
call fcn.00463147
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x78], edx
lea ebx, [0x6a5c60]
mov dword [esp], ebx
call fcn.0040b7c0
mov edi, dword [esp + 4]
mov dword [esp + 0x38], edi
mov ecx, dword [0x91eb10]
lea edx, [edi + 0x28]
test ecx, ecx
jne 0x4e4ae9
lea esi, [esp + 0x74]
call fcn.00463606
mov edi, edx
lea esi, [esp + 0xa8]
call fcn.0046362e
jmp 0x4e4b28
mov dword [esp + 0x40], edx
lea eax, [0x6b36a0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x74]
mov dword [esp + 8], eax
call fcn.00410b80
lea eax, [0x6c46c0]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
lea eax, [esp + 0xa8]
mov dword [esp + 8], eax
call fcn.00410b80
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 4], eax
lea eax, [0x73df28]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], eax
call fcn.004e3f20
lea edi, [esp]
lea esi, [esp + 0xa8]
call fcn.0046362e
call fcn.004870e0
mov eax, dword [esp + 0x14]
test eax, eax
setbe cl
mov edx, dword [esp + 0x18]
test edx, edx
setl dl
sete bl
mov ebp, dword [esp + 0x18]
and ebx, ecx
or edx, ebx
test dl, dl
je 0x4e4c15
mov eax, dword [0x8f17f8]
mov ecx, dword [0x8f17fc]
mov edx, dword [esp + 0x38]
mov dword [esp], edx
mov byte [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.004e50d0
lea eax, [0x73e91c]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc0], eax
lea ecx, [0x6979c0]
mov dword [esp], ecx
call fcn.0040b7c0
mov eax, dword [esp + 4]
lea ecx, [0x4e4eb0]
mov dword [eax], ecx
mov ecx, dword [0x91eb10]
test ecx, ecx
jne 0x4e4bf7
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
jmp 0x4e4c07
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x38]
call fcn.00462ed0
mov eax, ecx
mov dword [esp + 0xc4], eax
add esp, 0x9c
ret
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebp
mov eax, dword [esp + 0x38]
lea ecx, [eax + 8]
mov dword [esp + 0x3c], ecx
mov dword [esp], ecx
call fcn.0046c1c0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea eax, [0x4e4e70]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x98], eax
mov byte [esp + 0x2f], 1
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jne 0x4e4ce9
lea eax, [0x6979c0]
mov dword [esp], eax
call fcn.0040b7c0
mov eax, dword [esp + 4]
lea ecx, [0x4e4e20]
mov dword [eax], ecx
mov ecx, dword [0x91eb10]
test ecx, ecx
jne 0x4e4c9a
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
jmp 0x4e4caa
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x38]
call fcn.00462ed0
mov eax, ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.004854b0
mov eax, dword [0x91eb10]
mov ecx, dword [esp + 0xc]
test eax, eax
jne 0x4e4cd9
mov eax, dword [esp + 0x38]
mov dword [eax + 0x24], ecx
jmp 0x4e4ce9
mov edx, dword [esp + 0x38]
lea edi, [edx + 0x24]
mov eax, ecx
call fcn.00462ed0
mov eax, edx
lea eax, [0x6979c0]
mov dword [esp], eax
call fcn.0040b7c0
mov eax, dword [esp + 4]
lea ecx, [0x4e4dd0]
mov dword [eax], ecx
mov ecx, dword [0x91eb10]
test ecx, ecx
jne 0x4e4d16
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
jmp 0x4e4d2a
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x38]
call fcn.00462ed0
mov edx, eax
mov eax, ecx
mov ecx, edx
lea ebx, [0x73e91c]
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], eax
mov byte [esp + 0x2f], 0
mov edx, dword [esp + 0x98]
mov eax, dword [edx]
call eax
add esp, 0x9c
ret
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 4], eax
call fcn.004e3db0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], edx
add esp, 0x9c
ret
lea eax, [0x68d7c0]
mov dword [esp], eax
lea eax, [0x73cfb0]
mov dword [esp + 4], eax
call fcn.00436cf0
nop
call fcn.00436170
add esp, 0x9c
ret
call fcn.00461ac0
jmp fcn.004e49b0