Function at 0x75b858fe
Capabilities:
Get common file path
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x840
mov eax, dword [0x75b8e004]
push esi
push edi
xor esi, esi
push esi
xor edi, edi
inc edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
push 0x75b8e4f4
mov dword [ebp - 0x828], eax
mov dword [ebp - 0x81c], esi
mov dword [ebp - 0x824], esi
mov dword [ebp - 0x838], esi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x75b8594e
mov eax, dword [0x75b8e4f0]
jmp 0x75b85cfe
push ebx
lea eax, [ebp - 0x834]
push eax
push 0x20019
push esi
push 0x75b85e28
mov ebx, 0x80000002
push ebx
call sub.ADVAPI32.dll_RegOpenKeyExW
test eax, eax
jne 0x75b85a2e
push edi
lea eax, [ebp - 0x82c]
push eax
lea eax, [ebp - 0x838]
push eax
lea eax, [ebp - 0x820]
push eax
push esi
push 0x75b85dfc
push dword [ebp - 0x834]
mov dword [ebp - 0x82c], 4
mov dword [ebp - 0x820], esi
call fcn.75b87e91
test eax, eax
jne 0x75b85a22
cmp dword [ebp - 0x820], 4
jne 0x75b85a22
cmp dword [ebp - 0x838], esi
je 0x75b85a22
mov ecx, 0x82
lea edi, [ebp - 0x818]
rep stosd dword es:[edi], eax
push 0x104
lea eax, [ebp - 0x818]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x75b81980
lea eax, [ebp - 0x818]
push eax
call edi
push 0x75b85de4
lea eax, [ebp - 0x818]
push eax
call edi
lea eax, [ebp - 0x818]
push eax
push esi
push 0x75b85d50
push 0x75b85dd0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor edi, edi
mov dword [ebp - 0x824], eax
inc edi
push dword [ebp - 0x834]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x824], esi
jne 0x75b85ad0
cmp dword [ebp - 0x828], esi
jne 0x75b85a64
lea eax, [ebp - 0x828]
push eax
push 0x20019
push esi
push 0x75b825d8
push ebx
call sub.ADVAPI32.dll_RegOpenKeyExW
cmp eax, esi
mov dword [ebp - 0x81c], edi
jne 0x75b85ac4
push 4
pop ebx
push edi
lea eax, [ebp - 0x82c]
push eax
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x820]
push eax
push esi
push 0x75b85d10
push dword [ebp - 0x828]
mov dword [ebp - 0x82c], ebx
mov dword [ebp - 0x820], esi
call fcn.75b87e91
test eax, eax
jne 0x75b85aa6
cmp dword [ebp - 0x820], ebx
je 0x75b85ac4
cmp dword [ebp - 0x81c], esi
mov dword [ebp - 0x824], esi
je 0x75b85cfb
push dword [ebp - 0x828]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x824], esi
je 0x75b85cfb
push edi
lea eax, [ebp - 0x82c]
push eax
lea eax, [ebp - 0x610]
push eax
lea eax, [ebp - 0x820]
push eax
push esi
push 0x75b85d30
push dword [ebp - 0x828]
mov dword [ebp - 0x820], esi
mov dword [ebp - 0x82c], 0x20a
call fcn.75b87e91
cmp dword [ebp - 0x81c], esi
mov ebx, eax
je 0x75b85b1d
push dword [ebp - 0x828]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, esi
jne 0x75b85b48
cmp dword [ebp - 0x820], edi
jne 0x75b85b48
lea eax, [ebp - 0x610]
push eax
mov dword [ebp - 0x81c], eax
call sub.msvcrt.dll_wcslen
lea eax, [eax + eax + 2]
pop ecx
mov dword [ebp - 0x830], eax
jmp 0x75b85b96
push 0x104
lea eax, [ebp - 0x610]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
test eax, eax
jbe 0x75b85b82
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x75b81980
lea eax, [ebp - 0x610]
push eax
call esi
push 0x75b85d98
lea eax, [ebp - 0x610]
push eax
call esi
jmp 0x75b85b29
mov dword [ebp - 0x81c], 0x75b85db0
mov dword [ebp - 0x830], 0x1e
mov eax, dword [ebp - 0x824]
mov dword [0x75b8e4f0], eax
push 7
xor eax, eax
mov ecx, 0x100
lea edi, [ebp - 0x404]
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x404], 0x400
mov dword [ebp - 0x3d8], 0x20000
mov dword [ebp - 0x394], 0x78
mov dword [ebp - 0x398], 0x96
mov ebx, 0x75b85d78
mov esi, ebx
lea edi, [ebp - 0x38c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x830]
mov eax, ecx
movsw word es:[edi], word [esi]
mov esi, dword [ebp - 0x81c]
shr ecx, 2
lea edi, [ebp - 0x36e]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x404]
push eax
push ebx
push 0
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
call sub.ADVAPI32.dll_QueryTraceW
test eax, eax
jne 0x75b85c42
mov eax, dword [ebp - 0x3fc]
mov dword [0x75b8e4e8], eax
mov eax, dword [ebp - 0x3f8]
mov dword [0x75b8e4ec], eax
mov eax, dword [ebp - 0x824]
jmp 0x75b85cfd
xor eax, eax
push 7
mov ecx, 0x100
lea edi, [ebp - 0x404]
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x404], 0x400
mov dword [ebp - 0x3d8], 0x20000
mov dword [ebp - 0x3d4], 0x40
mov dword [ebp - 0x3c4], 0x1000005
mov dword [ebp - 0x394], 0x78
mov dword [ebp - 0x398], 0x96
mov esi, ebx
lea edi, [ebp - 0x38c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x830]
mov eax, ecx
movsw word es:[edi], word [esi]
mov esi, dword [ebp - 0x81c]
shr ecx, 2
lea edi, [ebp - 0x36e]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x404]
push eax
push ebx
lea eax, [ebp - 0x840]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call sub.ADVAPI32.dll_StartTraceW
test eax, eax
jne 0x75b85cea
mov eax, dword [ebp - 0x840]
mov dword [0x75b8e4e8], eax
mov eax, dword [ebp - 0x83c]
jmp 0x75b85c32
xor eax, eax
mov dword [0x75b8e4f0], eax
mov dword [0x75b8e4e8], eax
mov dword [0x75b8e4ec], eax
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.75b8c8aa
leave
ret 4