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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4ebb53
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.004ec810
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 0x4eb926
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.004ecb20
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 0x4eb97d
mov dword [esp], eax
mov edx, dword [0x6c6824]
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.004dfff0
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 0x4eb9e7
mov ebx, dword [esp + 0x24]
mov dword [esp], ebx
mov edx, dword [0x6c6824]
mov ebx, dword [edx]
call ebx
mov dword [esp + 0x74], 0
add esp, 0x40
ret
cmp ecx, 0
je 0x4ebad8
cmp ebp, 0
jne 0x4ebad8
mov eax, dword [esp + 0x58]
cmp eax, 1
jne 0x4eba6b
mov dword [esp + 0x74], esi
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov ebx, dword [0x6dbc84]
mov dword [esp + 0xc], ebx
call fcn.004ec050
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], eax
cmp eax, 0
je 0x4eba5d
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
call fcn.004e1200
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 0x4ebacf
mov dword [esp + 0x74], esi
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004ec3d0
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], eax
cmp eax, 0
je 0x4ebac1
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
call fcn.004e1200
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 0x4eba02
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.004ebc10
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], eax
cmp eax, 0
je 0x4ebb45
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
call fcn.004e1200
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.00452240
jmp fcn.004eb8c0