Function at 0x47c930
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ad14
mov eax, dword fs:[0]
push eax
mov eax, 0x2040
call fcn.004b0a90
mov eax, dword [0x58c758]
xor eax, ebp
mov dword [ebp - 0x28], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x204c], ecx
mov eax, dword [ebp - 0x204c]
movzx ecx, byte [eax]
test ecx, ecx
je 0x47c97c
mov eax, 1
jmp 0x47cc4a
push str.EntClientLeakRepairReport.dat
lea edx, [ebp - 0x20]
push edx
call fcn.00401270
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00402010
movzx eax, al
test eax, eax
je 0x47c9c7
mov dword [ebp - 0x2044], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00401eb0
mov eax, dword [ebp - 0x2044]
jmp 0x47cc4a
lea ecx, [ebp - 0x14]
call fcn.00403840
mov byte [ebp - 4], 1
push str.ReportHistory
lea ecx, [ebp - 0x1c]
call fcn.00401e30
mov byte [ebp - 4], 2
xor ecx, ecx
mov word [ebp - 0x202c], cx
push 0x1ffe
push 0
lea edx, [ebp - 0x202a]
push edx
call fcn.004b0ac0
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.0043e290
push eax
push 0x2000
lea eax, [ebp - 0x202c]
push eax
push 0x540868
push str.LastReportTime
lea ecx, [ebp - 0x1c]
call fcn.0043e290
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x47ca5f
lea ecx, [ebp - 0x202c]
push ecx
call fcn.004b0eb7
add esp, 4
test eax, eax
jbe 0x47ca5f
lea edx, [ebp - 0x202c]
push edx
mov ecx, dword [ebp - 0x204c]
add ecx, 4
call fcn.00401ed0
jmp 0x47cad7
xor eax, eax
mov word [ebp - 0x203c], ax
xor ecx, ecx
mov dword [ebp - 0x203a], ecx
mov dword [ebp - 0x2036], ecx
mov dword [ebp - 0x2032], ecx
mov word [ebp - 0x202e], cx
lea edx, [ebp - 0x203c]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x2030]
push eax
movzx ecx, word [ebp - 0x2032]
push ecx
movzx edx, word [ebp - 0x2034]
push edx
movzx eax, word [ebp - 0x2036]
push eax
movzx ecx, word [ebp - 0x203a]
push ecx
movzx edx, word [ebp - 0x203c]
push edx
push str._04d_02d_02d__02d:_02d:_02d
mov eax, dword [ebp - 0x204c]
add eax, 4
push eax
call fcn.00409170
add esp, 0x20
mov dword [ebp - 0x24], 0
mov ecx, dword [0x543620]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x20]
call fcn.0043e290
push eax
push 0
push str.Count
lea ecx, [ebp - 0x1c]
call fcn.0043e290
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x2040], 0
jmp 0x47cb24
mov edx, dword [ebp - 0x2040]
add edx, 1
mov dword [ebp - 0x2040], edx
mov eax, dword [ebp - 0x2040]
cmp eax, dword [ebp - 0x10]
jge 0x47cc0a
mov ecx, dword [ebp - 0x2040]
push ecx
push 0x548aec
lea edx, [ebp - 0x14]
push edx
call fcn.00409170
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.0043e290
push eax
push 0x2000
lea eax, [ebp - 0x202c]
push eax
push 0x540868
lea ecx, [ebp - 0x14]
call fcn.0043e290
push eax
lea ecx, [ebp - 0x1c]
call fcn.0043e290
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x47cb83
jmp 0x47cb15
lea ecx, [ebp - 0x202c]
push ecx
call fcn.004b0eb7
add esp, 4
test eax, eax
ja 0x47cb9b
jmp 0x47cb15
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x202c]
push eax
call fcn.004b5e1a
add esp, 8
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x47cc05
mov ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00401ed0
lea ecx, [ebp - 0x14]
call fcn.00428bb0
lea ecx, [ebp - 0x14]
call fcn.00402010
movzx edx, al
test edx, edx
jne 0x47cbf2
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x204c]
add ecx, 8
call fcn.00458e70
mov dword [eax], 1
lea ecx, [ebp - 0x18]
push ecx
push 0
call fcn.004b5e1a
add esp, 8
mov dword [ebp - 0x24], eax
jmp 0x47cbb1
jmp 0x47cb15
mov edx, dword [ebp - 0x204c]
mov byte [edx], 1
mov dword [ebp - 0x2048], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00401eb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00401eb0
mov eax, dword [ebp - 0x2048]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.004b0a79
mov esp, ebp
pop ebp
ret