Function at 0x43b3f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
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 - 0x44], ebx
lea edi, [ebp - 0x40]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0xa
pop ecx
stosd dword es:[edi], eax
push 0x4f9c98
xor eax, eax
mov dword [ebp - 0x34], edx
lea edi, [ebp - 0x30]
push edx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x34]
push eax
push str.WindowPlacement
push 0x44d6b4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructW]
test eax, eax
lea eax, [ebp - 0x18]
jne 0x43b443
lea eax, [ebp - 0x44]
push eax
call fcn.004287d0
mov dword [0x492a30], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push ebx
push 0x43ada9
push ebx
push 0x65
push dword [0x4fa544]
mov esi, eax
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov dword [0x4fa548], eax
cmp eax, ebx
jne 0x43b47b
xor eax, eax
jmp 0x43b867
cmp dword [0x506fb4], 4
jl 0x43b494
push eax
push str.hwndMainDlg0x_08Ix
push 4
call fcn.004452a3
add esp, 0xc
cmp dword [0x4fa50c], ebx
je 0x43b4a3
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push dword [0x4fa550]
call esi
push ebx
push dword [0x4fa554]
call esi
push ebx
push dword [0x4fa558]
call esi
push ebx
push dword [0x4fa560]
call esi
push ebx
push dword [0x4fa568]
call esi
push 1
push dword [0x4fa554]
call fcn.00425c27
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push 0x32
push 0x1701
push dword [0x4fa560]
call edi
push ebx
push 0x32
push 0x1701
push dword [0x4fa568]
call edi
push ebx
push ebx
push 0x14b
push dword [0x4fa560]
call edi
push ebx
push ebx
push 0x14b
push dword [0x4fa568]
call edi
push 0x46bd00
push ebx
push 0x143
push dword [0x4fa560]
call edi
push 0x46bd00
push ebx
push 0x143
push dword [0x4fa568]
call edi
cmp word [0x4fa638], bx
jne 0x43b83b
cmp word [0x4fa840], bx
jne 0x43b83b
mov eax, dword [0x492a30]
push 0x4f9c98
push ebx
push 0x468e40
push 0x44d6b4
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0x4f9c98
push 0x2c
mov dword [ebp - 8], eax
lea eax, [ebp - 0x34]
push eax
push str.WindowPlacement
push 0x44d6b4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructW]
test eax, eax
je 0x43b651
push dword [ebp - 0x2c]
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push str.WinPlacement:_left_i_top_i_bottom_i_right_i__show_i
push 1
call fcn.004452a3
add esp, 0x1c
cmp dword [ebp - 0x2c], 2
jne 0x43b5dc
movzx eax, byte [ebp - 0x30]
and eax, 2
or eax, 1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
cmp eax, 1
je 0x43b5ec
cmp eax, 0xa
je 0x43b5ec
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x43b62f
cmp eax, 0x3e8
jae 0x43b62f
cmp dword [ebp - 4], eax
je 0x43b62f
push eax
mov eax, dword [ebp - 0xc]
push dword [ebp - 4]
sub eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
add eax, dword [ebp - 0x14]
push dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push dword [ebp - 4]
sub eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x34]
push eax
push dword [0x4fa548]
call dword [sym.imp.USER32.dll_SetWindowPlacement]
push dword [0x4fa548]
call fcn.00428861
mov dword [0x492a30], eax
jmp 0x43b658
mov dword [ebp - 0x2c], 3
push str.main
push 1
push 0x7f02
call fcn.0042ed07
push dword [0x4fa548]
call dword [sym.imp.USER32.dll_UpdateWindow]
push dword [ebp - 0x2c]
push dword [0x4fa548]
call esi
lea eax, [ebp - 0x44]
push eax
push dword [0x4fa548]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x44]
push 0x4f9c98
push 3
pop ecx
cdq
idiv ecx
push eax
push str.SplitterPos
push 0x44d6b4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x4fac5c], eax
cmp dword [ebp - 8], ebx
je 0x43b6ce
push dword [ebp - 8]
push dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [0x4fac5c], eax
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x44]
sub eax, 0x40
push eax
push 0x40
push 0x4fac5c
call fcn.004248ee
push dword [0x4fa548]
call fcn.00426d3c
push ebx
push ebx
push ebx
call fcn.004309cc
push 5
push dword [0x4fa550]
call esi
push 5
push dword [0x4fa554]
call esi
push 5
push dword [0x4fa558]
call esi
push 5
push dword [0x4fa560]
call esi
push 5
push dword [0x4fa568]
call esi
cmp dword [ebp + 8], ebx
je 0x43b864
cmp word [0x4faa48], bx
jne 0x43b864
push dword [0x4fa550]
push dword [0x4fa548]
call fcn.00426804
push dword [0x4fa548]
mov esi, dword [sym.imp.USER32.dll_UpdateWindow]
call esi
push ebx
push 1
push 0xb
push dword [0x4fa548]
call edi
push dword [0x4fa548]
call esi
cmp dword [0x4f9f68], 0x501
mov dword [ebp - 0x84], 0x20
mov dword [ebp - 0x80], 5
jb 0x43b7d6
push 4
push dword [0x4fa548]
push str.RegisterDeviceNotification_0x_Ix__0x_x_...
push 3
call fcn.004452a3
add esp, 0x10
push 4
lea eax, [ebp - 0x84]
push eax
push dword [0x4fa548]
call dword [sym.imp.USER32.dll_RegisterDeviceNotificationW]
push eax
push str.h0x_Ix
push 3
mov dword [0x4fc9a0], eax
call fcn.004452a3
add esp, 0xc
jmp 0x43b864
mov eax, 0x449794
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], 0x449784
mov dword [ebp - 0x5c], 0x449774
mov dword [ebp - 0x58], 0x46d034
mov dword [ebp - 0x54], 0x46d044
mov dword [ebp - 0x50], 0x46d094
mov dword [ebp - 0x4c], 0x46d074
mov dword [ebp - 0x48], ebx
xor esi, esi
push 0x10
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.0043f542
add esp, 0xc
push ebx
lea eax, [ebp - 0x84]
push eax
push dword [0x4fa548]
call dword [sym.imp.USER32.dll_RegisterDeviceNotificationW]
mov eax, dword [ebp + esi*4 - 0x60]
inc esi
cmp eax, ebx
jne 0x43b80d
jmp 0x43b864
push dword [0x4fa548]
call dword [sym.imp.USER32.dll_IsWindowVisible]
push ebx
push 0x12c
push 0x190
push ebx
push 0x7530
push dword [0x4fa548]
call dword [sym.imp.USER32.dll_MoveWindow]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4