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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x78
push ebx
push ebp
push esi
push edi
call fcn.004d6912
mov ebx, eax
push dword [ebx + 0xee]
mov ebp, dword [ebx + 0x102]
call dword [sym.imp.USER32.dll_GetDC]
push dword [ebx + 0x106]
mov esi, eax
push esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
test ebp, ebp
je 0x4c3476
mov eax, dword [ebp - 4]
cdq
sub eax, edx
sar eax, 1
jmp 0x4c3478
xor eax, eax
push 0x400
lea ecx, [esp + 0x28]
push ecx
push eax
push ebp
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [esp + 0x18]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
push dword [esp + 0x18]
sub esi, dword [esp + 0x2c]
sub edi, dword [esp + 0x30]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x14]
push dword [ebx + 0xee]
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
push dword [ebx + 0xee]
lea eax, [edi + 6]
add esi, 6
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push dword [ebx + 0xee]
call dword [sym.imp.USER32.dll_ShowWindow]
push 2
push dword [ebx + 0xfe]
push dword [ebx + 0xfa]
call dword [sym.imp.USER32.dll_MonitorFromPoint]
xor ecx, ecx
mov dword [esp + 0x60], 0x28
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], ecx
lea ecx, [esp + 0x60]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoA]
mov edi, dword [ebx + 0xfa]
mov eax, esi
mov ecx, dword [esp + 0x6c]
cdq
sub eax, edx
sar eax, 1
sub edi, eax
lea eax, [esi + edi]
cmp eax, ecx
jle 0x4c3554
mov edi, ecx
sub edi, esi
mov eax, dword [esp + 0x64]
cmp edi, eax
jge 0x4c355e
mov edi, eax
call dword [sym.imp.USER32.dll_GetCursor]
xor ebp, ebp
mov dword [esp + 0x1c], 0
test eax, eax
je 0x4c3603
xor ecx, ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x34]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x4c3603
cmp dword [esp + 0x44], ebp
sete byte [esp + 0x13]
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x48]
push eax
push 0x18
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x4c35ed
mov eax, dword [esp + 0x50]
test eax, eax
jns 0x4c35e2
neg eax
mov dword [esp + 0x50], eax
movzx ecx, byte [esp + 0x13]
inc ecx
cdq
idiv ecx
mov ebp, eax
push dword [esp + 0x44]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push dword [esp + 0x40]
call esi
mov esi, dword [esp + 0x18]
add ebp, dword [ebx + 0xfe]
push 0x54
push dword [esp + 0x18]
push esi
push ebp
push edi
push 0
push dword [ebx + 0xee]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [ebx + 0xee]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0x64
push 1
push dword [ebx + 0xee]
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret