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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4e8573
sub esp, 0x40
xor ebx, ebx
xor ebx, ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 8], ebx
call fcn.004e9230
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], ecx
cmp ecx, 0
je 0x4e8346
mov dword [esp + 0x74], 0
add esp, 0x40
ret
mov dword [esp + 0x24], eax
mov dword [esp], eax
mov ebx, dword [esp + 0x54]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 8], ebx
movzx ebx, byte [esp + 0x60]
mov byte [esp + 0xc], bl
call fcn.004e9540
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], ecx
cmp ecx, 0
je 0x4e839d
mov dword [esp], eax
mov edx, dword [0x6c4824]
mov ebx, dword [edx]
call ebx
mov dword [esp + 0x74], 0
add esp, 0x40
ret
mov dword [esp], eax
mov ebx, dword [esp + 0x54]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x10], ebx
call fcn.004dca10
mov ebp, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], eax
cmp eax, 0
je 0x4e8407
mov ebx, dword [esp + 0x24]
mov dword [esp], ebx
mov edx, dword [0x6c4824]
mov ebx, dword [edx]
call ebx
mov dword [esp + 0x74], 0
add esp, 0x40
ret
cmp ecx, 0
je 0x4e84f8
cmp ebp, 0
jne 0x4e84f8
mov eax, dword [esp + 0x58]
cmp eax, 1
jne 0x4e848b
mov dword [esp + 0x74], esi
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov ebx, dword [0x6d9c84]
mov dword [esp + 0xc], ebx
call fcn.004e8a70
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], eax
cmp eax, 0
je 0x4e847d
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
call fcn.004ddc20
mov dword [esp + 0x74], 0
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x78], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x7c], ebx
add esp, 0x40
ret
xor ebx, ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
add esp, 0x40
ret
cmp eax, 2
jne 0x4e84ef
mov dword [esp + 0x74], esi
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004e8df0
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], eax
cmp eax, 0
je 0x4e84e1
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
call fcn.004ddc20
mov dword [esp + 0x74], 0
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x78], ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x7c], ebx
add esp, 0x40
ret
xor ebx, ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
add esp, 0x40
ret
cmp eax, 5
je 0x4e8422
mov dword [esp + 0x74], esi
mov dword [esp], esi
mov ebx, dword [esp + 0x44]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebp
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x18], ebx
call fcn.004e8630
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], eax
cmp eax, 0
je 0x4e8565
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
call fcn.004ddc20
mov dword [esp + 0x74], 0
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x78], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x7c], ebx
add esp, 0x40
ret
xor ebx, ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
add esp, 0x40
ret
call fcn.00450ed0
jmp fcn.004e82e0