Function at 0x401ec0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x308
push ebx
push esi
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov dword [0x43c484], ebx
mov dword [0x43f0a0], 0
mov dword [0x43f0a4], 0
lea ecx, [ebp - 0x208]
mov edx, 0x43f0a8
push ecx
sub ecx, edx
mov ax, word [edx]
mov word [ecx + edx], ax
add edx, 2
test ax, ax
jne 0x401ef9
pop eax
push 0x43f2b0
lea eax, [ebp - 0x208]
push eax
call fcn.0041e5f0
add esp, 8
test esi, esi
jne 0x401f51
push ebx
call fcn.004021a0
lea eax, [ebp - 0x208]
push eax
push pe_nt_image_headers32
lea eax, [ebp - 0x308]
push eax
push 0x42621a
push 0x426224
push 0x42622e
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x401f7e
cmp esi, 1
jne 0x401f7e
lea eax, [ebp - 0x208]
push eax
push pe_nt_image_headers32
lea eax, [ebp - 0x308]
push eax
push 0x4261fa
push 0x42620a
push 0x42622e
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp dword [0x43c890], 0
je 0x401f95
push 1
push 0xfc3
push ebx
call dword [sym.imp.USER32.dll_CheckDlgButton]
cmp dword [0x43c894], 0
je 0x401fac
push 1
push 0xfc4
push ebx
call dword [sym.imp.USER32.dll_CheckDlgButton]
cmp dword [0x43c88c], 1
jne 0x401fc5
push 1
push 0xfc7
push ebx
call dword [sym.imp.USER32.dll_CheckDlgButton]
jmp 0x401fd3
push 1
push 0xfc6
push ebx
call dword [sym.imp.USER32.dll_CheckDlgButton]
cmp dword [0x43c898], 0
je 0x401fec
push 1
push 0x1001
push ebx
call dword [sym.imp.USER32.dll_CheckDlgButton]
jmp 0x401ffa
push 1
push 0x1000
push ebx
call dword [sym.imp.USER32.dll_CheckDlgButton]
push 0xfc0
push ebx
call fcn.004028b0
push 0xfc2
push ebx
call fcn.004028b0
lea eax, [ebp - 0x308]
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [ebp - 0x208]
push eax
push 0x4261e4
push 0xfbf
push ebx
call fcn.004168a0
lea eax, [ebp - 0x208]
push eax
push 0x4261c8
push 0xfc1
push ebx
call fcn.004168a0
lea eax, [ebp - 0x208]
push eax
push 0x4261b4
push 0xfc8
push ebx
call fcn.004168a0
lea eax, [ebp - 0x208]
push eax
push 0x4261a2
push 0xff1
push ebx
call fcn.004168a0
lea eax, [ebp - 0x208]
push eax
push 0x426194
push 2
push ebx
call fcn.004168a0
lea eax, [ebp - 0x208]
push eax
push 0x4261fa
push 0xfc9
push ebx
call fcn.004168a0
lea eax, [ebp - 0x208]
push eax
push 0x42617c
push 0xfca
push ebx
call fcn.004168a0
lea eax, [ebp - 0x208]
push eax
push 0x426166
push 0xfc3
push ebx
call fcn.004168a0
lea eax, [ebp - 0x208]
push eax
push 0x426150
push 0xfc4
push ebx
call fcn.004168a0
lea eax, [ebp - 0x208]
push eax
push 0x42613c
push 0xfc5
push ebx
call fcn.004168a0
lea eax, [ebp - 0x208]
push eax
push 0x426136
push 0xfc6
push ebx
call fcn.004168a0
lea eax, [ebp - 0x208]
push eax
push 0x42612c
push 0xfc7
push ebx
call fcn.004168a0
lea eax, [ebp - 0x208]
push eax
push 0x426106
push 0x1010
push ebx
call fcn.004168a0
lea eax, [ebp - 0x208]
push eax
push str.Current_document
push 0x1000
push ebx
call fcn.004168a0
lea eax, [ebp - 0x208]
push eax
push str.All_open_documents
push 0x1001
push ebx
call fcn.004168a0
push esi
push ebx
call fcn.00402550
push 0xfc0
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc