Function at 0x10039eec
Capabilities:
Get common file path

Disassembly:
mov eax, 0x100d94cd
call fcn.100ac440
sub esp, 0x158
mov eax, dword [0x1011c710]
xor eax, ebp
push ebx
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
xor esi, esi
push edi
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x120], esi
call fcn.100855ef
lea ecx, [ebp - 0x148]
mov dword [ebp - 4], 1
call fcn.100c7273
push 0x40
mov word [ebp - 0x114], si
pop ecx
xor eax, eax
lea edi, [ebp - 0x112]
rep stosd dword es:[edi], eax
mov byte [ebp - 4], 2
stosw word es:[edi], ax
call fcn.100026f4
test eax, eax
push 0x104
lea eax, [ebp - 0x114]
push eax
jne 0x10039f81
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x114]
push str.powerplayer.ini
push eax
call fcn.100ac910
pop ecx
pop ecx
jmp 0x10039f9a
call fcn.10002769
lea eax, [ebp - 0x114]
push str.powerplayer.ini
push eax
call fcn.100ac910
add esp, 0x10
push esi
push esi
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x148]
call fcn.100c751b
cmp eax, esi
je 0x10039fce
lea ecx, [ebp - 0x148]
call fcn.100c7166
lea ecx, [ebp - 0x148]
mov ebx, eax
call fcn.100c7211
cmp ebx, esi
jne 0x10039fe2
mov ecx, dword [ebp - 0x118]
lea eax, [ebp - 0x138]
push eax
call fcn.10033a08
jmp 0x1003a03a
push ebx
call fcn.100c6c30
push ebx
mov edi, eax
push esi
push edi
mov dword [ebp - 0x12c], edi
call fcn.100ab720
add esp, 0x10
push 0x100e3ab4
push ebx
push edi
push 0x100e2d52
push 0x100e8680
push esi
call fcn.100028ab
push edi
call fcn.100ab7d0
test eax, eax
pop ecx
jne 0x1003a049
cmp edi, esi
je 0x1003a028
push edi
call fcn.100c6c35
pop ecx
mov ecx, dword [ebp - 0x118]
lea eax, [ebp - 0x138]
push eax
call fcn.10033a08
mov dword [ebp - 0x120], 1
jmp 0x1003a1db
lea ecx, [ebp - 0x154]
call fcn.1002da89
mov byte [ebp - 4], 3
call fcn.100c6d12
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x11c], eax
push edi
mov edi, 0x100e2d0c
lea eax, [ebp - 0x11c]
push edi
push eax
mov byte [ebp - 4], 4
call fcn.10001d75
mov ebx, dword [ebp - 0x11c]
add esp, 0xc
push 0x100e3ab4
push 0
push 0x100e8680
push ebx
call fcn.100027f5
test eax, eax
jle 0x1003a10e
mov dword [ebp - 0x128], eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x124]
call fcn.1000174b
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 5
call fcn.1002d65b
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 6
call fcn.10031898
mov ecx, dword [ebp - 0x158]
add ecx, 0xfffffff0
call fcn.10001199
mov ecx, dword [ebp - 0x124]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.10001199
mov ebx, dword [ebx - 0xc]
mov eax, dword [ebp - 0x12c]
lea esi, [esi + ebx + 1]
add eax, esi
push eax
lea eax, [ebp - 0x11c]
push edi
push eax
call fcn.10001d75
mov ebx, dword [ebp - 0x11c]
add esp, 0xc
cmp dword [ebx - 0xc], 0
jne 0x1003a08d
mov eax, dword [ebp - 0x150]
cmp eax, dword [eax]
mov dword [ebp - 0x124], eax
je 0x1003a193
lea ecx, [ebp - 0x124]
call fcn.1002da70
add eax, 4
push eax
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x138]
call fcn.1000b372
cmp dword [ebp - 0x130], 3
je 0x1003a193
lea ecx, [ebp - 0x124]
call fcn.1002d0af
mov eax, dword [ebp - 0x150]
mov eax, dword [eax]
cmp dword [ebp - 0x124], eax
jne 0x1003a14e
cmp dword [ebp - 0x12c], 0
je 0x1003a1a8
push dword [ebp - 0x12c]
call fcn.100c6c35
pop ecx
mov ecx, dword [ebp - 0x118]
lea eax, [ebp - 0x138]
push eax
call fcn.10033a08
lea ecx, [ebx - 0x10]
mov dword [ebp - 0x120], 1
call fcn.10001199
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 2
call fcn.1003560b
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 1
call fcn.100c72b2
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 0
call fcn.1000e890
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x118]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.100ac33f
leave
ret 4