Function at 0x43b398
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 0x4f9890
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 0x44d58c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructW]
test eax, eax
lea eax, [ebp - 0x18]
jne 0x43b3eb
lea eax, [ebp - 0x44]
push eax
call fcn.0042856e
mov dword [0x492a28], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push ebx
push 0x43ad75
push ebx
push 0x65
push dword [0x4fa13c]
mov esi, eax
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov dword [0x4fa140], eax
cmp eax, ebx
jne 0x43b423
xor eax, eax
jmp 0x43b80f
cmp dword [0x506bac], 4
jl 0x43b43c
push eax
push str.hwndMainDlg0x_08Ix
push 4
call fcn.004453fb
add esp, 0xc
cmp dword [0x4fa104], ebx
je 0x43b44b
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push dword [0x4fa148]
call esi
push ebx
push dword [0x4fa14c]
call esi
push ebx
push dword [0x4fa150]
call esi
push ebx
push dword [0x4fa158]
call esi
push ebx
push dword [0x4fa160]
call esi
push 1
push dword [0x4fa14c]
call fcn.00425a34
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push 0x32
push 0x1701
push dword [0x4fa158]
call edi
push ebx
push 0x32
push 0x1701
push dword [0x4fa160]
call edi
push ebx
push ebx
push 0x14b
push dword [0x4fa158]
call edi
push ebx
push ebx
push 0x14b
push dword [0x4fa160]
call edi
push 0x46be04
push ebx
push 0x143
push dword [0x4fa158]
call edi
push 0x46be04
push ebx
push 0x143
push dword [0x4fa160]
call edi
cmp word [0x4fa230], bx
jne 0x43b7e3
cmp word [0x4fa438], bx
jne 0x43b7e3
mov eax, dword [0x492a28]
push 0x4f9890
push ebx
push 0x468d98
push 0x44d58c
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0x4f9890
push 0x2c
mov dword [ebp - 8], eax
lea eax, [ebp - 0x34]
push eax
push str.WindowPlacement
push 0x44d58c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructW]
test eax, eax
je 0x43b5f9
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.004453fb
add esp, 0x1c
cmp dword [ebp - 0x2c], 2
jne 0x43b584
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 0x43b594
cmp eax, 0xa
je 0x43b594
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x43b5d7
cmp eax, 0x3e8
jae 0x43b5d7
cmp dword [ebp - 4], eax
je 0x43b5d7
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 [0x4fa140]
call dword [sym.imp.USER32.dll_SetWindowPlacement]
push dword [0x4fa140]
call fcn.004285ff
mov dword [0x492a28], eax
jmp 0x43b600
mov dword [ebp - 0x2c], 3
push str.main
push 1
push 0x7f02
call fcn.0042eaf5
push dword [0x4fa140]
call dword [sym.imp.USER32.dll_UpdateWindow]
push dword [ebp - 0x2c]
push dword [0x4fa140]
call esi
lea eax, [ebp - 0x44]
push eax
push dword [0x4fa140]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x44]
push 0x4f9890
push 3
pop ecx
cdq
idiv ecx
push eax
push str.SplitterPos
push 0x44d58c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x4fa854], eax
cmp dword [ebp - 8], ebx
je 0x43b676
push dword [ebp - 8]
push dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [0x4fa854], eax
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x44]
sub eax, 0x40
push eax
push 0x40
push 0x4fa854
call fcn.004246fb
push dword [0x4fa140]
call fcn.00426b49
push ebx
push ebx
push ebx
call fcn.004307d5
push 5
push dword [0x4fa148]
call esi
push 5
push dword [0x4fa14c]
call esi
push 5
push dword [0x4fa150]
call esi
push 5
push dword [0x4fa158]
call esi
push 5
push dword [0x4fa160]
call esi
cmp dword [ebp + 8], ebx
je 0x43b80c
cmp word [0x4fa640], bx
jne 0x43b80c
push dword [0x4fa148]
push dword [0x4fa140]
call fcn.00426611
push dword [0x4fa140]
mov esi, dword [sym.imp.USER32.dll_UpdateWindow]
call esi
push ebx
push 1
push 0xb
push dword [0x4fa140]
call edi
push dword [0x4fa140]
call esi
cmp dword [0x4f9b60], 0x501
mov dword [ebp - 0x84], 0x20
mov dword [ebp - 0x80], 5
jb 0x43b77e
push 4
push dword [0x4fa140]
push str.RegisterDeviceNotification_0x_Ix__0x_x_...
push 3
call fcn.004453fb
add esp, 0x10
push 4
lea eax, [ebp - 0x84]
push eax
push dword [0x4fa140]
call dword [sym.imp.USER32.dll_RegisterDeviceNotificationW]
push eax
push str.h0x_Ix
push 3
mov dword [0x4fc598], eax
call fcn.004453fb
add esp, 0xc
jmp 0x43b80c
mov eax, 0x44978c
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], 0x44977c
mov dword [ebp - 0x5c], 0x44976c
mov dword [ebp - 0x58], 0x46d134
mov dword [ebp - 0x54], 0x46d144
mov dword [ebp - 0x50], 0x46d194
mov dword [ebp - 0x4c], 0x46d174
mov dword [ebp - 0x48], ebx
xor esi, esi
push 0x10
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.0043f4eb
add esp, 0xc
push ebx
lea eax, [ebp - 0x84]
push eax
push dword [0x4fa140]
call dword [sym.imp.USER32.dll_RegisterDeviceNotificationW]
mov eax, dword [ebp + esi*4 - 0x60]
inc esi
cmp eax, ebx
jne 0x43b7b5
jmp 0x43b80c
push dword [0x4fa140]
call dword [sym.imp.USER32.dll_IsWindowVisible]
push ebx
push 0x12c
push 0x190
push ebx
push 0x7530
push dword [0x4fa140]
call dword [sym.imp.USER32.dll_MoveWindow]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4