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

Disassembly:
mov ecx, dword [0x8c8600]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4ebafc
sub esp, 0x64
movzx eax, byte [esp + 0x6c]
mov byte [esp + 0x58], al
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x60], edx
mov ebx, dword [esp + 0x68]
mov ebp, dword [ebx + 0x14]
mov dword [esp], ebp
lea ebp, [esp + 0x58]
mov dword [esp + 4], ebp
call fcn.00401360
mov eax, dword [0x8a6ebc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x24], ecx
mov dword [esp], eax
lea eax, [0x736bc0]
mov dword [esp + 4], eax
call fcn.004e6990
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test al, al
je 0x4eb94e
mov eax, dword [esp + 0x68]
jmp 0x4eb987
lea eax, [0x8c88c8]
mov dword [esp], eax
lea eax, [0x72062c]
mov dword [esp + 4], eax
call fcn.0048e180
mov eax, dword [esp + 0x68]
mov ecx, dword [eax]
mov dword [esp], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], ecx
call fcn.004ebdc0
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 8]
mov ebx, dword [eax + 0x20]
cmp ebx, ecx
jne 0x4ebae5
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
lea edi, [esp + 0x38]
xor eax, eax
call fcn.004773d8
lea ecx, [0x4ebb10]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x3c], ecx
movzx ecx, byte [esp + 0x6c]
mov byte [esp + 0x40], cl
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x48], ebx
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x4c], edx
lea esi, [esp + 0x28]
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x68]
mov dword [esp + 0x54], esi
jmp 0x4eba41
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x30]
mov ebx, dword [edx]
mov dword [esp], ebx
mov dword [esp + 4], ecx
movzx ecx, byte [esp + 0x6c]
mov byte [esp + 8], cl
mov ebx, dword [esp + 0x70]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x20]
mov dword [esp + 0x14], esi
call fcn.004ea890
movzx ecx, byte [esp + 0x6c]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x68]
mov eax, dword [edx]
mov edi, dword [esi + 0xc]
mov dword [esp], eax
mov dword [esp + 4], edi
mov byte [esp + 8], cl
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.004eb300
movzx eax, byte [esp + 0x18]
mov ecx, dword [esp + 0x14]
test al, al
jne 0x4ebab2
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x38]
call eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov ebx, dword [esp + 0x68]
mov ebp, dword [ebx + 0xc]
mov esi, dword [esp]
mov dword [esp], ecx
mov dword [esp + 4], ebp
movzx ecx, byte [esp + 0x6c]
mov byte [esp + 8], cl
mov ebp, dword [esp + 0x70]
mov dword [esp + 0xc], ebp
mov edi, dword [esp + 0x74]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], esi
call fcn.004eae70
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x68]
mov edx, dword [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004eb7d0
mov eax, dword [esp + 8]
test eax, eax
je 0x4eb9f2
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x78], eax
add esp, 0x64
ret
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea eax, [0x6c1300]
mov dword [esp + 8], eax
call fcn.0040b180
nop
call fcn.00475ee0
jmp fcn.004eb8d0