Function at 0x486840
Capabilities:
Hide graphical window

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x98
call fcn.0040d480
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push ebx
mov dword [0x48f538], eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0x4219f0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], eax
mov dword [esp + 4], 0x4901a6
mov dword [esp], eax
call dword [sym.imp.USER32.dll_LoadIconA]
push esi
push esi
mov dword [ebp - 0x2c], eax
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push edi
push edi
mov dword [ebp - 0x28], eax
mov dword [esp], 0xf0f0f0
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [ebp - 0x24], eax
push edx
lea eax, [ebp - 0x40]
mov dword [ebp - 0x1c], str.dllBridge
mov dword [esp], eax
call dword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
push ecx
je 0x486ba7
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esp], 0
call esi
push edx
mov ebx, eax
mov dword [esp], 1
call esi
mov edx, dword [0x48f538]
push ecx
sub eax, 0xfa
mov ecx, 2
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], edx
cdq
mov dword [esp + 0x20], 0
idiv ecx
mov dword [esp + 0x1c], 0xfa
mov dword [esp + 0x18], 0x21c
mov dword [esp + 0xc], 0xcf0000
mov dword [esp + 8], str.Your_product_name
mov dword [esp + 4], str.dllBridge
mov dword [esp], 0
mov dword [esp + 0x14], eax
lea eax, [ebx - 0x21c]
cdq
idiv ecx
mov dword [esp + 0x10], eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
sub esp, 0x30
test eax, eax
mov dword [0x48f53c], eax
je 0x486ba7
mov dword [esp + 0x34], str.Segoe_UI
mov dword [esp + 0x30], 0
lea esi, [ebp - 0x64]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x190
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x14
call dword [sym.imp.GDI32.dll_CreateFontA]
sub esp, 0x38
mov dword [esp + 8], eax
mov eax, dword [0x48f53c]
mov dword [esp + 0xc], 1
mov dword [esp + 4], 0x30
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SendMessageA]
sub esp, 0x10
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x5c], 0
mov dword [esp], 0x10
mov dword [ebp - 0x58], 0
call fcn.00484ef0
mov ebx, eax
mov dword [ebp - 0x5c], eax
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax], fcn.00478cb0
mov dword [eax + 0xc], 0x4217f0
mov dword [esp], 0x14
mov dword [ebp - 0x64], 0
call fcn.00484ef0
mov dword [eax + 0x10], ebx
mov dword [eax], fcn.00473ca4
mov ecx, esi
mov edx, dword [ebp - 0x58]
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x64], edx
call fcn.00465840
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x68]
mov dword [esp], esi
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x60], eax
call fcn.00478ac0
push ecx
lea ecx, [ebp - 0x60]
call fcn.00465840
lea ecx, [ebp - 0x58]
call fcn.00465840
mov eax, dword [0x48f53c]
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x48f53c]
push ebx
push ebx
lea ebx, [ebp - 0x5c]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_UpdateWindow]
push edi
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call edi
sub esp, 0x10
test eax, eax
je 0x486b83
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_TranslateMessage]
push eax
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push edx
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0x29b92700
mov dword [esp + 4], 0
mov dword [esp], esi
call fcn.00419ba0
mov eax, dword [0x48f544]
inc eax
cmp eax, 3
mov dword [0x48f544], eax
jg 0x486b0e
mov eax, dword [0x48f53c]
mov dword [esp], eax
call fcn.004216f0
jmp 0x486b0e
lea ecx, [ebp - 0x68]
call fcn.00478bf0
mov eax, dword [ebp - 0x68]
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.0041c710
test eax, eax
jne 0x486ba7
call fcn.00481960
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret