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

Disassembly:
sub esp, 0x64
push ebp
push esi
mov esi, ecx
mov ebp, dword [esi + 0x68]
mov eax, dword [ebp + 0x88]
mov dword [esi + 0x70], eax
mov ecx, dword [ebp + 0x84]
and ecx, 0xf000
mov dword [esi + 0x78], ecx
mov ecx, ebp
call fcn.00482498
test eax, eax
je 0x4eb739
mov ecx, dword [esi + 0x68]
call fcn.0047827d
push 0x5ae820
mov ecx, eax
call fcn.004883b0
test eax, eax
jne 0x4ebb63
mov edx, dword [esi + 0x70]
and edx, 0xf000
push edi
cmp edx, 0xf000
jne 0x4eb77a
call fcn.00485fc4
xor edi, edi
cmp eax, edi
je 0x4eb761
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
jmp 0x4eb763
xor eax, eax
mov ecx, dword [eax + 0x20]
push edi
push 0x673e
push 0x362
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4eb77c
xor edi, edi
push ebx
mov ebx, dword [sym.imp.USER32.dll_PeekMessageA]
push edi
push 0xf
push 0xf
push edi
lea edx, [esp + 0x68]
push edx
call ebx
test eax, eax
je 0x4eb7c8
push 0xf
push 0xf
push edi
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x4ebb61
lea ecx, [esp + 0x58]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push edi
push 0xf
push 0xf
push edi
lea edx, [esp + 0x68]
push edx
call ebx
test eax, eax
jne 0x4eb794
lea eax, [esi + 0xc]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov edx, dword [esi + 0x68]
lea ecx, [esp + 0x38]
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov eax, dword [edx + 0x20]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov ebx, dword [esi + 0x78]
push 1
push edi
mov dword [esi + 8], ecx
mov dword [esi + 0xe8], ecx
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esi + 0x6c]
push 1
push 0xe900
push 0xffff
push edi
mov dword [esi + 4], eax
mov dword [esi + 0xe4], eax
and ebx, 0xa000
call fcn.00477ba0
mov ecx, dword [esi + 0x6c]
lea edx, [esp + 0x28]
push edx
call fcn.0047f67b
mov ecx, dword [esi + 0x6c]
push 0xe81c
call fcn.00483894
mov edi, eax
test edi, edi
je 0x4eb87f
mov ecx, edi
call fcn.0047b4d0
test eax, 0x10000000
je 0x4eb87f
mov ecx, dword [edi + 0x20]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x18]
sub edx, dword [esp + 0x20]
add dword [esp + 0x28], edx
mov ecx, dword [esi + 0x6c]
push 0xe81d
call fcn.00483894
mov edi, eax
test edi, edi
je 0x4eb8bb
mov ecx, edi
call fcn.0047b4d0
test eax, 0x10000000
je 0x4eb8bb
mov ecx, dword [edi + 0x20]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x18]
add dword [esp + 0x30], edx
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
sub edx, dword [esp + 0x2c]
sub eax, ecx
add ecx, eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x3c]
lea edi, [edx + ecx]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x28]
mov dword [esi + 0xc0], edi
mov edi, dword [esp + 0x20]
mov dword [esi + 0xc4], ecx
mov dword [esi + 0xc8], edi
mov edi, dword [esp + 0x24]
mov dword [esi + 0xcc], edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x10], eax
add eax, edi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], edx
add edx, eax
mov dword [esi + 0xd0], edi
mov dword [esp + 0x24], edx
mov edx, eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0xd4], edx
mov edx, dword [esp + 0x24]
mov dword [esi + 0xd8], eax
mov eax, dword [esi + 0xc4]
mov dword [esi + 0xdc], edx
add eax, dword [ebp + 0xa4]
mov dword [esi + 0xcc], eax
mov edx, dword [ebp + 0xa8]
add edx, dword [esi + 0xd0]
mov dword [esi + 0xd8], edx
mov eax, dword [ebp + 0xa8]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
lea eax, [edx - 0x10]
cmp dword [ebp + 0xac], eax
jl 0x4eb991
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x1c], eax
jmp 0x4eb99b
mov edx, dword [ebp + 0xac]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 0xa0]
add edx, 0xfffffff0
cmp eax, edx
jl 0x4eb9bc
mov eax, 0x55555556
imul dword [esp + 0x10]
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp + 0xa4]
add eax, edi
add edx, ecx
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], eax
mov eax, edx
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x18]
mov dword [esi + 0x34], eax
lea eax, [edx + edi]
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x38], edi
add edx, ecx
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x40], eax
mov eax, edx
mov dword [esi + 0x44], eax
mov eax, dword [ebp + 0x98]
mov ebp, dword [ebp + 0x9c]
add eax, edi
neg ebx
sbb ebx, ebx
mov dword [esp + 0x54], edx
lea edx, [ecx + ebp]
lea ebp, [esi + 0x48]
mov dword [ebp], edi
mov dword [esi + 0x58], edi
mov dword [ebp + 4], ecx
mov dword [esi + 0x5c], ecx
mov ecx, dword [esi + 0x6c]
and ebx, 0x1000
add ebx, 0x1000
mov dword [ebp + 8], eax
mov dword [esi + 0x60], eax
push ebx
mov dword [ebp + 0xc], edx
mov dword [esi + 0x64], edx
call fcn.00491a8b
mov edi, eax
test edi, edi
jne 0x4eba47
call fcn.0047cdb0
mov edx, dword [edi]
mov eax, dword [edx + 0x68]
push 0
push ebp
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0x68]
push 0
lea ebx, [esi + 0x58]
push ebx
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0x60]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
push ecx
push edx
lea edx, [esi + 0xc0]
call fcn.004eae80
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
push eax
push ecx
lea edx, [esi + 0xd0]
call fcn.004eae80
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x88]
push edx
push eax
lea edx, [esi + 0x28]
call fcn.004eae80
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x90]
push ecx
push edx
lea edx, [esi + 0x38]
call fcn.004eae80
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x98]
push eax
push ecx
mov edx, ebp
call fcn.004eae80
mov edx, dword [esp + 0xa4]
mov eax, dword [esp + 0xa0]
push edx
push eax
mov edx, ebx
call fcn.004eae80
add esp, 0x30
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.004777db
mov edi, eax
mov ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_LockWindowUpdate]
test eax, eax
je 0x4ebb25
mov edx, dword [edi + 0x20]
push 0x403
push 0
push edx
jmp 0x4ebb2d
mov eax, dword [edi + 0x20]
push 3
push 0
push eax
call dword [sym.imp.USER32.dll_GetDCEx]
push eax
call fcn.0047f8e9
mov ecx, esi
mov dword [esi + 0x84], eax
call fcn.004eb020
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
push ecx
push edx
mov ecx, esi
mov dword [esi + 0x74], eax
call fcn.004eb2b0
mov ecx, esi
call fcn.004eb5c0
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x64
ret 8