Function at 0x409cc2
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x138
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.004089e2
push 3
pop edi
push edi
xor ebp, ebp
lea eax, [esp + 0x1c]
push ebp
push eax
call fcn.0041e5e0
push edi
lea eax, [esp + 0x50]
push ebp
push eax
call fcn.0041e5e0
push edi
lea eax, [esp + 0x30]
push ebp
push eax
call fcn.0041e5e0
push edi
lea eax, [esp + 0x60]
push ebp
push eax
call fcn.0041e5e0
push edi
lea eax, [esp + 0x70]
push ebp
push eax
call fcn.0041e5e0
push edi
lea eax, [esp + 0x70]
push ebp
push eax
call fcn.0041e5e0
add esp, 0x48
push edi
lea eax, [esp + 0x38]
push ebp
push eax
call fcn.0041e5e0
push edi
lea eax, [esp + 0x38]
push ebp
push eax
call fcn.0041e5e0
push edi
lea eax, [esp + 0x48]
push ebp
push eax
call fcn.0041e5e0
push 0xa
lea eax, [esp + 0x44]
push ebp
push eax
call fcn.0041e5e0
push 4
lea eax, [esi + 0x2e68]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0041d970
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add esp, 0x3c
push str.c:_test.ini
lea eax, [esp + 0x20]
push eax
push str.denom1_value
push 0x457a04
call ebx
push 2
mov edi, 0x457704
lea eax, [esp + 0x24]
push edi
push eax
call fcn.0041d970
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
push str.MBOX1ME
mov ecx, esi
call fcn.004060a3
push 0xa
lea eax, [esp + 0x20]
push ebp
push eax
call fcn.0041e5e0
push 4
lea eax, [esi + 0x2e6c]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.0041d970
add esp, 0x18
push str.c:_test.ini
lea eax, [esp + 0x20]
push eax
push str.denom2_value
push 0x457a04
call ebx
push 2
lea eax, [esp + 0x24]
push edi
push eax
call fcn.0041d970
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
push str.MBOX2ME
mov ecx, esi
call fcn.004060a3
push 0xa
lea eax, [esp + 0x20]
push ebp
push eax
call fcn.0041e5e0
push 4
lea eax, [esi + 0x2e70]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.0041d970
push 2
lea eax, [esp + 0x3c]
push edi
push eax
call fcn.0041d970
add esp, 0x24
lea eax, [esp + 0x1c]
push eax
push str.MBOX3ME
mov ecx, esi
call fcn.004060a3
push 0xa
lea eax, [esp + 0x20]
push ebp
push eax
call fcn.0041e5e0
push 4
lea eax, [esi + 0x2e74]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.0041d970
push 2
lea eax, [esp + 0x3c]
push edi
push eax
call fcn.0041d970
add esp, 0x24
lea eax, [esp + 0x1c]
push eax
push str.MBOX4ME
mov ecx, esi
call fcn.004060a3
cmp byte [esi + 0x15a5], 0x31
jne 0x409e98
push 0x457754
jmp 0x409ead
cmp byte [esi + 0x15a4], 0x43
jne 0x409ea8
push 0x458238
jmp 0x409ead
push 0x457738
mov ecx, esi
push 0x458234
call fcn.004060a3
mov edi, 0x100
push edi
lea eax, [esp + 0x4c]
push ebp
push eax
call fcn.0041e5e0
push 6
lea eax, [esi + 0x1539]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.0041d970
add esp, 0x18
lea eax, [esp + 0x48]
push eax
push str.MBOX1LEFT
mov ecx, esi
call fcn.004060a3
push edi
lea eax, [esp + 0x4c]
push ebp
push eax
call fcn.0041e5e0
push 6
lea eax, [esi + 0x153f]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.0041d970
add esp, 0x18
lea eax, [esp + 0x48]
push eax
push str.MBOX2LEFT
mov ecx, esi
call fcn.004060a3
push edi
lea eax, [esp + 0x4c]
push ebp
push eax
call fcn.0041e5e0
push 6
lea eax, [esi + 0x1545]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.0041d970
add esp, 0x18
lea eax, [esp + 0x48]
push eax
push str.MBOX3LEFT
mov ecx, esi
call fcn.004060a3
push edi
lea eax, [esp + 0x4c]
push ebp
push eax
call fcn.0041e5e0
push 6
lea eax, [esi + 0x154b]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.0041d970
add esp, 0x18
lea eax, [esp + 0x48]
push eax
push str.MBOX4LEFT
mov ecx, esi
call fcn.004060a3
push 0x458234
mov ecx, esi
call fcn.00406125
cmp eax, 4
jne 0x40a01a
mov edi, 0x457738
push edi
push str.CARD
mov ecx, esi
call fcn.004060a3
push edi
push str.rzprint
mov ecx, esi
call fcn.004060a3
push edi
push str.miniprint
mov ecx, esi
call fcn.004060a3
push edi
push str.inmd
mov ecx, esi
call fcn.004060a3
push edi
push str.outmd
mov ecx, esi
call fcn.004060a3
push edi
push str.mbox1
mov ecx, esi
call fcn.004060a3
push edi
push str.mbox2
mov ecx, esi
call fcn.004060a3
push edi
push str.mbox3
mov ecx, esi
call fcn.004060a3
push edi
push str.mbox4
mov ecx, esi
call fcn.004060a3
jmp 0x40a57f
cmp byte [esi + 0x1562], 0x31
jne 0x40a069
mov ebp, str.C:FEPKEYRESET.ini
push ebp
push 0
mov edi, str.times
push edi
push 0x458198
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 3
jl 0x40a056
push 0x457750
push str.CARD
mov ecx, esi
call fcn.004060a3
xor eax, eax
jmp 0x40a057
inc eax
push eax
lea eax, [esp + 0x3c]
push 0x4577d8
push eax
call fcn.0041e8d9
jmp 0x40a095
push 0x457738
push str.CARD
mov ecx, esi
call fcn.004060a3
push 0
lea eax, [esp + 0x3c]
push 0x4577d8
push eax
call fcn.0041e8d9
mov ebp, str.C:FEPKEYRESET.ini
mov edi, str.times
add esp, 0xc
push ebp
lea eax, [esp + 0x3c]
push eax
push edi
push 0x458198
call ebx
mov al, byte [esi + 0x1566]
cmp al, 0x32
jne 0x40a0fe
push ebp
push 0
push edi
push 0x458194
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 3
jl 0x40a0d9
push str.1234
push str.rzprint
mov ecx, esi
call fcn.004060a3
xor eax, eax
jmp 0x40a0da
inc eax
push eax
lea eax, [esp + 0x44]
push 0x4577d8
push eax
call fcn.0041e8d9
add esp, 0xc
push ebp
lea eax, [esp + 0x44]
push eax
push edi
push 0x458194
jmp 0x40a1e2
cmp al, 0x31
jne 0x40a167
push ebp
push 0
push edi
push str.JPRNOPAPER
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push str.C:FEPJPRSWITCH.ini
push 0
push str.flag
push str.JPRSWITCH
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp dword [esp + 0x10], 2
mov dword [esp + 0x44], eax
jl 0x40a1a7
push 0x457750
push str.rzprint
mov ecx, esi
call fcn.004060a3
cmp dword [esp + 0x44], 0
je 0x40a1ab
push str.1234
push str.CMD_PAUSE
mov ecx, esi
call fcn.00405fc4
and dword [esp + 0x10], 0
jmp 0x40a1ab
cmp al, 0x33
jne 0x40a1b1
push ebp
push 0
push edi
push str.JPRNOPAPER
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push str.C:FEPJPRSWITCH.ini
push 0
push str.flag
push str.JPRSWITCH
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp dword [esp + 0x10], 2
mov dword [esp + 0x44], eax
jl 0x40a1a7
push 0x45774c
jmp 0x40a13c
inc dword [esp + 0x10]
push dword [esp + 0x10]
jmp 0x40a1c4
push 0x457738
push str.rzprint
mov ecx, esi
call fcn.004060a3
push 0
lea eax, [esp + 0x1c]
push 0x4577d8
push eax
call fcn.0041e8d9
add esp, 0xc
push ebp
lea eax, [esp + 0x1c]
push eax
push edi
push str.JPRNOPAPER
call ebx
mov al, byte [esi + 0x156a]
cmp al, 0x32
jne 0x40a217
push ebp
push 0
push edi
push 0x45814c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 3
jl 0x40a236
push str.1234
push str.miniprint
mov ecx, esi
call fcn.004060a3
xor eax, eax
jmp 0x40a237
cmp al, 0x31
jne 0x40a23a
push ebp
push 0
push edi
push 0x45814c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 3
jl 0x40a236
push 0x457750
jmp 0x40a207
inc eax
push eax
jmp 0x40a24d
push 0x457738
push str.miniprint
mov ecx, esi
call fcn.004060a3
push 0
lea eax, [esp + 0x18]
push 0x4577d8
push eax
call fcn.0041e8d9
add esp, 0xc
push ebp
lea eax, [esp + 0x18]
push eax
push edi
push 0x45814c
call ebx
cmp byte [esi + 0x156b], 0x32
jne 0x40a2b4
push ebp
push 0
push edi
push str.CASH
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 3
jl 0x40a2b0
push 0x457750
push str.inmd
mov ecx, esi
call fcn.004060a3
push 0x457750
push str.outmd
mov ecx, esi
call fcn.004060a3
xor eax, eax
jmp 0x40a2b1
inc eax
push eax
jmp 0x40a2d8
push 0x457738
push str.inmd
mov ecx, esi
call fcn.004060a3
push 0x457738
push str.outmd
mov ecx, esi
call fcn.004060a3
push 0
lea eax, [esp + 0x40]
push 0x4577d8
push eax
call fcn.0041e8d9
add esp, 0xc
push ebp
lea eax, [esp + 0x40]
push eax
push edi
push str.CASH
call ebx
mov al, byte [esi + 0x2e7b]
cmp al, 0x30
je 0x40a363
cmp al, 0x32
je 0x40a363
jbe 0x40a396
cmp al, 0x34
ja 0x40a396
push ebp
push 0
push edi
push str.BOX1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 3
jl 0x40a35f
push 0x457750
push str.mbox1
mov ecx, esi
call fcn.004060a3
push 0x457738
push str.inmd
mov ecx, esi
call fcn.004060a3
push 0x457738
push str.outmd
mov ecx, esi
call fcn.004060a3
xor eax, eax
jmp 0x40a360
inc eax
push eax
jmp 0x40a376
push 0x457738
push str.mbox1
mov ecx, esi
call fcn.004060a3
push 0
lea eax, [esp + 0x34]
push 0x4577d8
push eax
call fcn.0041e8d9
add esp, 0xc
push ebp
lea eax, [esp + 0x34]
push eax
push edi
push str.BOX1
call ebx
mov al, byte [esi + 0x2e7c]
cmp al, 0x30
je 0x40a406
jbe 0x40a439
cmp al, 0x34
ja 0x40a439
push ebp
push 0
push edi
push str.BOX2
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 3
jl 0x40a402
mov al, byte [esi + 0x2e7c]
cmp al, 0x31
jne 0x40a3d3
push str.1234
jmp 0x40a3f2
cmp al, 0x32
jne 0x40a3de
push 0x45774c
jmp 0x40a3f2
cmp al, 0x33
jne 0x40a3e9
push 0x457754
jmp 0x40a3f2
cmp al, 0x34
jne 0x40a3fe
push 0x457750
mov ecx, esi
push str.mbox2
call fcn.004060a3
xor eax, eax
jmp 0x40a403
inc eax
push eax
jmp 0x40a419
push 0x457738
push str.mbox2
mov ecx, esi
call fcn.004060a3
push 0
lea eax, [esp + 0x38]
push 0x4577d8
push eax
call fcn.0041e8d9
add esp, 0xc
push ebp
lea eax, [esp + 0x38]
push eax
push edi
push str.BOX2
call ebx
mov al, byte [esi + 0x2e7d]
cmp al, 0x30
je 0x40a4a9
jbe 0x40a4dc
cmp al, 0x34
ja 0x40a4dc
push ebp
push 0
push edi
push str.BOX3
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 3
jl 0x40a4a5
mov al, byte [esi + 0x2e7d]
cmp al, 0x31
jne 0x40a476
push str.1234
jmp 0x40a495
cmp al, 0x32
jne 0x40a481
push 0x45774c
jmp 0x40a495
cmp al, 0x33
jne 0x40a48c
push 0x457754
jmp 0x40a495
cmp al, 0x34
jne 0x40a4a1
push 0x457750
mov ecx, esi
push str.mbox3
call fcn.004060a3
xor eax, eax
jmp 0x40a4a6
inc eax
push eax
jmp 0x40a4bc
push 0x457738
push str.mbox3
mov ecx, esi
call fcn.004060a3
push 0
lea eax, [esp + 0x2c]
push 0x4577d8
push eax
call fcn.0041e8d9
add esp, 0xc
push ebp
lea eax, [esp + 0x2c]
push eax
push edi
push str.BOX3
call ebx
mov al, byte [esi + 0x2e7e]
cmp al, 0x30
je 0x40a54c
jbe 0x40a57f
cmp al, 0x34
ja 0x40a57f
push ebp
push 0
push edi
push str.BOX4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 3
jl 0x40a548
mov al, byte [esi + 0x2e7e]
cmp al, 0x31
jne 0x40a519
push str.1234
jmp 0x40a538
cmp al, 0x32
jne 0x40a524
push 0x45774c
jmp 0x40a538
cmp al, 0x33
jne 0x40a52f
push 0x457754
jmp 0x40a538
cmp al, 0x34
jne 0x40a544
push 0x457750
mov ecx, esi
push str.mbox4
call fcn.004060a3
xor eax, eax
jmp 0x40a549
inc eax
push eax
jmp 0x40a55f
push 0x457738
push str.mbox4
mov ecx, esi
call fcn.004060a3
push 0
lea eax, [esp + 0x30]
push 0x4577d8
push eax
call fcn.0041e8d9
add esp, 0xc
push ebp
lea eax, [esp + 0x30]
push eax
push edi
push str.BOX4
call ebx
push 0x457738
push str.MBOX1TYPE
mov ecx, esi
call fcn.004060a3
mov edi, 0x100
push edi
xor ebx, ebx
lea eax, [esp + 0x4c]
push ebx
push eax
call fcn.0041e5e0
push 1
lea eax, [esi + 0x15a6]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.0041d970
add esp, 0x18
lea eax, [esp + 0x48]
push eax
push str.MBOX2TYPE
mov ecx, esi
call fcn.004060a3
push edi
lea eax, [esp + 0x4c]
push ebx
push eax
call fcn.0041e5e0
push 1
lea eax, [esi + 0x15a7]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.0041d970
add esp, 0x18
lea eax, [esp + 0x48]
push eax
push str.MBOX3TYPE
mov ecx, esi
call fcn.004060a3
push edi
lea eax, [esp + 0x4c]
push ebx
push eax
call fcn.0041e5e0
push 1
lea eax, [esi + 0x15a8]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.0041d970
add esp, 0x18
lea eax, [esp + 0x48]
push eax
push str.MBOX4TYPE
mov ecx, esi
call fcn.004060a3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x138
ret