Function at 0x4096c0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x130
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.0040848f
push 3
pop edi
push edi
xor ebp, ebp
lea eax, [esp + 0x18]
push ebp
push eax
call fcn.0041dc40
push edi
lea eax, [esp + 0x4c]
push ebp
push eax
call fcn.0041dc40
push edi
lea eax, [esp + 0x2c]
push ebp
push eax
call fcn.0041dc40
push edi
lea eax, [esp + 0x58]
push ebp
push eax
call fcn.0041dc40
push edi
lea eax, [esp + 0x68]
push ebp
push eax
call fcn.0041dc40
push edi
lea eax, [esp + 0x6c]
push ebp
push eax
call fcn.0041dc40
add esp, 0x48
push edi
lea eax, [esp + 0x28]
push ebp
push eax
call fcn.0041dc40
push edi
lea eax, [esp + 0x48]
push ebp
push eax
call fcn.0041dc40
push edi
lea eax, [esp + 0x44]
push ebp
push eax
call fcn.0041dc40
push 0xa
lea eax, [esp + 0x40]
push ebp
push eax
call fcn.0041dc40
push 4
lea eax, [esi + 0x2e58]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.0041cfd0
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add esp, 0x3c
push str.c:_test.ini
lea eax, [esp + 0x1c]
push eax
push str.denom1_value
push 0x457934
call ebx
push 2
mov edi, 0x4576d4
lea eax, [esp + 0x20]
push edi
push eax
call fcn.0041cfd0
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push str.MBOX1ME
mov ecx, esi
call fcn.00405b50
push 0xa
lea eax, [esp + 0x1c]
push ebp
push eax
call fcn.0041dc40
push 4
lea eax, [esi + 0x2e5c]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0041cfd0
add esp, 0x18
push str.c:_test.ini
lea eax, [esp + 0x1c]
push eax
push str.denom2_value
push 0x457934
call ebx
push 2
lea eax, [esp + 0x20]
push edi
push eax
call fcn.0041cfd0
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push str.MBOX2ME
mov ecx, esi
call fcn.00405b50
push 0xa
lea eax, [esp + 0x1c]
push ebp
push eax
call fcn.0041dc40
push 4
lea eax, [esi + 0x2e60]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0041cfd0
push 2
lea eax, [esp + 0x38]
push edi
push eax
call fcn.0041cfd0
add esp, 0x24
lea eax, [esp + 0x18]
push eax
push str.MBOX3ME
mov ecx, esi
call fcn.00405b50
push 0xa
lea eax, [esp + 0x1c]
push ebp
push eax
call fcn.0041dc40
push 4
lea eax, [esi + 0x2e64]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0041cfd0
push 2
lea eax, [esp + 0x38]
push edi
push eax
call fcn.0041cfd0
add esp, 0x24
lea eax, [esp + 0x18]
push eax
push str.MBOX4ME
mov ecx, esi
call fcn.00405b50
cmp byte [esi + 0x1595], 0x31
jne 0x409896
push 0x458104
jmp 0x4098ab
cmp byte [esi + 0x1594], 0x43
jne 0x4098a6
push 0x458100
jmp 0x4098ab
push 0x457fe0
mov ecx, esi
push 0x4580fc
call fcn.00405b50
mov edi, 0x100
push edi
lea eax, [esp + 0x44]
push ebp
push eax
call fcn.0041dc40
push 6
lea eax, [esi + 0x1529]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0041cfd0
add esp, 0x18
lea eax, [esp + 0x40]
push eax
push str.MBOX1LEFT
mov ecx, esi
call fcn.00405b50
push edi
lea eax, [esp + 0x44]
push ebp
push eax
call fcn.0041dc40
push 6
lea eax, [esi + 0x152f]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0041cfd0
add esp, 0x18
lea eax, [esp + 0x40]
push eax
push str.MBOX2LEFT
mov ecx, esi
call fcn.00405b50
push edi
lea eax, [esp + 0x44]
push ebp
push eax
call fcn.0041dc40
push 6
lea eax, [esi + 0x1535]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0041cfd0
add esp, 0x18
lea eax, [esp + 0x40]
push eax
push str.MBOX3LEFT
mov ecx, esi
call fcn.00405b50
push edi
lea eax, [esp + 0x44]
push ebp
push eax
call fcn.0041dc40
push 6
lea eax, [esi + 0x153b]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0041cfd0
add esp, 0x18
lea eax, [esp + 0x40]
push eax
push str.MBOX4LEFT
mov ecx, esi
call fcn.00405b50
push 0x4580fc
mov ecx, esi
call fcn.00405bd2
cmp eax, 4
jne 0x409a18
mov edi, 0x457fe0
push edi
push str.CARD
mov ecx, esi
call fcn.00405b50
push edi
push str.rzprint
mov ecx, esi
call fcn.00405b50
push edi
push str.miniprint
mov ecx, esi
call fcn.00405b50
push edi
push str.inmd
mov ecx, esi
call fcn.00405b50
push edi
push str.outmd
mov ecx, esi
call fcn.00405b50
push edi
push str.mbox1
mov ecx, esi
call fcn.00405b50
push edi
push str.mbox2
mov ecx, esi
call fcn.00405b50
push edi
push str.mbox3
mov ecx, esi
call fcn.00405b50
push edi
push str.mbox4
mov ecx, esi
call fcn.00405b50
jmp 0x409f2b
cmp byte [esi + 0x1552], 0x31
jne 0x409a67
mov ebp, str.C:FEPKEYRESET.ini
push ebp
push 0
mov edi, str.times
push edi
push 0x458060
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 3
jl 0x409a54
push 0x457b14
push str.CARD
mov ecx, esi
call fcn.00405b50
xor eax, eax
jmp 0x409a55
inc eax
push eax
lea eax, [esp + 0x34]
push 0x457734
push eax
call fcn.0041df39
jmp 0x409a93
push 0x457fe0
push str.CARD
mov ecx, esi
call fcn.00405b50
push 0
lea eax, [esp + 0x34]
push 0x457734
push eax
call fcn.0041df39
mov ebp, str.C:FEPKEYRESET.ini
mov edi, str.times
add esp, 0xc
push ebp
lea eax, [esp + 0x34]
push eax
push edi
push 0x458060
call ebx
mov al, byte [esi + 0x1556]
cmp al, 0x32
jne 0x409afc
push ebp
push 0
push edi
push 0x45805c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 3
jl 0x409ad7
push 0x457c48
push str.rzprint
mov ecx, esi
call fcn.00405b50
xor eax, eax
jmp 0x409ad8
inc eax
push eax
lea eax, [esp + 0x40]
push 0x457734
push eax
call fcn.0041df39
add esp, 0xc
push ebp
lea eax, [esp + 0x40]
push eax
push edi
push 0x45805c
jmp 0x409b8e
cmp al, 0x31
jne 0x409b3a
push ebp
push 0
push edi
push str.JPRNOPAPER
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 2
jl 0x409b59
push 0x457b14
push str.rzprint
mov ecx, esi
call fcn.00405b50
push 0x457c48
push str.CMD_PAUSE
mov ecx, esi
call fcn.00405a71
xor eax, eax
jmp 0x409b5a
cmp al, 0x33
jne 0x409b5d
push ebp
push 0
push edi
push str.JPRNOPAPER
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 2
jl 0x409b59
push 0x458040
jmp 0x409b19
inc eax
push eax
jmp 0x409b70
push 0x457fe0
push str.rzprint
mov ecx, esi
call fcn.00405b50
push 0
lea eax, [esp + 0x18]
push 0x457734
push eax
call fcn.0041df39
add esp, 0xc
push ebp
lea eax, [esp + 0x18]
push eax
push edi
push str.JPRNOPAPER
call ebx
mov al, byte [esi + 0x155a]
cmp al, 0x32
jne 0x409bc3
push ebp
push 0
push edi
push 0x45803c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 3
jl 0x409be2
push 0x457c48
push str.miniprint
mov ecx, esi
call fcn.00405b50
xor eax, eax
jmp 0x409be3
cmp al, 0x31
jne 0x409be6
push ebp
push 0
push edi
push 0x45803c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 3
jl 0x409be2
push 0x457b14
jmp 0x409bb3
inc eax
push eax
jmp 0x409bf9
push 0x457fe0
push str.miniprint
mov ecx, esi
call fcn.00405b50
push 0
lea eax, [esp + 0x14]
push 0x457734
push eax
call fcn.0041df39
add esp, 0xc
push ebp
lea eax, [esp + 0x14]
push eax
push edi
push 0x45803c
call ebx
cmp byte [esi + 0x155b], 0x32
jne 0x409c60
push ebp
push 0
push edi
push str.CASH
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 3
jl 0x409c5c
push 0x457b14
push str.inmd
mov ecx, esi
call fcn.00405b50
push 0x457b14
push str.outmd
mov ecx, esi
call fcn.00405b50
xor eax, eax
jmp 0x409c5d
inc eax
push eax
jmp 0x409c84
push 0x457fe0
push str.inmd
mov ecx, esi
call fcn.00405b50
push 0x457fe0
push str.outmd
mov ecx, esi
call fcn.00405b50
push 0
lea eax, [esp + 0x38]
push 0x457734
push eax
call fcn.0041df39
add esp, 0xc
push ebp
lea eax, [esp + 0x38]
push eax
push edi
push str.CASH
call ebx
mov al, byte [esi + 0x2e6b]
cmp al, 0x30
je 0x409d0f
cmp al, 0x32
je 0x409d0f
jbe 0x409d42
cmp al, 0x34
ja 0x409d42
push ebp
push 0
push edi
push str.BOX1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 3
jl 0x409d0b
push 0x457b14
push str.mbox1
mov ecx, esi
call fcn.00405b50
push 0x457fe0
push str.inmd
mov ecx, esi
call fcn.00405b50
push 0x457fe0
push str.outmd
mov ecx, esi
call fcn.00405b50
xor eax, eax
jmp 0x409d0c
inc eax
push eax
jmp 0x409d22
push 0x457fe0
push str.mbox1
mov ecx, esi
call fcn.00405b50
push 0
lea eax, [esp + 0x30]
push 0x457734
push eax
call fcn.0041df39
add esp, 0xc
push ebp
lea eax, [esp + 0x30]
push eax
push edi
push str.BOX1
call ebx
mov al, byte [esi + 0x2e6c]
cmp al, 0x30
je 0x409db2
jbe 0x409de5
cmp al, 0x34
ja 0x409de5
push ebp
push 0
push edi
push str.BOX2
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 3
jl 0x409dae
mov al, byte [esi + 0x2e6c]
cmp al, 0x31
jne 0x409d7f
push 0x457c48
jmp 0x409d9e
cmp al, 0x32
jne 0x409d8a
push 0x458040
jmp 0x409d9e
cmp al, 0x33
jne 0x409d95
push 0x458104
jmp 0x409d9e
cmp al, 0x34
jne 0x409daa
push 0x457b14
mov ecx, esi
push str.mbox2
call fcn.00405b50
xor eax, eax
jmp 0x409daf
inc eax
push eax
jmp 0x409dc5
push 0x457fe0
push str.mbox2
mov ecx, esi
call fcn.00405b50
push 0
lea eax, [esp + 0x28]
push 0x457734
push eax
call fcn.0041df39
add esp, 0xc
push ebp
lea eax, [esp + 0x28]
push eax
push edi
push str.BOX2
call ebx
mov al, byte [esi + 0x2e6d]
cmp al, 0x30
je 0x409e55
jbe 0x409e88
cmp al, 0x34
ja 0x409e88
push ebp
push 0
push edi
push str.BOX3
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 3
jl 0x409e51
mov al, byte [esi + 0x2e6d]
cmp al, 0x31
jne 0x409e22
push 0x457c48
jmp 0x409e41
cmp al, 0x32
jne 0x409e2d
push 0x458040
jmp 0x409e41
cmp al, 0x33
jne 0x409e38
push 0x458104
jmp 0x409e41
cmp al, 0x34
jne 0x409e4d
push 0x457b14
mov ecx, esi
push str.mbox3
call fcn.00405b50
xor eax, eax
jmp 0x409e52
inc eax
push eax
jmp 0x409e68
push 0x457fe0
push str.mbox3
mov ecx, esi
call fcn.00405b50
push 0
lea eax, [esp + 0x3c]
push 0x457734
push eax
call fcn.0041df39
add esp, 0xc
push ebp
lea eax, [esp + 0x3c]
push eax
push edi
push str.BOX3
call ebx
mov al, byte [esi + 0x2e6e]
cmp al, 0x30
je 0x409ef8
jbe 0x409f2b
cmp al, 0x34
ja 0x409f2b
push ebp
push 0
push edi
push str.BOX4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 3
jl 0x409ef4
mov al, byte [esi + 0x2e6e]
cmp al, 0x31
jne 0x409ec5
push 0x457c48
jmp 0x409ee4
cmp al, 0x32
jne 0x409ed0
push 0x458040
jmp 0x409ee4
cmp al, 0x33
jne 0x409edb
push 0x458104
jmp 0x409ee4
cmp al, 0x34
jne 0x409ef0
push 0x457b14
mov ecx, esi
push str.mbox4
call fcn.00405b50
xor eax, eax
jmp 0x409ef5
inc eax
push eax
jmp 0x409f0b
push 0x457fe0
push str.mbox4
mov ecx, esi
call fcn.00405b50
push 0
lea eax, [esp + 0x2c]
push 0x457734
push eax
call fcn.0041df39
add esp, 0xc
push ebp
lea eax, [esp + 0x2c]
push eax
push edi
push str.BOX4
call ebx
push 0x457fe0
push str.MBOX1TYPE
mov ecx, esi
call fcn.00405b50
mov edi, 0x100
push edi
xor ebx, ebx
lea eax, [esp + 0x44]
push ebx
push eax
call fcn.0041dc40
push 1
lea eax, [esi + 0x1596]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0041cfd0
add esp, 0x18
lea eax, [esp + 0x40]
push eax
push str.MBOX2TYPE
mov ecx, esi
call fcn.00405b50
push edi
lea eax, [esp + 0x44]
push ebx
push eax
call fcn.0041dc40
push 1
lea eax, [esi + 0x1597]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0041cfd0
add esp, 0x18
lea eax, [esp + 0x40]
push eax
push str.MBOX3TYPE
mov ecx, esi
call fcn.00405b50
push edi
lea eax, [esp + 0x44]
push ebx
push eax
call fcn.0041dc40
push 1
lea eax, [esi + 0x1598]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0041cfd0
add esp, 0x18
lea eax, [esp + 0x40]
push eax
push str.MBOX4TYPE
mov ecx, esi
call fcn.00405b50
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x130
ret