Function at 0x40e42b
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x10024
call fcn.00422eb0
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x10020], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_CreateWindowExW]
xor esi, esi
push esi
push dword [0x49fef8]
push 0x41b
push dword [0x49fefc]
push 0x16e
push 0x2d6
push 0x29
push 0x80
push 0x50000008
push esi
push str.STATIC
push esi
call edi
push esi
push dword [0x49fef8]
mov ecx, 0x42a088
push 0x41c
push dword [0x49fefc]
push 0x122
push 0x14a
push 0x30
push 0x8c
push 0x50000007
call fcn.0040ca67
push eax
push str.BUTTON
push esi
call edi
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [0x49fef4]
push 0x30
push eax
call ebx
push esi
push dword [0x49fef8]
mov esi, 0x1e2
mov ecx, 0x42a3f4
push 0x41e
push dword [0x49fefc]
push 0xaa
push 0x168
push 0x30
push esi
push 0x50000007
call fcn.0040ca67
push eax
push str.BUTTON
push 0
call edi
push 1
push dword [0x49fef4]
push 0x30
push eax
call ebx
push 0
push dword [0x49fef8]
mov ecx, 0x42b334
push 0x41f
push dword [0x49fefc]
push 0x70
push 0x168
push 0xe2
push esi
push 0x50000007
call fcn.0040ca67
push eax
push str.BUTTON
xor esi, esi
push esi
call edi
push 1
push dword [0x49fef4]
push 0x30
push eax
call ebx
push esi
push dword [0x49fef8]
push 0x3f3
push dword [0x49fefc]
push 0x22
push 0x2ea
push 0x1a8
push 0x76
push 0x5000000e
push 0x429f8c
push str.STATIC
push esi
call edi
push 0x3f3
push dword [0x49fef8]
mov esi, eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
push eax
push 0
push 0x172
push esi
call ebx
mov edx, dword [0x42e8d0]
push 0x3e9
push ecx
push 0x61
push 0x64
push 0x169
push 9
or edx, 0x10001440
xor ecx, ecx
call fcn.0040bd11
add esp, 0x18
mov esi, eax
xor eax, eax
push eax
push eax
push eax
push 1
push 0x3e9
push dword [0x49fef8]
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push 1
push 0xf7
push esi
call ebx
mov ecx, 0x42b6bc
call fcn.0040ca67
mov edx, eax
mov ecx, esi
call fcn.00409c32
push 0
push dword [0x49fef8]
push 0x3ea
push dword [0x49fefc]
push 0x155
push 0x64
push 0xa
push 9
push 0x5000000e
push 0x429f8c
push str.STATIC
push 0x20000
call edi
push 0x3ea
push dword [0x49fef8]
mov esi, eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
push eax
push 0
push 0x172
push esi
call ebx
push 0
push dword [0x49fef8]
push 0x420
push dword [0x49fefc]
push 0x1a
push 0x14a
push 0x45
push 0x1f2
push 0x50000003
mov ecx, 0x42b6c4
call fcn.0040ca67
push eax
push str.button
push 0
call edi
push 1
push dword [0x49fef0]
mov esi, eax
push 0x30
push esi
call ebx
push 0
push 0x48fef0
push 0
push 0x42a3c4
push str.MAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0xf1
push esi
call ebx
push 0
push dword [0x49fef8]
mov ecx, 0x42b6cc
push 0x421
push dword [0x49fefc]
push 0x1a
push 0x14a
push 0x62
push 0x1f2
push 0x50000003
call fcn.0040ca67
push eax
push str.button
push 0
call edi
push 1
push dword [0x49fef0]
mov esi, eax
push 0x30
push esi
call ebx
push 0
push 0x48fef0
push 0
push 0x42a0d8
push str.MAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0xf1
push esi
call ebx
push 0
push dword [0x49fef8]
mov ecx, 0x42b6d4
push 0x422
push dword [0x49fefc]
push 0x1a
push 0x14a
push 0x7f
push 0x1f2
push 0x50000003
call fcn.0040ca67
push eax
push str.button
push 0
call edi
push 1
push dword [0x49fef0]
mov esi, eax
push 0x30
push esi
call ebx
push 0
push 0x48fef0
push 0
push str.234568
push str.MAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0xf1
push esi
call ebx
push 0
push dword [0x49fef8]
mov ecx, 0x42b6dc
push 0x423
push dword [0x49fefc]
push 0x1a
push 0x14a
push 0x9c
push 0x1f2
push 0x50000003
call fcn.0040ca67
push eax
push str.button
push 0
call edi
push 1
push dword [0x49fef0]
mov esi, eax
push 0x30
push esi
call ebx
push 0
push 0x48fef0
push 0
push 0x42a3e4
push str.MAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0xf1
push esi
call ebx
push 0
push dword [0x49fef8]
mov ecx, 0x42b6e4
push 0x424
push dword [0x49fefc]
push 0x1a
push 0x14a
push 0xb9
push 0x1f2
push 0x58000003
call fcn.0040ca67
push eax
push str.button
push 0
call edi
push 1
push dword [0x49fef0]
mov esi, eax
push 0x30
push esi
call ebx
push 0
push 0x48fef0
push 0
push 0x42a3e8
push str.MAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0xf1
push esi
call ebx
push 0
push dword [0x49fef8]
mov ecx, 0x42b6ec
push 0x426
push dword [0x49fefc]
push 0x1a
push 0x14a
push 0xf6
push 0x1f2
push 0x50000003
call fcn.0040ca67
push eax
push str.button
push 0
call edi
push 1
push dword [0x49fef0]
mov esi, eax
push 0x30
push esi
call ebx
push 0
push 0x48fef0
push 0
push 0x42a3f0
push str.MAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0xf1
push esi
call ebx
push 0
push dword [0x49fef8]
mov ecx, 0x42b6f4
push 0x425
push dword [0x49fefc]
push 0x1a
push 0x14a
push 0x113
push 0x1f2
push 0x50000003
call fcn.0040ca67
push eax
push str.button
push 0
call edi
push 1
push dword [0x49fef0]
mov esi, eax
push 0x30
push esi
call ebx
push 0
push 0x48fef0
push 0
push 0x42a3ec
push str.MAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0xf1
push esi
call ebx
push 0
push dword [0x49fef8]
mov ecx, 0x42b6fc
push 0x427
push dword [0x49fefc]
push 0x1a
push 0x14a
push 0x130
push 0x1f2
push 0x50000003
call fcn.0040ca67
push eax
push str.button
push 0
call edi
push 1
push dword [0x49fef0]
mov esi, eax
push 0x30
push esi
call ebx
push 0
push 0x48fef0
push 0
push 0x42a088
push str.MAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0xf1
push esi
call ebx
xor eax, eax
mov word [esp + 0x28], ax
push 0xfffc
push eax
lea eax, [esp + 0x32]
push eax
call fcn.00412740
add esp, 0xc
push 0
push dword [0x49fef8]
push 0x42a
push dword [0x49fefc]
push 0x16
push 0x1d2
push 0x15a
push 0x154
push 0x50000000
push 0x429f8c
push str.EDIT
push 0x200
call edi
push 1
push dword [0x49fef0]
mov esi, eax
push 0x30
push esi
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x28]
push 0x48fef0
push 0x7fff
push eax
push 0x429f8c
push str.EncPath
push str.MAIN
call ebx
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [esp + 0x28]
push eax
push esi
call edi
push 0
push dword [0x49fef8]
push 0x42b
push dword [0x49fefc]
push 0x16
push 0x1d2
push 0x176
push 0x154
push 0x50000000
push 0x429f8c
push str.EDIT
push 0x200
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 1
push dword [0x49fef0]
mov esi, eax
push 0x30
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x48fef0
push 0x7fff
lea eax, [esp + 0x30]
push eax
push 0x429f8c
push str.DecPath
push str.MAIN
call ebx
lea eax, [esp + 0x28]
push eax
push esi
call edi
push 0
push dword [0x49fef8]
mov ecx, 0x42b704
push 0x428
push dword [0x49fefc]
push 0x1a
push 0xc4
push 0x159
push 0x90
push 0x50000003
call fcn.0040ca67
mov edi, dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
push str.button
push 0
call edi
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
push 1
push dword [0x49fef0]
push 0x30
push esi
call ebx
push 0
push 0x48fef0
push 0
push 0x42a3f4
push str.MAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0xf1
push esi
call ebx
push 0
push dword [0x49fef8]
mov ecx, 0x42b70c
push 0x429
push dword [0x49fefc]
push 0x1a
push 0xc4
push 0x175
push 0x90
push 0x50000003
call fcn.0040ca67
push eax
push str.button
push 0
call edi
push 1
push dword [0x49fef0]
mov esi, eax
push 0x30
push esi
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push 0x48fef0
push 0
push 0x42b334
push str.MAIN
call edi
push eax
push 0xf1
push esi
call ebx
mov edx, dword [0x42e8d0]
push 0x42c
push ecx
push 0x16
push 0x1e
push 0x15a
push 0x32c
or edx, 0x10000040
mov ecx, 0x429ff4
call fcn.0040bd11
add esp, 0x18
mov ecx, 0x42b714
mov esi, eax
call fcn.0040ca67
mov edx, eax
mov ecx, esi
call fcn.00409c32
mov edx, dword [0x42e8d0]
push 0x42d
push ecx
push 0x16
push 0x1e
push 0x176
push 0x32c
or edx, 0x10000040
mov ecx, 0x429ff4
call fcn.0040bd11
add esp, 0x18
mov ecx, 0x42b71c
mov esi, eax
call fcn.0040ca67
mov edx, eax
mov ecx, esi
call fcn.00409c32
push 0x48fef0
push 0
push 0x42a3f4
push str.MAIN
call edi
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
jne 0x40ec91
push 0
push 0x42a
push dword [0x49fefc]
call edi
push eax
call esi
push 0
push 0x42c
push dword [0x49fefc]
call edi
push eax
call esi
push 0x48fef0
push 0
push 0x42b334
push str.MAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x40eccf
push eax
push 0x42b
push dword [0x49fefc]
call edi
push eax
call esi
push 0
push 0x42d
push dword [0x49fefc]
call edi
push eax
call esi
xor eax, eax
mov edi, dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
push dword [0x49fef8]
push 0x41d
push dword [0x49fefc]
push eax
push eax
push 0xe3
push 0xa8
push 0x50000003
push eax
push str.static
push eax
call edi
push 0x1000
push 0x40
push 0x40
push 1
push 0x41d
push dword [0x49fef8]
mov esi, eax
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push 1
push 0x172
push esi
call ebx
xor esi, esi
mov ecx, 0x42aa90
push esi
push dword [0x49fef8]
push 0x42e
push dword [0x49fefc]
push 0x82
push 0xfc
push 0x50
push 0xb4
push 0x50000001
call fcn.0040ca67
push eax
push str.STATIC
push esi
call edi
push 1
push dword [0x49fef0]
push 0x30
push eax
call ebx
push esi
push dword [0x49fef8]
push 0x42f
push dword [0x49fefc]
push esi
push esi
push 0xd2
push 0x104
push 0x5000080e
push 0x429f8c
push str.STATIC
push esi
call edi
push 0x42f
push dword [0x49fef8]
mov esi, eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
push eax
push 0
push 0x172
push esi
call ebx
xor esi, esi
push esi
push dword [0x49fef8]
push 0x3f4
push dword [0x49fefc]
push 0x19a
push 0x2ec
push 8
push 0x76
push 0x54000000
push esi
push str.SysTabControl32
push esi
call edi
push 1
push dword [0x49fef0]
mov edi, eax
push 0x30
push edi
call ebx
push esi
push 1
push 0x21
push 0x10
push 0x10
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
push 0x3f5
push dword [0x49fef8]
mov esi, eax
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
push esi
push 0
push 0x1303
push edi
call ebx
and dword [esp + 0x20], 0
mov ecx, 0x42b744
push 3
pop esi
mov dword [esp + 0xc], esi
call fcn.0040ca67
mov dword [esp + 0x18], eax
lea eax, [esp + 0xc]
push eax
push 0
push 0x133e
push edi
call ebx
mov ecx, 0x42b74c
call fcn.0040ca67
mov dword [esp + 0x18], eax
lea eax, [esp + 0xc]
push eax
push 1
push 0x133e
push edi
call ebx
mov ecx, 0x42b754
call fcn.0040ca67
mov dword [esp + 0x18], eax
lea eax, [esp + 0xc]
push eax
push 2
push 0x133e
push edi
call ebx
mov ecx, 0x42b75c
call fcn.0040ca67
mov dword [esp + 0x18], eax
lea eax, [esp + 0xc]
push eax
push esi
mov esi, 0x133e
push esi
push edi
call ebx
mov ecx, 0x42b764
call fcn.0040ca67
mov dword [esp + 0x18], eax
lea eax, [esp + 0xc]
push eax
push 4
push esi
push edi
call ebx
mov ecx, 0x42b76c
call fcn.0040ca67
mov dword [esp + 0x18], eax
lea eax, [esp + 0xc]
push eax
push 5
push esi
push edi
call ebx
push 1
mov ecx, 0x42b774
call fcn.0040ca67
mov ecx, eax
call fcn.0040cb6e
pop ecx
mov ecx, dword [esp + 0x1002c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00411b03
mov esp, ebp
pop ebp
ret