Function at 0x4060cf
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x44fc61
call fcn.0041db18
sub esp, 0x514
push ebx
push esi
push edi
push 4
push str.0121
push dword [ebp + 8]
mov esi, ecx
call fcn.0041e600
add esp, 0xc
xor ebx, ebx
test eax, eax
push 0x200
push ebx
je 0x40660d
lea eax, [ebp - 0x320]
push eax
call fcn.0041dc40
mov edi, 0x80
push edi
lea eax, [ebp - 0x120]
push ebx
push eax
call fcn.0041dc40
push 0xb
lea eax, [ebp - 0x320]
push str.datetime20
push eax
call fcn.0041cfd0
push 2
lea eax, [esi + 0x1403]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.0041cfd0
push 4
lea eax, [esi + 0x1405]
push eax
lea eax, [ebp - 0x11e]
push eax
call fcn.0041cfd0
push 6
lea eax, [esi + 0x1409]
push eax
lea eax, [ebp - 0x11a]
push eax
call fcn.0041cfd0
add esp, 0x48
push 0xc
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x315]
push eax
call fcn.0041cfd0
push 6
lea eax, [ebp - 0x309]
push str.trcd
push eax
call fcn.0041cfd0
movzx eax, byte [esi + 0x115c]
add esp, 0x18
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.00405365
mov eax, dword [eax]
push 3
push eax
lea eax, [ebp - 0x303]
push eax
call fcn.0041cfd0
mov ecx, dword [ebp - 0x18]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004011ce
push 6
lea eax, [ebp - 0x300]
push str.card
push eax
call fcn.0041cfd0
push edi
lea eax, [ebp - 0x120]
push ebx
push eax
call fcn.0041dc40
push 0x13
lea eax, [esi + 0x13f0]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.0041cfd0
add esp, 0x24
cmp byte [ebp - 0x120], bl
je 0x40622c
lea eax, [ebp - 0x120]
cmp byte [eax], 0x20
jne 0x406226
mov byte [eax], 0
inc eax
cmp byte [eax], 0
jne 0x40621e
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x20]
call fcn.00402d20
mov eax, dword [ebp - 0x20]
push dword [eax - 0xc]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x2fa]
push eax
call fcn.0041cfd0
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax - 0xc]
push 7
add ebx, 0x26
lea eax, [ebp + ebx - 0x320]
push str.card2
push eax
call fcn.0041cfd0
add esp, 0x18
add ebx, 7
cmp byte [esi + 0x115c], 0x49
jne 0x4062f5
push edi
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.0041dc40
push 0x13
lea eax, [esi + 0x168f]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.0041cfd0
add esp, 0x18
cmp byte [ebp - 0x120], 0
je 0x4062c1
lea eax, [ebp - 0x120]
cmp byte [eax], 0x20
jne 0x4062bb
mov byte [eax], 0
inc eax
cmp byte [eax], 0
jne 0x4062b3
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x14]
call fcn.00402d20
mov eax, dword [ebp - 0x14]
push dword [eax - 0xc]
push eax
lea eax, [ebp + ebx - 0x320]
push eax
call fcn.0041cfd0
mov eax, dword [ebp - 0x14]
add ebx, dword [eax - 0xc]
add esp, 0xc
lea ecx, [eax - 0x10]
call fcn.004011ce
push 5
lea eax, [ebp + ebx - 0x320]
push 0x457bc0
push eax
call fcn.0041cfd0
mov al, byte [esi + 0x115c]
add esp, 0xc
add ebx, 5
cmp al, 0x31
je 0x406329
cmp al, 0x49
je 0x406329
cmp al, 0x42
je 0x406329
cmp al, 0x30
jne 0x4063d8
push edi
lea eax, [ebp - 0xa0]
push 0
push eax
call fcn.0041dc40
add esp, 0xc
push str.C:_fephost.ini
push edi
lea eax, [ebp - 0xa0]
push eax
push 0x4576ff
mov eax, str.fetch_money
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edi
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.0041dc40
push 0xc
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.0041cfd0
lea eax, [ebp - 0x120]
push eax
call fcn.0041f1c9
fmul qword [0x457bb8]
push edi
lea eax, [ebp - 0x120]
push 0
fstp qword [ebp - 0x1c]
push eax
call fcn.0041dc40
fld qword [ebp - 0x1c]
add esp, 0x20
fstp qword [esp]
lea eax, [ebp - 0x120]
push str._09.2f
push eax
call fcn.0041df39
push 9
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp + ebx - 0x320]
push eax
call fcn.0041cfd0
add esp, 0x1c
add ebx, 9
push 5
lea eax, [ebp + ebx - 0x320]
push str.fee
push eax
call fcn.0041cfd0
push 5
lea eax, [esi + 0x2e82]
push str.00000
push eax
add ebx, 5
call fcn.0041e600
add esp, 0x18
test eax, eax
je 0x406487
push edi
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.0041dc40
push 5
lea eax, [esi + 0x2e82]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.0041cfd0
lea eax, [ebp - 0x120]
push eax
call fcn.0041f1c9
fmul qword [0x457bb8]
push edi
lea eax, [ebp - 0x120]
push 0
fstp qword [ebp - 0x1c]
push eax
call fcn.0041dc40
fld qword [ebp - 0x1c]
add esp, 0x20
fstp qword [esp]
lea eax, [ebp - 0x120]
push str._06.2f
push eax
call fcn.0041df39
push 6
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp + ebx - 0x320]
push eax
call fcn.0041cfd0
add esp, 0x1c
add ebx, 6
push 7
lea eax, [ebp + ebx - 0x320]
push str.devls
push eax
call fcn.0041cfd0
push 4
pop edi
push edi
lea eax, [esi + 0x131a]
push eax
add ebx, 7
lea eax, [ebp + ebx - 0x320]
push eax
call fcn.0041cfd0
push 8
add ebx, edi
lea eax, [ebp + ebx - 0x320]
push str.hostls
push eax
call fcn.0041cfd0
push 7
add ebx, 8
lea eax, [ebp + ebx - 0x320]
push str.retno
push eax
call fcn.0041cfd0
lea eax, [esi + 0x2e91]
push edi
mov esi, str.0000
push esi
push eax
add ebx, 7
mov dword [ebp - 0x10], eax
call fcn.0041e600
add esp, 0x3c
test eax, eax
jne 0x40652c
push edi
push str.0110
push dword [ebp + 8]
call fcn.0041e600
add esp, 0xc
test eax, eax
jne 0x40652c
push edi
push dword [ebp - 0x10]
lea eax, [ebp + ebx - 0x320]
push eax
call fcn.0041cfd0
add esp, 0xc
push edi
push esi
push dword [ebp - 0x10]
call fcn.0041e600
add esp, 0xc
test eax, eax
jne 0x406566
push edi
push str.0110
push dword [ebp + 8]
call fcn.0041e600
add esp, 0xc
test eax, eax
je 0x406566
push edi
push dword [ebp + 8]
lea eax, [ebp + ebx - 0x320]
push eax
call fcn.0041cfd0
add esp, 0xc
push edi
push esi
push dword [ebp - 0x10]
call fcn.0041e600
add esp, 0xc
test eax, eax
je 0x40658b
push edi
push dword [ebp - 0x10]
lea eax, [ebp + ebx - 0x320]
push eax
call fcn.0041cfd0
add esp, 0xc
push edi
mov esi, str.9999
push esi
push dword [ebp - 0x10]
call fcn.0041e600
add esp, 0xc
test eax, eax
jne 0x4065b3
push edi
lea eax, [ebp + ebx - 0x320]
push esi
push eax
call fcn.0041cfd0
add esp, 0xc
push 0x13
lea eax, [ebp + ebx - 0x31c]
push str.v_devlsv_hostls
push eax
call fcn.0041cfd0
add esp, 0xc
push str.c:ebmsEbmsCom.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x406605
push str.EbmsTx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4065fe
lea ecx, [ebp - 0x320]
push ecx
push str.A001
push str.127.0.0.1
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x20]
jmp 0x406abd
lea eax, [ebp - 0x520]
push eax
call fcn.0041dc40
mov edi, 0x80
push edi
lea eax, [ebp - 0xa0]
push ebx
push eax
call fcn.0041dc40
push 0xb
lea eax, [ebp - 0x520]
push str.datetime20
push eax
call fcn.0041cfd0
push 2
lea eax, [esi + 0x1403]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.0041cfd0
push 4
lea eax, [esi + 0x1405]
push eax
lea eax, [ebp - 0x9e]
push eax
call fcn.0041cfd0
push 6
lea eax, [esi + 0x1409]
push eax
lea eax, [ebp - 0x9a]
push eax
call fcn.0041cfd0
add esp, 0x48
push 0xc
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x515]
push eax
call fcn.0041cfd0
push 6
lea eax, [ebp - 0x509]
push str.trcd
push eax
call fcn.0041cfd0
push 3
lea eax, [ebp - 0x503]
push 0x4579d4
push eax
call fcn.0041cfd0
push 6
lea eax, [ebp - 0x500]
push str.card
push eax
call fcn.0041cfd0
push edi
lea eax, [ebp - 0xa0]
push ebx
push eax
call fcn.0041dc40
push 0x13
lea eax, [esi + 0x13f0]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.0041cfd0
add esp, 0x48
cmp byte [ebp - 0xa0], 0
je 0x406712
lea eax, [ebp - 0xa0]
cmp byte [eax], 0x20
jne 0x40670c
mov byte [eax], 0
inc eax
cmp byte [eax], 0
jne 0x406704
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x14]
call fcn.00402d20
mov eax, dword [ebp - 0x14]
push dword [eax - 0xc]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x4fa]
push eax
call fcn.0041cfd0
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax - 0xc]
push 7
add ebx, 0x26
lea eax, [ebp + ebx - 0x520]
push str.card2
push eax
call fcn.0041cfd0
add esp, 0x18
add ebx, 7
cmp byte [esi + 0x1300], 0x49
jne 0x4067df
push edi
lea eax, [ebp - 0xa0]
push 0
push eax
call fcn.0041dc40
push 0x13
lea eax, [esi + 0x168f]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.0041cfd0
add esp, 0x18
cmp byte [ebp - 0xa0], 0
je 0x4067ab
lea eax, [ebp - 0xa0]
cmp byte [eax], 0x20
jne 0x4067a5
mov byte [eax], 0
inc eax
cmp byte [eax], 0
jne 0x40679d
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x10]
call fcn.00402d20
mov eax, dword [ebp - 0x10]
push dword [eax - 0xc]
push eax
lea eax, [ebp + ebx - 0x520]
push eax
call fcn.0041cfd0
mov eax, dword [ebp - 0x10]
add ebx, dword [eax - 0xc]
add esp, 0xc
lea ecx, [eax - 0x10]
call fcn.004011ce
push 5
lea eax, [ebp + ebx - 0x520]
push 0x457bc0
push eax
call fcn.0041cfd0
mov al, byte [esi + 0x1300]
add esp, 0xc
add ebx, 5
cmp al, 0x31
je 0x40680f
cmp al, 0x49
je 0x40680f
cmp al, 0x42
je 0x40680f
cmp al, 0x30
jne 0x40688d
push edi
lea eax, [ebp - 0xa0]
push 0
push eax
call fcn.0041dc40
push 0xc
lea eax, [esi + 0x131e]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.0041cfd0
lea eax, [ebp - 0xa0]
push eax
call fcn.0041f1c9
fmul qword [0x457bb8]
push edi
lea eax, [ebp - 0xa0]
push 0
fstp qword [ebp - 0x1c]
push eax
call fcn.0041dc40
fld qword [ebp - 0x1c]
add esp, 0x20
fstp qword [esp]
lea eax, [ebp - 0xa0]
push str._09.2f
push eax
call fcn.0041df39
push 9
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp + ebx - 0x520]
push eax
call fcn.0041cfd0
add esp, 0x1c
add ebx, 9
push 5
lea eax, [ebp + ebx - 0x520]
push str.fee
push eax
call fcn.0041cfd0
push 5
lea eax, [esi + 0x2e82]
push str.00000
push eax
add ebx, 5
call fcn.0041e600
add esp, 0x18
test eax, eax
je 0x40693c
push edi
lea eax, [ebp - 0xa0]
push 0
push eax
call fcn.0041dc40
push 5
lea eax, [esi + 0x2e82]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.0041cfd0
lea eax, [ebp - 0xa0]
push eax
call fcn.0041f1c9
fmul qword [0x457bb8]
push edi
lea eax, [ebp - 0xa0]
push 0
fstp qword [ebp - 0x1c]
push eax
call fcn.0041dc40
fld qword [ebp - 0x1c]
add esp, 0x20
fstp qword [esp]
lea eax, [ebp - 0xa0]
push str._06.2f
push eax
call fcn.0041df39
push 6
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp + ebx - 0x520]
push eax
call fcn.0041cfd0
add esp, 0x1c
add ebx, 6
push 7
lea eax, [ebp + ebx - 0x520]
push str.devls
push eax
call fcn.0041cfd0
push 4
pop edi
push edi
lea eax, [esi + 0x131a]
push eax
add ebx, 7
lea eax, [ebp + ebx - 0x520]
push eax
call fcn.0041cfd0
push 8
add ebx, edi
lea eax, [ebp + ebx - 0x520]
push str.hostls
push eax
call fcn.0041cfd0
push 7
add ebx, 8
lea eax, [ebp + ebx - 0x520]
push str.retno
push eax
call fcn.0041cfd0
lea eax, [esi + 0x2e91]
push edi
mov esi, str.0000
push esi
push eax
add ebx, 7
mov dword [ebp - 0x10], eax
call fcn.0041e600
add esp, 0x3c
test eax, eax
jne 0x4069e1
push edi
push str.0110
push dword [ebp + 8]
call fcn.0041e600
add esp, 0xc
test eax, eax
jne 0x4069e1
push edi
push dword [ebp - 0x10]
lea eax, [ebp + ebx - 0x520]
push eax
call fcn.0041cfd0
add esp, 0xc
push edi
push esi
push dword [ebp - 0x10]
call fcn.0041e600
add esp, 0xc
test eax, eax
jne 0x406a1b
push edi
push str.0110
push dword [ebp + 8]
call fcn.0041e600
add esp, 0xc
test eax, eax
je 0x406a1b
push edi
push dword [ebp + 8]
lea eax, [ebp + ebx - 0x520]
push eax
call fcn.0041cfd0
add esp, 0xc
push edi
push esi
push dword [ebp - 0x10]
call fcn.0041e600
add esp, 0xc
test eax, eax
je 0x406a40
push edi
push dword [ebp - 0x10]
lea eax, [ebp + ebx - 0x520]
push eax
call fcn.0041cfd0
add esp, 0xc
push edi
mov esi, str.9999
push esi
push dword [ebp - 0x10]
call fcn.0041e600
add esp, 0xc
test eax, eax
jne 0x406a68
push edi
lea eax, [ebp + ebx - 0x520]
push esi
push eax
call fcn.0041cfd0
add esp, 0xc
push 0x13
lea eax, [ebp + ebx - 0x51c]
push str.v_devlsv_hostls
push eax
call fcn.0041cfd0
add esp, 0xc
push str.c:ebmsEbmsCom.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x406aba
push str.EbmsTx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x406ab3
lea ecx, [ebp - 0x520]
push ecx
push str.A001
push str.127.0.0.1
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004011ce
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4