Function at 0x4704b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5560c8
mov eax, dword fs:[0]
push eax
sub esp, 0x628
mov eax, dword [0x5c5244]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004f39e0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.ComputerZ.set
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004f39e0
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x56c9a8
push str.GhostSendStat
push str.general
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x470570
sub ecx, edx
sar ecx, 1
cmp ecx, 0xa
ja 0x47058b
xor eax, eax
jmp 0x470749
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.004f39e0
add esp, 0xc
lea eax, [ebp - 0x628]
push 0x104
push eax
call fcn.004d3d10
call fcn.00430a50
mov ecx, eax
test ecx, ecx
je 0x470764
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x630], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x630]
call fcn.0042d870
test al, al
jne 0x470617
lea ecx, [ebp - 0x628]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4705f5
sub ecx, edx
lea eax, [ebp - 0x628]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x630]
call fcn.00429710
mov dword [ebp - 4], 1
call fcn.00430a50
mov ecx, eax
test ecx, ecx
je 0x47076e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x62c], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x62c]
call fcn.0042d870
test al, al
jne 0x470682
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x470660
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x62c]
call fcn.00429710
mov byte [ebp - 4], 3
lea eax, [ebp - 0x630]
push eax
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x634]
push eax
call fcn.004dc430
add esp, 0xc
mov byte [ebp - 4], 5
or esi, 0xffffffff
mov edx, dword [ebp - 0x62c]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4706c7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov eax, esi
mov edx, dword [ebp - 0x630]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4706e8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x634]
mov ecx, 0x574f48
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x470719
test dx, dx
je 0x470715
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x470719
add eax, 4
add ecx, 4
test dx, dx
jne 0x4706f3
xor eax, eax
jmp 0x47071e
sbb eax, eax
or eax, 1
xor ebx, ebx
test eax, eax
sete bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x634]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x470747
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004da3bd
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004225f0
push 0x80004005
call fcn.004225f0
int3