Function at 0x427500
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d207
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x463188]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24c], edi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x250], 0
push 0
push eax
call fcn.0042c0e0
mov esi, dword [edi + 0x14]
add esp, 0xc
mov ecx, edi
cmp esi, 8
jb 0x427561
mov ecx, dword [edi]
mov edx, dword [edi + 0x10]
push 0xf
push 0x45d5b0
push ecx
call fcn.0041d9b0
add esp, 0xc
cmp eax, 0xffffffff
je 0x4275dc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x427841
lea esi, [ebp - 0x218]
mov ecx, esi
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4275a0
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x21a], 0x5c
jne 0x4275bb
dec ecx
push ecx
push esi
sub esp, 8
mov ecx, edi
mov eax, esp
mov dword [eax], 0x45d5b0
mov dword [eax + 4], 0xf
call fcn.00426860
mov esi, dword [edi + 0x14]
add esp, 0x10
mov eax, dword [edi + 0x10]
mov ecx, edi
cmp esi, 8
jb 0x4275e8
mov ecx, dword [edi]
push 0x13
push str._appdata_local_dir_
push ecx
mov edx, eax
call fcn.0041d9b0
add esp, 0xc
cmp eax, 0xffffffff
je 0x427663
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x1c
push 0
call dword [0x463094]
test eax, eax
js 0x427841
lea esi, [ebp - 0x218]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x427627
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x21a], 0x5c
jne 0x427642
dec ecx
push ecx
push esi
sub esp, 8
mov ecx, edi
mov eax, esp
mov dword [eax], str._appdata_local_dir_
mov dword [eax + 4], 0x13
call fcn.00426860
mov esi, dword [edi + 0x14]
add esp, 0x10
mov eax, dword [edi + 0x10]
mov ecx, edi
cmp esi, 8
jb 0x42766f
mov ecx, dword [edi]
push 6
push str._guid_
push ecx
mov edx, eax
call fcn.0041d9b0
add esp, 0xc
cmp eax, 0xffffffff
je 0x42784f
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
push 0x26
xor eax, eax
mov dword [ebp - 0x230], 0
push str.00000000_0000_0000_0000_000000000000
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.00402d80
lea eax, [ebp - 0x240]
mov dword [ebp - 0x250], 1
push eax
call dword [sym.imp.RPCRT4.dll_UuidCreate]
test eax, eax
jne 0x427710
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x230]
inc ecx
cmp dword [ebp - 0x21c], 8
jb 0x427701
mov eax, dword [ebp - 0x230]
push ecx
push eax
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
sub esp, 8
lea ecx, [ebp - 0x230]
mov eax, esp
mov dword [eax], 0x45d5a8
mov dword [eax + 4], 1
call fcn.00426760
mov eax, esp
lea ecx, [ebp - 0x230]
mov dword [eax], 0x45d5ac
mov dword [eax + 4], 1
call fcn.004267d0
mov edx, dword [ebp - 0x21c]
lea eax, [ebp - 0x230]
mov ecx, dword [ebp - 0x230]
add esp, 8
cmp edx, 8
jb 0x427763
mov eax, ecx
lea esi, [ebp - 0x230]
mov dword [ebp - 0x248], esi
jb 0x427777
mov dword [ebp - 0x248], ecx
mov edi, dword [ebp - 0x248]
mov esi, dword [ebp - 0x220]
lea esi, [edi + esi*2]
mov edi, dword [ebp - 0x24c]
mov dword [ebp - 0x248], esi
lea esi, [ebp - 0x230]
jb 0x42779c
mov esi, ecx
cmp esi, dword [ebp - 0x248]
je 0x4277dd
sub eax, esi
mov dword [ebp - 0x244], eax
mov edi, eax
mov edi, edi
movzx eax, word [esi]
push eax
call fcn.004381d0
mov word [esi + edi], ax
add esp, 4
add esi, 2
cmp esi, dword [ebp - 0x248]
jne 0x4277b0
mov edx, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x230]
mov edi, dword [ebp - 0x24c]
lea eax, [ebp - 0x230]
cmp edx, 8
jb 0x4277ea
mov eax, ecx
push dword [ebp - 0x220]
mov ecx, edi
push eax
sub esp, 8
mov eax, esp
mov dword [eax], str._guid_
mov dword [eax + 4], 6
call fcn.00426860
mov edx, dword [ebp - 0x21c]
add esp, 0x10
cmp edx, 8
jb 0x42784f
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427845
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42786c
jmp 0x427845
xor al, al
jmp 0x427851
push edx
push ecx
call fcn.00429a23
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004299ea
mov esp, ebp
pop ebp
ret
call fcn.0042e9c4
int3