Function at 0x401780
Capabilities:
Read .ini file

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov dword [0x416900], edi
call fcn.00401b80
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0x416b28
push 1
push str.WindowType
push str.Option
call esi
push 0x416b28
push 0
push str.Code
push str.Option
mov dword [0x416af8], eax
call esi
push 0x416b28
push 8
push str.BufSize
push str.Option
mov dword [0x416afc], eax
call esi
push 0x416b28
push 0
shl eax, 0xa
push str.LangID
push str.Option
mov dword [0x416b00], eax
call esi
push 0x416b28
push 1
push str.Freq
push str.Option
mov dword [0x416c58], eax
call esi
push 0x416b28
push 1
push str.Frame
push str.Option
mov dword [0x416b20], eax
call esi
push 0x416b28
push 0
push str.Trans
push str.Option
mov dword [0x416c34], eax
call esi
push 0x416b28
push 0
push str.Half_Ime
push str.Option
mov dword [0x416a04], eax
call esi
mov dword [0x416a00], eax
mov eax, dword [0x416afc]
push 0xa
push 0x41365e
push eax
call fcn.00411320
add esp, 0xc
push 0x416b28
push 0
push str.Number0
push str.Option
call esi
push 0x416b28
push 0
push str.4Key
push str.Option
mov dword [0x42630c], eax
call esi
push 0x416b28
push 0
push str.4Key_ban
push str.Option
mov dword [0x416ae4], eax
call esi
mov dword [0x416918], eax
push 0x416b28
push 0
push str.Numeric_Chinese
push str.Option
call esi
push 0x416b28
push 1
push str.Automake_Enable
push str.Option
mov dword [0x416c30], eax
call esi
push 0x416b28
push 1
push str.bbts
push str.Option
mov dword [0x416c38], eax
call esi
push 0x416b28
push 0
push str.SSM_JPToQP
push str.Option
mov dword [0x416c50], eax
call esi
push 0x416b28
push 0
push str.Refresh_Display
push str.Option
mov dword [0x416c74], eax
call esi
push 0x416b28
push 0
push str.prefix
push str.Option
mov dword [0x416c68], eax
call esi
push 0x416b28
push 0
push str.correct
push str.Option
mov dword [0x416b18], eax
call esi
push 0x416b28
push 0
push str.SelTable
push str.Option
mov dword [0x416c60], eax
call esi
push 0x416b28
push 2
push str.Sel_Ime
push str.Option
mov dword [0x416ad4], eax
call esi
push 0x416b28
push 0
push str.All_Reserve
push str.Option
mov word [0x416a2c], ax
call esi
push 0x416b28
push 0
push str.Dup_Reserve
push str.Option
mov dword [0x416af0], eax
call esi
push 0x416b28
push 0
push str.Null_Warning
push str.Option
mov dword [0x416c70], eax
call esi
push 0x416b28
push 0
push str.Dup_Warning
push str.Option
mov dword [0x416914], eax
call esi
push 0x416b28
push 1
push str.Cursor_Follow
mov dword [0x41690c], eax
push str.Option
call esi
push 0x416b28
push 0
push str.Hide_Key
push str.Option
mov dword [0x416b1c], eax
call esi
push 0
push edi
push 0
push 0
mov ebx, dword [sym.imp.USER32.dll_CreateWindowExA]
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x80000000
push str.WNM_input_Application
push str.WNM_Input
push 0
mov dword [0x416c88], eax
call ebx
mov esi, eax
test esi, esi
jne 0x401a53
pop edi
pop esi
pop ebx
ret
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x4027c0
push 0xffffffffffffffe8
push esi
call dword [sym.imp.USER32.dll_SetClassLongA]
push 0
push edi
push 0
push esi
push 0x14
push 0x64
push 0
push 0
push 0x80000000
push 0x41355c
push str.WNM_Input
push 8
call ebx
mov esi, eax
test esi, esi
jne 0x401a95
pop edi
pop esi
pop ebx
ret
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
mov dword [0x413bd4], 1
call dword [sym.imp.USER32.dll_UpdateWindow]
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
sub eax, 0x404
je 0x401b31
sub eax, 5
je 0x401af2
sub eax, 0x3fb
je 0x401adf
push str.langdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x416a10], eax
push str.WNM_Input_App
jmp 0x401b40
mov ecx, dword [0x416900]
push 0x413538
mov dword [0x416a10], ecx
jmp 0x401b40
mov edx, dword [0x416900]
push str.WNM_Input_App
push 0x8e
push 0x7e9
push esi
mov dword [0x416a10], edx
call fcn.0040aa10
add esp, 0x10
mov dword [0x416c60], 1
mov dword [0x416c68], 1
call fcn.00404c10
jmp 0x401b53
mov eax, dword [0x416900]
push 0x413530
mov dword [0x416a10], eax
push 0x8e
push 0x7e9
push esi
call fcn.0040aa10
add esp, 0x10
mov eax, dword [0x416a10]
test eax, eax
jne 0x401b68
mov ecx, dword [0x416900]
mov dword [0x416a10], ecx
pop edi
pop esi
mov eax, 1
pop ebx
ret