Function at 0x43ecdd
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
xor eax, eax
push 0x2c
pop edx
xor ebx, ebx
mov dword [ebp - 0x18], ebx
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0xa
pop ecx
stosd dword es:[edi], eax
push 0x5007f0
xor eax, eax
mov dword [ebp - 0x64], edx
lea edi, [ebp - 0x60]
push edx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x64]
push eax
push str.WindowPlacement
push 0x450eac
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructW]
test eax, eax
lea eax, [ebp - 0x48]
jne 0x43ed2d
lea eax, [ebp - 0x18]
push eax
call fcn.00429f81
mov dword [0x498ab0], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push ebx
push 0x43e5eb
push ebx
push 0x65
push dword [0x5010b8]
mov esi, eax
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov dword [0x5010bc], eax
cmp eax, ebx
jne 0x43ed65
xor eax, eax
jmp 0x43f11a
cmp dword [0x50da14], 4
jl 0x43ed7e
push eax
push str.hwndMainDlg0x_08Ix
push 4
call fcn.004487a4
add esp, 0xc
cmp dword [0x501074], ebx
je 0x43ed8d
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push dword [0x5010c4]
call esi
push ebx
push dword [0x5010c8]
call esi
push ebx
push dword [0x5010cc]
call esi
push ebx
push dword [0x5010d4]
call esi
push ebx
push dword [0x5010dc]
call esi
push 1
push dword [0x5010c8]
call fcn.004273c3
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push 0x32
push 0x1701
push dword [0x5010d4]
call edi
push ebx
push 0x32
push 0x1701
push dword [0x5010dc]
call edi
push ebx
push ebx
push 0x14b
push dword [0x5010d4]
call edi
push ebx
push ebx
push 0x14b
push dword [0x5010dc]
call edi
push 0x4702f8
push ebx
push 0x143
push dword [0x5010d4]
call edi
push 0x4702f8
push ebx
push 0x143
push dword [0x5010dc]
call edi
cmp word [0x5011e8], bx
jne 0x43f0ee
cmp word [0x5013f0], bx
jne 0x43f0ee
mov eax, dword [0x498ab0]
push 0x5007f0
push ebx
push 0x46c9f0
push 0x450eac
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0x5007f0
push 0x2c
mov dword [ebp - 4], eax
lea eax, [ebp - 0x64]
push eax
push str.WindowPlacement
push 0x450eac
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructW]
test eax, eax
je 0x43ef3b
push dword [ebp - 0x5c]
push dword [ebp - 0x40]
push dword [ebp - 0x3c]
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push str.WinPlacement:_left_i_top_i_bottom_i_right_i__show_i
push 1
call fcn.004487a4
add esp, 0x1c
cmp dword [ebp - 0x5c], 2
jne 0x43eec6
movzx eax, byte [ebp - 0x60]
and eax, 2
or eax, 1
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 8]
cmp eax, 1
je 0x43eed6
cmp eax, 0xa
je 0x43eed6
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x43ef19
cmp eax, 0x3e8
jae 0x43ef19
cmp dword [ebp - 8], eax
je 0x43ef19
push eax
mov eax, dword [ebp - 0x3c]
push dword [ebp - 8]
sub eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
add eax, dword [ebp - 0x44]
push dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x40]
push dword [ebp - 8]
sub eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
add eax, dword [ebp - 0x48]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x64]
push eax
push dword [0x5010bc]
call dword [sym.imp.USER32.dll_SetWindowPlacement]
push dword [0x5010bc]
call fcn.0042a012
mov dword [0x498ab0], eax
jmp 0x43ef42
mov dword [ebp - 0x5c], 3
push str.main
push 1
push 0x7f02
call fcn.004309d8
push dword [0x5010bc]
call dword [sym.imp.USER32.dll_UpdateWindow]
push dword [ebp - 0x5c]
push dword [0x5010bc]
call esi
lea eax, [ebp - 0x18]
push eax
push dword [0x5010bc]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
push 0x5007f0
push 3
pop ecx
cdq
idiv ecx
push eax
push str.SplitterPos
push 0x450eac
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x501808], eax
cmp dword [ebp - 4], ebx
je 0x43efb8
push dword [ebp - 4]
push dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [0x501808], eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
sub eax, 0x40
push eax
push 0x40
push 0x501808
call fcn.0042607a
push dword [0x5010bc]
call fcn.00428660
push ebx
push ebx
push ebx
call fcn.004329d6
push 5
push dword [0x5010c4]
call esi
push 5
push dword [0x5010c8]
call esi
push 5
push dword [0x5010cc]
call esi
push 5
push dword [0x5010d4]
call esi
push 5
push dword [0x5010dc]
call esi
cmp dword [ebp + 8], ebx
je 0x43f117
cmp word [0x5015f8], bx
jne 0x43f117
push dword [0x5010c4]
push dword [0x5010bc]
call fcn.00427ffa
push dword [0x5010bc]
mov esi, dword [sym.imp.USER32.dll_UpdateWindow]
call esi
push ebx
push 1
push 0xb
push dword [0x5010bc]
call edi
push dword [0x5010bc]
call esi
cmp dword [0x500ac0], 0x501
mov dword [ebp - 0x38], 0x20
mov dword [ebp - 0x34], 5
jb 0x43f0b7
push 4
push dword [0x5010bc]
push str.RegisterDeviceNotification_0x_Ix__0x_x_...
push 3
call fcn.004487a4
add esp, 0x10
push 4
lea eax, [ebp - 0x38]
push eax
push dword [0x5010bc]
call dword [sym.imp.USER32.dll_RegisterDeviceNotificationW]
push eax
push str.h0x_Ix
push 3
mov dword [0x503554], eax
call fcn.004487a4
add esp, 0xc
jmp 0x43f117
mov eax, dword [0x498f00]
xor esi, esi
jmp 0x43f0e8
push 0x10
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00442d99
add esp, 0xc
push ebx
lea eax, [ebp - 0x38]
push eax
push dword [0x5010bc]
call dword [sym.imp.USER32.dll_RegisterDeviceNotificationW]
mov eax, dword [esi*4 + 0x498f04]
inc esi
cmp eax, ebx
jne 0x43f0c0
jmp 0x43f117
push dword [0x5010bc]
call dword [sym.imp.USER32.dll_IsWindowVisible]
push ebx
push 0x12c
push 0x190
push ebx
push 0x7530
push dword [0x5010bc]
call dword [sym.imp.USER32.dll_MoveWindow]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4