Function at 0x40b8c1
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4500ff
call fcn.0041db18
sub esp, 0x524
push ebx
push esi
push edi
xor ebx, ebx
mov edi, ecx
push 0xa
lea eax, [edi + 0x2e82]
push 0x30
push eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], ebx
call fcn.0041dc40
push 0x10
lea eax, [ebp - 0x58]
push ebx
push eax
call fcn.0041dc40
push 0x80
lea eax, [ebp - 0x530]
push ebx
push eax
call fcn.0041dc40
push 0x10
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.0041dc40
mov esi, dword [ebp + 8]
mov ecx, dword [edi + 0x144]
add esp, 0x30
push dword [ebp + 0xc]
push esi
call fcn.004107a9
mov ecx, dword [edi + 0x144]
push 1
call fcn.004111b9
cmp byte [esi + 1], 0x41
jne 0x40d066
lea ecx, [edi + 0x2e30]
call fcn.0041176a
push dword [ebp + 0xc]
lea ecx, [edi + 0x2e30]
push esi
call fcn.004116d1
mov esi, 0x200
push esi
lea eax, [ebp - 0x4b0]
push ebx
push eax
call fcn.0041dc40
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x4b0]
push eax
push 2
lea ecx, [edi + 0x2e30]
mov dword [ebp - 0x10], esi
call fcn.004117ab
push 5
lea eax, [ebp - 0x70]
push ebx
push eax
call fcn.0041dc40
push 4
lea eax, [ebp - 0x4b0]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0041cfd0
push 4
lea eax, [ebp - 0x4b0]
push eax
lea eax, [edi + 0x2e8c]
push eax
call fcn.0041cfd0
push esi
lea eax, [ebp - 0x4b0]
push ebx
push eax
call fcn.0041dc40
add esp, 0x30
push str.C:FEPRETCODE.ini
push ebx
push str.value
push str.TESTFLAG
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 1
jne 0x40ba25
push str.C:FEPRETCODE.ini
push 5
lea eax, [ebp - 0x4b0]
push eax
push str.0000
push str.value
push str.RETCODE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
jmp 0x40ba3d
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x4b0]
push eax
push 3
lea ecx, [edi + 0x2e30]
call fcn.004117ab
push 5
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.0041dc40
push 4
lea eax, [ebp - 0x4b0]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0041cfd0
push 4
lea ecx, [ebp - 0x4b0]
lea eax, [edi + 0x2e91]
push ecx
push eax
call fcn.0041cfd0
add esp, 0x24
cmp byte [ebp - 0x20], bl
jne 0x40ba8b
push 4
lea eax, [ebp - 0x20]
push str.9999
push eax
call fcn.0041cfd0
add esp, 0xc
cmp byte [edi + 0x2e91], bl
jne 0x40baa9
push 4
lea eax, [edi + 0x2e91]
push str.9999
push eax
call fcn.0041cfd0
add esp, 0xc
push esi
lea eax, [ebp - 0x4b0]
push ebx
push eax
call fcn.0041dc40
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x4b0]
push eax
push 4
lea ecx, [edi + 0x2e30]
mov dword [ebp - 0x10], esi
call fcn.004117ab
lea eax, [ebp - 0x4b0]
push eax
call fcn.0041f1c9
fmul qword [0x457bb8]
cmp dword [edi + 0x64], 0x15
pop ecx
fstp qword [ebp - 0x18]
je 0x40bb11
push 4
lea eax, [edi + 0x131a]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0041e600
add esp, 0xc
test eax, eax
je 0x40bb11
push 0x458944
jmp 0x40bb41
push 4
lea eax, [ebp - 0x20]
push str.0000
push eax
call fcn.0041e600
add esp, 0xc
push dword [edi + 0x64]
neg eax
sbb eax, eax
inc eax
push eax
mov ecx, edi
mov dword [ebp + 8], eax
call fcn.00403e3d
cmp eax, 0x2a
jl 0x40bb4d
push 0x458918
mov ecx, edi
call fcn.00408751
jmp 0x40d066
shl eax, 4
push dword [eax + 0x456a30]
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x40], eax
call fcn.00401530
push dword [eax]
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.00408751
mov ecx, dword [ebp + 0xc]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004011ce
cmp dword [ebp + 8], ebx
je 0x40bbd2
mov eax, dword [edi + 0x64]
cmp eax, 0x3b
jne 0x40bbb1
push str.0110
push 0x36
mov ecx, edi
call fcn.00408b26
mov ecx, edi
mov dword [edi + 0x64], 0x3c
call fcn.0040b5d3
mov dword [edi + 0x64], 0x3e
jmp 0x40d066
cmp eax, 0x3e
jne 0x40bbd2
push str.0110
push 0x36
mov ecx, edi
call fcn.00408b26
mov ecx, edi
call fcn.0040b5d3
mov dword [edi + 0x64], 0x3d
mov ecx, edi
call fcn.00403cee
cmp dword [ebp + 8], ebx
jne 0x40bbe5
mov byte [edi + 0x1d7], 0x31
push esi
lea eax, [ebp - 0x4b0]
push ebx
push eax
call fcn.0041dc40
push 4
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x4b0]
push eax
call fcn.0041cfd0
add esp, 0x18
lea eax, [ebp - 0x4b0]
push eax
mov ecx, edi
call fcn.00403c39
push esi
lea eax, [ebp - 0x4b0]
push ebx
push eax
call fcn.0041dc40
add esp, 0xc
push str._y_m_d_H_M_S
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.004043a2
mov ecx, eax
call fcn.004055fd
push dword [eax]
lea eax, [ebp - 0x4b0]
push 0x457ca8
push eax
call fcn.0041df39
mov ecx, dword [ebp + 0xc]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004011ce
lea eax, [ebp - 0x4b0]
push eax
push 0x4d
mov ecx, edi
call fcn.004043b8
push esi
lea eax, [ebp - 0x4b0]
push ebx
push eax
call fcn.0041dc40
push str.15_15
lea eax, [ebp - 0x4b0]
push 0x457ca8
push eax
call fcn.0041df39
mov eax, dword [edi + 0x64]
add esp, 0x18
cmp eax, 0x17
jg 0x40bcb9
je 0x40bccb
sub eax, 6
je 0x40bccb
sub eax, 4
je 0x40bccb
dec eax
dec eax
je 0x40bccb
dec eax
dec eax
je 0x40bccb
jmp 0x40bd8c
sub eax, 0x23
je 0x40bccb
dec eax
dec eax
je 0x40bccb
sub eax, 4
jne 0x40bd8c
lea eax, [ebp - 0x48]
push eax
call fcn.004043a2
push eax
call fcn.0041e3ea
cmp eax, ebx
pop ecx
je 0x40bce4
mov al, byte [eax + 0xc]
jmp 0x40bce6
xor al, al
mov byte [ebp - 0xb0], al
movsx eax, al
cmp dword [edi + 0x74], eax
je 0x40bd8c
push 0x14
mov dword [edi + 0x74], eax
lea eax, [ebp - 0xb0]
push ebx
push eax
call fcn.0041dc40
push dword [edi + 0x74]
lea eax, [ebp - 0xb0]
push 0x457734
push eax
call fcn.0041df39
lea eax, [ebp - 0x3c]
push eax
call fcn.00404c40
push str.ATMCNFG.ini
push eax
lea eax, [ebp + 0xc]
push eax
mov dword [ebp - 4], 1
call fcn.00404b41
add esp, 0x28
push dword [eax]
lea eax, [ebp - 0xb0]
push eax
push str.COMPDATE
push str.Parameter
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004011ce
mov ecx, dword [ebp - 0x3c]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004011ce
push 0x458910
lea eax, [ebp - 0x4b0]
push 0x457ca8
push eax
call fcn.0041df39
add esp, 0xc
lea eax, [ebp - 0x4b0]
push eax
push 0x48
mov ecx, edi
call fcn.004043b8
push esi
lea eax, [ebp - 0x4b0]
push ebx
push eax
call fcn.0041dc40
push 0x13
lea eax, [ebp - 0x4b0]
push 0x20
push eax
call fcn.0041dc40
lea eax, [edi + 0x13f0]
push eax
call fcn.0041cf40
add esp, 0x1c
cmp eax, 0x13
jae 0x40bde0
lea eax, [edi + 0x13f0]
push eax
call fcn.0041cf40
pop ecx
mov dword [ebp - 0x10], eax
jmp 0x40bde7
mov dword [ebp - 0x10], 0x13
push dword [ebp - 0x10]
lea eax, [edi + 0x13f0]
push eax
lea eax, [ebp - 0x4b0]
push eax
call fcn.0041cfd0
add esp, 0xc
lea eax, [ebp - 0x4b0]
push eax
push 0x42
mov ecx, edi
call fcn.004043b8
cmp dword [ebp + 8], ebx
lea eax, [ebp - 0x4b0]
je 0x40be22
push 0x457c48
jmp 0x40be27
push 0x457fe0
push eax
call fcn.0041db40
pop ecx
pop ecx
lea eax, [ebp - 0x4b0]
push eax
push 0x68
mov ecx, edi
call fcn.004043b8
cmp dword [ebp + 8], ebx
je 0x40be85
push esi
lea eax, [ebp - 0x4b0]
push ebx
push eax
call fcn.0041dc40
push 4
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x4ae]
push eax
mov byte [ebp - 0x4af], 0x30
mov byte [ebp - 0x4b0], 0x30
call fcn.0041cfd0
add esp, 0x18
lea eax, [ebp - 0x4b0]
push eax
push 0x66
mov ecx, edi
call fcn.004043b8
push 0x457fe0
push 0x4580fc
mov ecx, edi
call fcn.00405b50
mov eax, dword [edi + 0x64]
cmp eax, 0x23
jg 0x40c71b
je 0x40c45b
sub eax, 6
je 0x40c2ba
sub eax, 4
je 0x40c00b
sub eax, 4
je 0x40c708
sub eax, 9
je 0x40bf7a
dec eax
dec eax
je 0x40bf28
sub eax, 4
jne 0x40ceb9
push str.0002000200020002
push 0x54
mov ecx, edi
call fcn.004043b8
push str.0000000000000000
push 0x53
mov ecx, edi
call fcn.004043b8
push str.0000000000000000
push 0x52
mov ecx, edi
call fcn.004043b8
push str.0000
push 0x47
mov ecx, edi
call fcn.004043b8
push str.0000
push 0x46
mov ecx, edi
call fcn.004043b8
push str.0000000000000
push 0x45
jmp 0x40bf67
push str.0002000200020002
push 0x54
mov ecx, edi
call fcn.004043b8
push str.0000000000000000
push 0x53
mov ecx, edi
call fcn.004043b8
push str.0000000000000000
push 0x52
mov ecx, edi
call fcn.004043b8
push str.0000
push 0x47
mov ecx, edi
call fcn.004043b8
push str.0000
push 0x46
mov ecx, edi
call fcn.004043b8
push 0x4576d4
push 0x31
jmp 0x40ceb2
push esi
lea eax, [ebp - 0x2b0]
push ebx
push eax
call fcn.0041dc40
push 0x30
lea eax, [ebp - 0x2b0]
push 0x30
push eax
call fcn.0041dc40
add esp, 0x18
lea eax, [ebp - 0x2b0]
push eax
push 0x34
mov ecx, edi
call fcn.004043b8
push esi
lea eax, [ebp - 0x2b0]
push ebx
push eax
call fcn.0041dc40
push 1
lea eax, [ebp - 0x2b0]
push 0x31
push eax
call fcn.0041dc40
add esp, 0x18
lea eax, [ebp - 0x2b0]
push eax
push 0x59
mov ecx, edi
call fcn.004043b8
push esi
lea eax, [ebp - 0x2b0]
push ebx
push eax
call fcn.0041dc40
push 5
lea eax, [ebp - 0x2b0]
push 0x30
push eax
call fcn.0041dc40
add esp, 0x18
lea eax, [ebp - 0x2b0]
push eax
push 0x56
jmp 0x40ceb2
push esi
lea eax, [ebp - 0x4b0]
push ebx
push eax
call fcn.0041dc40
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x4b0]
push eax
push 1
lea ecx, [edi + 0x2e30]
mov dword [ebp - 0x10], esi
call fcn.004117ab
push dword [ebp - 0x10]
lea eax, [ebp - 0x4b0]
push eax
lea eax, [ebp - 0x530]
push eax
call fcn.0041cfd0
mov eax, dword [ebp - 0x10]
push esi
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x4b0]
push ebx
push eax
call fcn.0041dc40
fld qword [ebp - 0x18]
fmul qword [0x458908]
add esp, 0x10
lea eax, [ebp - 0x4b0]
fstp qword [esp]
push str._012.0f
push eax
call fcn.0041df39
add esp, 0x10
lea eax, [ebp - 0x4b0]
push eax
push 0x32
mov ecx, edi
call fcn.004043b8
push esi
lea eax, [ebp - 0x4b0]
push ebx
push eax
call fcn.0041dc40
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x4b0]
push eax
push 4
lea ecx, [edi + 0x2e30]
mov dword [ebp - 0x10], esi
call fcn.004117ab
push dword [ebp - 0x10]
lea eax, [ebp - 0x4b0]
push eax
mov eax, dword [ebp + 0xc]
lea eax, [ebp + eax - 0x530]
push eax
call fcn.0041cfd0
mov eax, dword [ebp - 0x10]
add dword [ebp + 0xc], eax
push esi
lea eax, [ebp - 0x4b0]
push ebx
push eax
call fcn.0041dc40
add esp, 0x18
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x4b0]
push eax
push 0xb
lea ecx, [edi + 0x2e30]
mov dword [ebp - 0x10], esi
call fcn.004117ab
lea eax, [ebp - 0x4b0]
push eax
call fcn.0041f1c9
push esi
fstp st(0)
lea eax, [ebp - 0x4b0]
push ebx
push eax
call fcn.0041dc40
push 5
lea eax, [ebp - 0x4b0]
push 0x30
push eax
call fcn.0041dc40
add esp, 0x1c
lea eax, [ebp - 0x4b0]
push eax
push 0x56
mov ecx, edi
call fcn.004043b8
mov eax, dword [ebp + 0xc]
push 2
lea eax, [ebp + eax - 0x530]
push 0x45777c
push eax
call fcn.0041cfd0
add dword [ebp + 0xc], 2
push esi
lea eax, [ebp - 0x4b0]
push ebx
push eax
call fcn.0041dc40
push 0x50
lea eax, [ebp - 0x4b0]
push 0x30
push eax
call fcn.0041dc40
add esp, 0x24
lea eax, [ebp - 0x4b0]
push eax
push 0x4b
mov ecx, edi
call fcn.004043b8
push esi
lea eax, [ebp - 0x4b0]
push ebx
push eax
call fcn.0041dc40
push 0x10
lea eax, [ebp - 0x4b0]
push 0x30
push eax
call fcn.0041dc40
add esp, 0x18
lea eax, [ebp - 0x4b0]
push eax
push 0x4c
mov ecx, edi
call fcn.004043b8
push esi
lea eax, [ebp - 0x4b0]
push ebx
push eax
call fcn.0041dc40
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x4b0]
push eax
push 0xc
lea ecx, [edi + 0x2e30]
mov dword [ebp - 0x10], esi
call fcn.004117ab
push dword [ebp - 0x10]
lea eax, [ebp - 0x4b0]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0041cfd0
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x530]
push eax
mov ecx, edi
call fcn.004040a0
push str.c:_test.ini
lea eax, [ebp - 0x58]
push eax
push str.retmac
push str.hostmac
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push str.c:_test.ini
lea eax, [ebp - 0x68]
push eax
push str.calmac
push str.hostmac
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x10
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0041e600
push esi
lea eax, [ebp - 0x2b0]
push ebx
push eax
call fcn.0041dc40
push 0xc
lea eax, [edi + 0x131e]
push eax
lea eax, [ebp - 0x2b0]
push eax
call fcn.0041cfd0
add esp, 0x24
lea eax, [ebp - 0x2b0]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00402d20
mov eax, dword [eax]
push str.C:_fephost.ini
push eax
mov eax, str.fetch_money
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.004011ce
jmp 0x40ceb9
push esi
lea eax, [ebp - 0x2b0]
push ebx
push eax
call fcn.0041dc40
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2b0]
push eax
push 1
lea ecx, [edi + 0x2e30]
mov dword [ebp - 0x10], esi
call fcn.004117ab
push dword [ebp - 0x10]
lea eax, [ebp - 0x2b0]
push eax
lea eax, [ebp - 0x530]
push eax
call fcn.0041cfd0
mov eax, dword [ebp - 0x10]
push esi
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x2b0]
push ebx
push eax
call fcn.0041dc40
fld qword [ebp - 0x18]
fmul qword [0x458908]
add esp, 0x10
lea eax, [ebp - 0x2b0]
fstp qword [esp]
push str._012.0f
push eax
call fcn.0041df39
add esp, 0x10
lea eax, [ebp - 0x2b0]
push eax
push 0x32
mov ecx, edi
call fcn.004043b8
push esi
lea eax, [ebp - 0x2b0]
push ebx
push eax
call fcn.0041dc40
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2b0]
push eax
push 4
lea ecx, [edi + 0x2e30]
mov dword [ebp - 0x10], esi
call fcn.004117ab
push dword [ebp - 0x10]
lea eax, [ebp - 0x2b0]
push eax
mov eax, dword [ebp + 0xc]
lea eax, [ebp + eax - 0x530]
push eax
call fcn.0041cfd0
mov eax, dword [ebp - 0x10]
add dword [ebp + 0xc], eax
push esi
lea eax, [ebp - 0x2b0]
push ebx
push eax
call fcn.0041dc40
add esp, 0x18
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2b0]
push eax
push 0xb
lea ecx, [edi + 0x2e30]
mov dword [ebp - 0x10], esi
call fcn.004117ab
lea eax, [ebp - 0x2b0]
push eax
call fcn.0041f1c9
fmul qword [0x457bb8]
push esi
lea eax, [ebp - 0x2b0]
push ebx
push eax
fstp qword [ebp - 0x18]
call fcn.0041dc40
fld qword [ebp - 0x18]
fcomp qword [0x4588e8]
add esp, 0x10
fnstsw ax
test ah, 0x41
lea eax, [ebp - 0x2b0]
jne 0x40c432
fld qword [ebp - 0x18]
push ecx
fmul qword [0x458908]
push ecx
fst qword [ebp - 0x18]
fstp qword [esp]
push str._05.0f
push eax
call fcn.0041df39
fld qword [ebp - 0x18]
add esp, 8
fstp qword [esp]
lea eax, [edi + 0x2e82]
push str._05.0f
push eax
call fcn.0041df39
add esp, 0x10
jmp 0x40c43f
push 5
push 0x30
push eax
call fcn.0041dc40
add esp, 0xc
lea eax, [ebp - 0x2b0]
push eax
push 0x56
mov ecx, edi
call fcn.004043b8
push 2
push 0x457784
jmp 0x40c5f7
push esi
lea eax, [ebp - 0x2b0]
push ebx
push eax
call fcn.0041dc40
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2b0]
push eax
push 1
lea ecx, [edi + 0x2e30]
mov dword [ebp - 0x10], esi
call fcn.004117ab
push dword [ebp - 0x10]
lea eax, [ebp - 0x2b0]
push eax
lea eax, [ebp - 0x530]
push eax
call fcn.0041cfd0
mov eax, dword [ebp - 0x10]
push esi
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x2b0]
push ebx
push eax
call fcn.0041dc40
fld qword [ebp - 0x18]
fmul qword [0x458908]
add esp, 0x10
lea eax, [ebp - 0x2b0]
fstp qword [esp]
push str._012.0f
push eax
call fcn.0041df39
add esp, 0x10
lea eax, [ebp - 0x2b0]
push eax
push 0x32
mov ecx, edi
call fcn.004043b8
push esi
lea eax, [ebp - 0x2b0]
push ebx
push eax
call fcn.0041dc40
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2b0]
push eax
push 4
lea ecx, [edi + 0x2e30]
mov dword [ebp - 0x10], esi
call fcn.004117ab
push dword [ebp - 0x10]
lea eax, [ebp - 0x2b0]
push eax
mov eax, dword [ebp + 0xc]
lea eax, [ebp + eax - 0x530]
push eax
call fcn.0041cfd0
mov eax, dword [ebp - 0x10]
add dword [ebp + 0xc], eax
push esi
lea eax, [ebp - 0x2b0]
push ebx
push eax
call fcn.0041dc40
add esp, 0x18
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2b0]
push eax
push 0xb
lea ecx, [edi + 0x2e30]
mov dword [ebp - 0x10], esi
call fcn.004117ab
lea eax, [ebp - 0x2b0]
push eax
call fcn.0041f1c9
fmul qword [0x457bb8]
push esi
lea eax, [ebp - 0x2b0]
push ebx
push eax
fstp qword [ebp - 0x18]
call fcn.0041dc40
fld qword [ebp - 0x18]
fcomp qword [0x4588e8]
add esp, 0x10
fnstsw ax
test ah, 0x41
lea eax, [ebp - 0x2b0]
jne 0x40c5d3
fld qword [ebp - 0x18]
push ecx
fmul qword [0x458908]
push ecx
fst qword [ebp - 0x18]
fstp qword [esp]
push str._05.0f
push eax
call fcn.0041df39
fld qword [ebp - 0x18]
add esp, 8
fstp qword [esp]
lea eax, [edi + 0x2e82]
push str._05.0f
push eax
call fcn.0041df39
add esp, 0x10
jmp 0x40c5e0
push 5
push 0x30
push eax
call fcn.0041dc40
add esp, 0xc
lea eax, [ebp - 0x2b0]
push eax
push 0x56
mov ecx, edi
call fcn.004043b8
push 2
push 0x457780
mov eax, dword [ebp + 0xc]
lea eax, [ebp + eax - 0x530]
push eax
call fcn.0041cfd0
add dword [ebp + 0xc], 2
push esi
lea eax, [ebp - 0x2b0]
push ebx
push eax
call fcn.0041dc40
push 0x50
lea eax, [ebp - 0x2b0]
push 0x30
push eax
call fcn.0041dc40
add esp, 0x24
lea eax, [ebp - 0x2b0]
push eax
push 0x4b
mov ecx, edi
call fcn.004043b8
push esi
lea eax, [ebp - 0x2b0]
push ebx
push eax
call fcn.0041dc40
push 0x10
lea eax, [ebp - 0x2b0]
push 0x30
push eax
call fcn.0041dc40
add esp, 0x18
lea eax, [ebp - 0x2b0]
push eax
push 0x4c
mov ecx, edi
call fcn.004043b8
push esi
lea eax, [ebp - 0x2b0]
push ebx
push eax
call fcn.0041dc40
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2b0]
push eax
push 0xc
lea ecx, [edi + 0x2e30]
mov dword [ebp - 0x10], esi
call fcn.004117ab
push dword [ebp - 0x10]
lea eax, [ebp - 0x2b0]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0041cfd0
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x530]
push eax
mov ecx, edi
call fcn.004040a0
push str.c:_test.ini
lea eax, [ebp - 0x58]
push eax
push str.retmac
push str.hostmac
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push str.c:_test.ini
lea eax, [ebp - 0x68]
push eax
push str.calmac
push str.hostmac
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea eax, [ebp - 0x68]
push 0x10
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0041e600
add esp, 0xc
mov ecx, edi
call fcn.00405c86
mov ecx, edi
call fcn.00406ad6
jmp 0x40ceb9
sub eax, 0x25
je 0x40cba1
sub eax, 4
je 0x40c884
sub eax, 0x17
je 0x40c80f
dec eax
je 0x40bfab
dec eax
je 0x40c747
dec eax
jne 0x40ceb9
push esi
lea eax, [ebp - 0x2b0]
push ebx
push eax
call fcn.0041dc40
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2b0]
push eax
push 5
lea ecx, [edi + 0x2e30]
call fcn.004117ab
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2a4]
push eax
push 6
lea ecx, [edi + 0x2e30]
call fcn.004117ab
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x298]
push eax
push 7
lea ecx, [edi + 0x2e30]
call fcn.004117ab
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x28c]
push eax
push 8
lea ecx, [edi + 0x2e30]
call fcn.004117ab
lea eax, [ebp - 0x2b0]
push eax
push 0x34
mov ecx, edi
call fcn.004043b8
push esi
lea eax, [ebp - 0x2b0]
push ebx
push eax
call fcn.0041dc40
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2b0]
push eax
push 9
lea ecx, [edi + 0x2e30]
call fcn.004117ab
push ecx
lea eax, [ebp - 0x2b0]
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
call fcn.00401530
mov ecx, edi
call fcn.00404943
jmp 0x40ceb9
push esi
lea eax, [ebp - 0x4b0]
push ebx
push eax
call fcn.0041dc40
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x4b0]
push eax
push 5
lea ecx, [edi + 0x2e30]
mov dword [ebp - 0x10], esi
call fcn.004117ab
lea eax, [ebp - 0x4b0]
push eax
call fcn.0041e740
push esi
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x4b0]
push ebx
push eax
call fcn.0041dc40
mov eax, dword [ebp + 0xc]
push 0x64
pop ecx
cdq
idiv ecx
push eax
lea eax, [ebp - 0x4b0]
push str._02d
push eax
call fcn.0041df39
add esp, 0x1c
lea eax, [ebp - 0x4b0]
push eax
push 0x63
jmp 0x40ceb2
push esi
lea eax, [ebp - 0x4b0]
push ebx
push eax
call fcn.0041dc40
push 8
lea eax, [ebp - 0x4b0]
push 0x30
push eax
call fcn.0041dc40
add esp, 0x18
lea eax, [ebp - 0x4b0]
push eax
push 0x69
mov ecx, edi
call fcn.004043b8
push esi
lea eax, [ebp - 0x4b0]
push ebx
push eax
call fcn.0041dc40
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x4b0]
push eax
push 5
lea ecx, [edi + 0x2e30]
mov dword [ebp - 0x10], esi
call fcn.004117ab
push 0xc
lea eax, [ebp - 0x4b0]
push str.AAAAAAAAAAAA
push eax
call fcn.0041e600
add esp, 0xc
test eax, eax
je 0x40c902
mov dword [ebp - 0x24], 1
lea eax, [ebp - 0x4b0]
push eax
call fcn.0041f1c9
fmul qword [0x457bb8]
push esi
lea eax, [ebp - 0x4b0]
push ebx
fstp qword [ebp - 0x48]
push eax
call fcn.0041dc40
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x4b0]
push eax
push 6
lea ecx, [edi + 0x2e30]
mov dword [ebp - 0x10], esi
call fcn.004117ab
push 0xc
lea eax, [ebp - 0x4b0]
push str.AAAAAAAAAAAA
push eax
call fcn.0041e600
add esp, 0xc
test eax, eax
je 0x40c964
mov dword [ebp - 0x34], 1
lea eax, [ebp - 0x4b0]
push eax
call fcn.0041f1c9
fmul qword [0x457bb8]
push esi
lea eax, [ebp - 0x4b0]
push ebx
fstp qword [ebp - 0x9c]
push eax
call fcn.0041dc40
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x4b0]
push eax
push 7
lea ecx, [edi + 0x2e30]
mov dword [ebp - 0x10], esi
call fcn.004117ab
push 0xc
lea eax, [ebp - 0x4b0]
push str.AAAAAAAAAAAA
push eax
call fcn.0041e600
add esp, 0xc
test eax, eax
je 0x40c9c9
mov dword [ebp - 0x28], 1
lea eax, [ebp - 0x4b0]
push eax
call fcn.0041f1c9
fmul qword [0x457bb8]
push esi
lea eax, [ebp - 0x4b0]
push ebx
fstp qword [ebp - 0x88]
push eax
call fcn.0041dc40
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x4b0]
push eax
push 8
lea ecx, [edi + 0x2e30]
mov dword [ebp - 0x10], esi
call fcn.004117ab
push 0xc
lea eax, [ebp - 0x4b0]
push str.AAAAAAAAAAAA
push eax
call fcn.0041e600
add esp, 0xc
test eax, eax
je 0x40ca2e
mov dword [ebp - 0x2c], 1
lea eax, [ebp - 0x4b0]
push eax
call fcn.0041f1c9
fmul qword [0x457bb8]
push esi
lea eax, [ebp - 0x4b0]
push ebx
fstp qword [ebp - 0x90]
push eax
call fcn.0041dc40
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x4b0]
push eax
push 9
lea ecx, [edi + 0x2e30]
mov dword [ebp - 0x10], esi
call fcn.004117ab
push 0xc
lea eax, [ebp - 0x4b0]
push str.AAAAAAAAAAAA
push eax
call fcn.0041e600
add esp, 0xc
test eax, eax
je 0x40ca93
mov dword [ebp - 0x38], 1
lea eax, [ebp - 0x4b0]
push eax
call fcn.0041f1c9
fmul qword [0x457bb8]
push esi
lea eax, [ebp - 0x4b0]
push ebx
fstp qword [ebp - 0x80]
push eax
call fcn.0041dc40
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x4b0]
push eax
push 0xa
lea ecx, [edi + 0x2e30]
mov dword [ebp - 0x10], esi
call fcn.004117ab
push 0xc
lea eax, [ebp - 0x4b0]
push str.AAAAAAAAAAAA
push eax
call fcn.0041e600
add esp, 0xc
test eax, eax
je 0x40caf5
mov dword [ebp - 0x30], 1
lea eax, [ebp - 0x4b0]
push eax
call fcn.0041f1c9
fmul qword [0x457bb8]
push esi
lea eax, [ebp - 0x4b0]
push ebx
fstp qword [ebp - 0x78]
push eax
call fcn.0041dc40
fld qword [0x458908]
fld qword [ebp - 0x78]
add esp, 8
fmul st(1)
lea eax, [ebp - 0x4b0]
fstp qword [esp]
push dword [ebp - 0x30]
fld qword [ebp - 0x80]
push ecx
fmul st(1)
push ecx
fstp qword [esp]
push dword [ebp - 0x38]
fld qword [ebp - 0x90]
push ecx
fmul st(1)
push ecx
fstp qword [esp]
push dword [ebp - 0x2c]
fld qword [ebp - 0x88]
push ecx
fmul st(1)
push ecx
fstp qword [esp]
push dword [ebp - 0x28]
fld qword [ebp - 0x9c]
push ecx
fmul st(1)
push ecx
fstp qword [esp]
push dword [ebp - 0x34]
fld qword [ebp - 0x48]
push ecx
fmul st(1)
push ecx
fstp qword [esp]
push dword [ebp - 0x24]
push str._d_012.0f_d_012.0f_d_012.0f_d_012.0f_d_012.0f_d_012.0f
fstp st(0)
push eax
call fcn.0041df39
add esp, 0x50
lea eax, [ebp - 0x4b0]
push eax
push 0x35
mov ecx, edi
call fcn.004043b8
jmp 0x40c708
push esi
lea eax, [ebp - 0x2b0]
push ebx
push eax
call fcn.0041dc40
push 8
lea eax, [ebp - 0x2b0]
push 0x30
push eax
call fcn.0041dc40
add esp, 0x18
lea eax, [ebp - 0x2b0]
push eax
push 0x69
mov ecx, edi
call fcn.004043b8
push esi
lea eax, [ebp - 0x2b0]
push ebx
push eax
call fcn.0041dc40
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2b0]
push eax
push 5
lea ecx, [edi + 0x2e30]
mov dword [ebp - 0x10], esi
call fcn.004117ab
push 0xc
lea eax, [ebp - 0x2b0]
push str.AAAAAAAAAAAA
push eax
call fcn.0041e600
add esp, 0xc
test eax, eax
je 0x40cc1f
mov dword [ebp - 0x24], 1
lea eax, [ebp - 0x2b0]
push eax
call fcn.0041f1c9
fmul qword [0x457bb8]
push esi
lea eax, [ebp - 0x2b0]
push ebx
fstp qword [ebp - 0x48]
push eax
call fcn.0041dc40
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2b0]
push eax
push 6
lea ecx, [edi + 0x2e30]
mov dword [ebp - 0x10], esi
call fcn.004117ab
push 0xc
lea eax, [ebp - 0x2b0]
push str.AAAAAAAAAAAA
push eax
call fcn.0041e600
add esp, 0xc
test eax, eax
je 0x40cc81
mov dword [ebp - 0x34], 1
lea eax, [ebp - 0x2b0]
push eax
call fcn.0041f1c9
fmul qword [0x457bb8]
push esi
lea eax, [ebp - 0x2b0]
push ebx
fstp qword [ebp - 0x9c]
push eax
call fcn.0041dc40
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2b0]
push eax
push 7
lea ecx, [edi + 0x2e30]
mov dword [ebp - 0x10], esi
call fcn.004117ab
push 0xc
lea eax, [ebp - 0x2b0]
push str.AAAAAAAAAAAA
push eax
call fcn.0041e600
add esp, 0xc
test eax, eax
je 0x40cce6
mov dword [ebp - 0x28], 1
lea eax, [ebp - 0x2b0]
push eax
call fcn.0041f1c9
fmul qword [0x457bb8]
push esi
lea eax, [ebp - 0x2b0]
push ebx
fstp qword [ebp - 0x88]
push eax
call fcn.0041dc40
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2b0]
push eax
push 8
lea ecx, [edi + 0x2e30]
mov dword [ebp - 0x10], esi
call fcn.004117ab
push 0xc
lea eax, [ebp - 0x2b0]
push str.AAAAAAAAAAAA
push eax
call fcn.0041e600
add esp, 0xc
test eax, eax
je 0x40cd4b
mov dword [ebp - 0x2c], 1
lea eax, [ebp - 0x2b0]
push eax
call fcn.0041f1c9
fmul qword [0x457bb8]
push esi
lea eax, [ebp - 0x2b0]
push ebx
fstp qword [ebp - 0x90]
push eax
call fcn.0041dc40
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2b0]
push eax
push 9
lea ecx, [edi + 0x2e30]
mov dword [ebp - 0x10], esi
call fcn.004117ab
push 0xc
lea eax, [ebp - 0x2b0]
push str.AAAAAAAAAAAA
push eax
call fcn.0041e600
add esp, 0xc
test eax, eax
je 0x40cdb0
mov dword [ebp - 0x38], 1
lea eax, [ebp - 0x2b0]
push eax
call fcn.0041f1c9
fmul qword [0x457bb8]
push esi
lea eax, [ebp - 0x2b0]
push ebx
fstp qword [ebp - 0x80]
push eax
call fcn.0041dc40
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2b0]
push eax
push 0xa
lea ecx, [edi + 0x2e30]
mov dword [ebp - 0x10], esi
call fcn.004117ab
push 0xc
lea eax, [ebp - 0x2b0]
push str.AAAAAAAAAAAA
push eax
call fcn.0041e600
add esp, 0xc
test eax, eax
je 0x40ce12
mov dword [ebp - 0x30], 1
lea eax, [ebp - 0x2b0]
push eax
call fcn.0041f1c9
fmul qword [0x457bb8]
push esi
lea eax, [ebp - 0x2b0]
push ebx
fstp qword [ebp - 0x78]
push eax
call fcn.0041dc40
fld qword [0x458908]
fld qword [ebp - 0x78]
add esp, 8
fmul st(1)
lea eax, [ebp - 0x2b0]
fstp qword [esp]
push dword [ebp - 0x30]
fld qword [ebp - 0x80]
push ecx
fmul st(1)
push ecx
fstp qword [esp]
push dword [ebp - 0x38]
fld qword [ebp - 0x90]
push ecx
fmul st(1)
push ecx
fstp qword [esp]
push dword [ebp - 0x2c]
fld qword [ebp - 0x88]
push ecx
fmul st(1)
push ecx
fstp qword [esp]
push dword [ebp - 0x28]
fld qword [ebp - 0x9c]
push ecx
fmul st(1)
push ecx
fstp qword [esp]
push dword [ebp - 0x34]
fld qword [ebp - 0x48]
push ecx
fmul st(1)
push ecx
fstp qword [esp]
push dword [ebp - 0x24]
push str._d_012.0f_d_012.0f_d_012.0f_d_012.0f_d_012.0f_d_012.0f
fstp st(0)
push eax
call fcn.0041df39
add esp, 0x50
lea eax, [ebp - 0x2b0]
push eax
push 0x35
mov ecx, edi
call fcn.004043b8
push esi
lea eax, [ebp - 0x4b0]
push ebx
push eax
call fcn.0041dc40
add esp, 0xc
push str.C:FEPRETCODE.ini
push ebx
push str.value
push str.HOSTMACERRFLAG
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 1
jne 0x40cf29
push 4
lea eax, [ebp - 0x20]
push str.0000
push eax
call fcn.0041e600
add esp, 0xc
test eax, eax
jne 0x40cf29
push 4
lea eax, [ebp - 0x4b0]
push str.1111
push eax
mov byte [edi + 0x1d7], 0x31
call fcn.0041cfd0
add esp, 0xc
lea eax, [ebp - 0x4b0]
push eax
mov ecx, edi
call fcn.00403c39
jmp 0x40cf3e
push 4
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x4b0]
push eax
call fcn.0041cfd0
add esp, 0xc
lea eax, [ebp - 0x4b0]
push eax
push 0x67
mov ecx, edi
call fcn.004043b8
mov dword [ebp + 0xc], ebx
lea esi, [edi + 0x1b4]
mov edx, dword [esi]
mov ecx, dword [edi + 0x148]
mov eax, dword [ecx]
push ebx
add edx, 4
push edx
push esi
call dword [eax + 0x18]
cmp eax, 0xffffffff
jne 0x40cf7a
mov eax, dword [ebp + 0xc]
inc dword [ebp + 0xc]
cmp eax, 3
jl 0x40cf57
mov eax, dword [esi]
mov ecx, dword [edi + 0x144]
add eax, 4
push eax
push esi
call fcn.00410b27
mov ecx, dword [edi + 0x144]
push 1
call fcn.004111b9
cmp dword [ebp + 0xc], 3
mov eax, dword [ebp - 0x40]
push dword [eax + 0x456a34]
jg 0x40cfc5
lea ecx, [ebp + 0xc]
call fcn.00401530
push dword [eax]
mov ecx, edi
mov dword [ebp - 4], 2
call fcn.00408751
mov ecx, dword [ebp + 0xc]
jmp 0x40d007
lea ecx, [ebp - 0x14]
call fcn.00401530
push str.________
push eax
lea eax, [ebp - 0x94]
push eax
mov dword [ebp - 4], 3
call fcn.00404b41
add esp, 0xc
push dword [eax]
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00408751
mov ecx, dword [ebp - 0x94]
add ecx, 0xfffffff0
call fcn.004011ce
mov ecx, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004011ce
cmp dword [ebp + 8], ebx
je 0x40d066
mov eax, dword [edi + 0x64]
cmp eax, 0x19
je 0x40d058
cmp eax, 0x1d
je 0x40d04f
cmp eax, 0x25
je 0x40d046
cmp eax, 0x29
je 0x40d03d
cmp eax, 0x40
jne 0x40d066
push str.0110
push 0x51
jmp 0x40d05f
push str.0110
push 0x32
jmp 0x40d05f
push str.0110
push 0x41
jmp 0x40d05f
push str.0110
push 0x58
jmp 0x40d05f
push str.0110
push 0x55
mov ecx, edi
call fcn.00408b26
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8