Function at 0x414df7
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.0043d137
add esp, 4
mov dword [ebp - 0xc], eax
mov edi, eax
mov esi, 0x464343
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push 0x4642b0
push dword [0x4666b6]
call fcn.00401a30
add esp, 8
cmp eax, 0
jne 0x414f29
push 0x80000301
push 0
push 0xff
push 1
mov ebx, 0x184
call fcn.0043f4e0
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x414e8f
push ebx
call fcn.0043d131
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], esp
push 0
push 0x1c
push dword [ebp - 4]
push 0
xor eax, eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x414ece
push 0xc9
push 0x402fd41
push 6
call fcn.0043d143
add esp, 0xc
push 0x46520d
push dword [ebp - 4]
mov ecx, 2
call fcn.0040129b
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [0x4666b6]
test ebx, ebx
je 0x414efd
push ebx
call fcn.0043d131
add esp, 4
pop eax
mov dword [0x4666b6], eax
push 0x4666b6
mov eax, str.GameRecordPUBG
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00403b58
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x414f29
push ebx
call fcn.0043d131
add esp, 4
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x414f49
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x414f45
imul eax, dword [ebx]
jmp 0x414f3a
mov ecx, eax
test ecx, ecx
je 0x414f68
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x414f61
push ebx
push eax
call fcn.0043d131
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x414f4f
call fcn.0043d131
add esp, 4
mov eax, 0x464343
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 1
push 1
push 1
lea eax, [ebp - 0xc]
push eax
push 0x4666b6
call fcn.00415223
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
push eax
lea eax, [ebp - 0x10]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x4150f6
mov dword [ebp - 0x14], 0
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.0040120f
xor ecx, ecx
push eax
lea eax, [ebp - 0x18]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x41503a
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x18]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x10]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
push eax
mov ebx, dword [ebp - 0x1c]
push dword [ebx]
call fcn.00401a30
add esp, 8
cmp eax, 0
jne 0x415032
mov dword [ebp - 0x14], 1
jmp 0x41503a
pop eax
pop ebx
pop ecx
jmp 0x414fc8
add esp, 0xc
cmp dword [ebp - 0x14], 0
jne 0x4150ee
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x10]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
push dword [ebp + 0xc]
push 4
mov eax, 2
call fcn.0043db40
add esp, 8
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
mov dword [ebp - 0x24], ebx
call fcn.00403b38
mov dword [ebp - 0x28], ecx
mov edi, dword [ebp - 0x24]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x4150a6
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x28]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x24]
call fcn.0043d14f
add esp, 8
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x28]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x20]
push edi
test eax, eax
je 0x4150eb
push eax
mov ebx, eax
call fcn.00401230
inc eax
push eax
call fcn.0043d137
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
mov dword [edi], eax
pop eax
pop ebx
pop ecx
jmp 0x414fa0
add esp, 0xc
mov ebx, dword [ebp - 0xc]
call fcn.0040120f
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4151b7
mov eax, dword [ebp - 0xc]
push eax
mov ebx, eax
call fcn.00403b38
pop eax
sub ebx, eax
push ecx
push ebx
push eax
shl ecx, 2
add ecx, ebx
push ecx
call fcn.0043d137
add esp, 4
pop esi
mov edi, eax
pop ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
pop ecx
test ecx, ecx
je 0x415169
push eax
lodsd eax, dword [esi]
push esi
push edi
push ecx
test eax, eax
je 0x41515d
push eax
mov ebx, eax
call fcn.00401230
inc eax
push eax
call fcn.0043d137
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop ecx
pop edi
pop esi
stosd dword es:[edi], eax
dec ecx
jne 0x415140
pop eax
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x41518a
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x415186
imul eax, dword [ebx]
jmp 0x41517b
mov ecx, eax
test ecx, ecx
je 0x4151a9
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4151a2
push ebx
push eax
call fcn.0043d131
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x415190
call fcn.0043d131
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.0040120f
jmp 0x4151c6
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4151d7
push ebx
call fcn.0043d131
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4151f5
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4151f1
imul eax, dword [ebx]
jmp 0x4151e6
mov ecx, eax
test ecx, ecx
je 0x415214
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x41520d
push ebx
push eax
call fcn.0043d131
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4151fb
call fcn.0043d131
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8