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

Disassembly:
mov ecx, dword [0x90eeac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4e9d18
sub esp, 0x5c
mov eax, 0
mov dword [esp + 0x58], eax
mov byte [esp + 0x23], 0
mov dword [esp + 0x78], 0
mov byte [esp + 0x7c], 0
mov eax, dword [esp + 0x60]
mov edx, dword [eax + 4]
mov ecx, dword [edx]
mov ebx, dword [eax + 0x10]
lea ebp, [esp + 0x68]
mov dword [esp], ebp
mov dword [esp + 4], ebx
call ecx
mov eax, dword [esp + 8]
mov dword [esp + 0x28], eax
xor ecx, ecx
jmp 0x4e99db
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.0047b220
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x60]
mov ebx, dword [edx]
mov ebp, 0x20
jmp 0x4e9aea
mov dword [esp + 0x34], edx
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + 0x14]
movzx ebx, byte [esp + 0x68]
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x60]
mov edi, dword [edi + 8]
mov dword [esp], eax
mov dword [esp + 4], edx
mov byte [esp + 8], bl
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
call fcn.004ea070
movzx eax, byte [esp + 0x1c]
test al, al
jne 0x4e9b47
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x3c]
mov esi, 1
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x24]
jmp 0x4e9a65
mov eax, dword [esp + 0x28]
mov esi, 1
mov ecx, edx
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x60]
jmp 0x4e9a65
xor esi, esi
xchg esi, eax
test al, al
xchg esi, eax
je 0x4e9cf6
mov dword [esp + 0x24], ebp
mov dword [esp + 0x4c], ecx
test byte [ebx], al
lea eax, [ebx + 8]
mov dword [esp + 0x48], eax
mov dword [esp], eax
call fcn.0047aea0
mov eax, dword [esp + 0x4c]
test byte [eax], al
mov ecx, dword [esp + 0x64]
test byte [ecx], al
mov dword [esp], eax
call fcn.00475d90
mov eax, dword [esp + 4]
mov dword [esp + 0x44], eax
test eax, eax
je 0x4e9ab3
movzx ecx, byte [eax]
test cl, cl
jne 0x4e9ab3
xor ecx, ecx
jmp 0x4e9ad0
mov eax, dword [esp + 0x3c]
lea ecx, [eax + 4]
mov dword [esp], ecx
call fcn.00475a80
movzx eax, byte [esp + 4]
xor eax, 1
mov ecx, eax
mov eax, dword [esp + 0x44]
test cl, cl
je 0x4e99c7
jmp 0x4e9b58
mov ebp, dword [esp + 0x24]
mov ebx, eax
mov ecx, edx
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x3c], ebx
test ebp, ebp
je 0x4e9a63
test byte [ebx], al
mov edx, dword [esp + 0x64]
test byte [edx], al
lea ecx, [ebp - 4]
mov dword [esp + 0x24], ecx
shr eax, cl
cmp ecx, 0x20
sbb esi, esi
and eax, esi
and eax, 0xf
mov dword [esp + 0x30], eax
lea esi, [ebx + eax*4 + 0x14]
mov dword [esp], esi
call fcn.00475d90
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x3c]
lea edx, [ebx + edx*4 + 0x14]
test eax, eax
je 0x4e9a4e
movzx ebp, byte [eax]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4e9ada
jmp 0x4e99eb
mov eax, dword [esp + 0x18]
mov dword [esp + 0x78], eax
mov byte [esp + 0x7c], 1
add esp, 0x5c
ret
lea ecx, [0x4e9d30]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x58], ecx
mov byte [esp + 0x23], 1
test eax, eax
je 0x4e9beb
movzx ecx, byte [eax]
nop
test cl, cl
je 0x4e9cde
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + 0x14]
movzx ebx, byte [esp + 0x68]
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x60]
mov edi, dword [edi + 8]
mov dword [esp], eax
mov dword [esp + 4], edx
mov byte [esp + 8], bl
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
call fcn.004ea070
movzx eax, byte [esp + 0x1c]
test al, al
jne 0x4e9bcd
mov eax, dword [esp + 0x44]
jmp 0x4e9bed
mov eax, dword [esp + 0x18]
mov dword [esp + 0x78], eax
mov byte [esp + 0x7c], 1
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x58]
mov eax, dword [edx]
call eax
add esp, 0x5c
ret
xor eax, eax
mov dword [esp + 0x38], eax
movzx ecx, byte [esp + 0x68]
mov byte [esp + 0x22], cl
mov edx, dword [esp + 0x70]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x40], ebx
lea ebp, [0x698580]
mov dword [esp], ebp
call fcn.0040bdb0
mov eax, dword [esp + 4]
mov byte [eax], 1
movzx ecx, byte [esp + 0x22]
mov byte [eax + 8], cl
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x90f128]
test ecx, ecx
jne 0x4e9c42
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x74]
jmp 0x4e9c54
call fcn.00471470
mov ecx, dword [esp + 0x40]
mov dword [edi], ecx
mov edx, dword [esp + 0x74]
mov dword [edi + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x14], edx
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4e9caf
mov edx, dword [esp + 0x64]
mov edx, dword [edx + 0x1c]
mov ebx, dword [esp + 0x60]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
call fcn.004e97b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00465a80
jmp 0x4e9cc0
nop
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00465a80
mov eax, dword [esp + 0x74]
mov dword [esp + 0x78], eax
mov byte [esp + 0x7c], 0
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x58]
mov eax, dword [edx]
call eax
add esp, 0x5c
ret
lea eax, [0x6765e0]
mov dword [esp], eax
lea eax, [0x71d1d8]
mov dword [esp + 4], eax
call fcn.0046ab50
lea eax, [0x6765e0]
mov dword [esp], eax
lea eax, [0x71d1e0]
mov dword [esp + 4], eax
call fcn.0046ab50
nop
call fcn.004359f0
add esp, 0x5c
ret
call fcn.00470060
jmp fcn.004e9970