Function at 0x4541d0
Capabilities:
Hide graphical window
Read .ini file
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
call dword [sym.imp.comctl32.dll_InitCommonControls]
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov eax, dword [0x463e4c]
push 0x66
push eax
mov dword [esp + 0x6c], 3
mov dword [esp + 0x7c], eax
call dword [sym.imp.user32.dll_LoadIconA]
push 0x7f00
push 0
mov dword [esp + 0x80], eax
call dword [sym.imp.user32.dll_LoadCursorA]
push 0
mov dword [esp + 0x80], eax
call dword [sym.imp.gdi32.dll_GetStockObject]
lea ecx, [esp + 0x64]
push ecx
mov dword [esp + 0x84], eax
mov dword [esp + 0x8c], 0x42f418
mov dword [esp + 0x6c], 0x453ed0
call dword [sym.imp.user32.dll_RegisterClassA]
mov edi, dword [sym.imp.user32.dll_GetSystemMetrics]
push 0x10
call edi
mov esi, eax
sub esi, 0x258
push 0x11
shr esi, 1
call edi
mov ecx, dword [0x464264]
mov edx, dword [0x463e4c]
mov ebx, dword [0x464260]
push 0
push edx
sub eax, 0x190
push 0
shr eax, 1
neg ecx
sbb ecx, ecx
and ecx, ebx
push ecx
push 0x190
push 0x258
push eax
push esi
push 0xef0000
push 0x42f24c
push 0x42f418
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov esi, eax
mov eax, dword [0x464264]
test eax, eax
mov dword [0x463e50], esi
je 0x454302
mov edx, dword [0x464260]
push edx
call dword [sym.imp.user32.dll_IsWindowEnabled]
test eax, eax
je 0x454302
mov eax, dword [0x464260]
push 0
push eax
call dword [sym.imp.user32.dll_EnableWindow]
mov ecx, dword [0x463e4c]
push 0x14
push 0x10
push 0x10
push 0x10
push 0x10
push 0x11
push 0x42ed68
push 0x76
push ecx
call dword [sym.imp.user32.dll_LoadBitmapA]
push eax
push 0
push 0x10
push 0x2000
push 0x50000900
push esi
call dword [sym.imp.comctl32.dll_CreateToolbarEx]
lea edx, [esp + 0x24]
mov edi, eax
push edx
push edi
mov dword [0x463e54], edi
call dword [sym.imp.user32.dll_GetClientRect]
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x28]
push 0x4537a0
sub eax, ebp
push 0xfffffffffffffffc
add eax, 2
push edi
mov dword [0x463d18], eax
call dword [sym.imp.user32.dll_SetWindowLongA]
mov ecx, dword [0x463e4c]
push 0x451
push ecx
mov dword [0x464288], eax
call dword [sym.imp.user32.dll_LoadAcceleratorsA]
mov edi, dword [sym.imp.user32.dll_ShowWindow]
push 1
push esi
mov dword [esp + 0x18], eax
call edi
push esi
call dword [sym.imp.user32.dll_UpdateWindow]
mov eax, dword [0x463d28]
test eax, eax
je 0x4543db
mov edx, dword [0x463d2c]
mov ebx, dword [0x463d3c]
mov ecx, dword [0x463d34]
mov eax, dword [0x463d30]
push 0x40
push ebx
mov dword [esp + 0x3c], edx
mov edx, dword [0x463d38]
push edx
push ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ebx
push eax
jmp 0x45441a
mov eax, dword [0x463d24]
test eax, eax
je 0x45442b
push 0x463d48
push 0x14
lea ecx, [esp + 0x3c]
push ecx
push 0x42ef84
push 0x40660c
call dword [sym.imp.kernel32.dll_GetPrivateProfileStructA]
test eax, eax
je 0x45442b
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push 0x40
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push edx
push 0xfffffffffffffffe
push esi
call dword [sym.imp.user32.dll_SetWindowPos]
mov eax, dword [esp + 0x34]
push eax
push esi
call edi
push esi
mov ecx, 0x463d10
call fcn.00452a40
mov eax, dword [0x464278]
test eax, eax
je 0x454452
push 0
push 0x9c44
push 0x111
push esi
call dword [sym.imp.user32.dll_SendMessageA]
mov eax, dword [0x463d40]
test eax, eax
mov dword [0x463d44], 1
je 0x45448a
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x20], ecx
push edx
mov dword [esp + 0x18], 8
mov dword [esp + 0x24], esi
call eax
mov ebx, dword [sym.imp.user32.dll_GetMessageA]
push 0
push 0
push 0
lea eax, [esp + 0x54]
push eax
call ebx
test eax, eax
je 0x4544e4
mov edi, dword [sym.imp.user32.dll_TranslateAccelerator]
mov ebp, dword [sym.imp.user32.dll_TranslateMessage]
lea ecx, [ecx]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x48]
push ecx
push edx
push esi
call edi
test eax, eax
jne 0x4544d3
lea eax, [esp + 0x48]
push eax
call ebp
lea ecx, [esp + 0x48]
push ecx
call dword [sym.imp.user32.dll_DispatchMessageA]
push 0
push 0
push 0
lea edx, [esp + 0x54]
push edx
call ebx
test eax, eax
jne 0x4544b0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x7c
ret 4