Function at 0x428f60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450867
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x463184]
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 - 0x248], edi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x24c], 0
push 0
push eax
call fcn.0042d630
add esp, 0xc
mov ecx, edi
cmp dword [edi + 0x14], 8
jb 0x428fbf
mov ecx, dword [edi]
mov edx, dword [edi + 0x10]
push 0xf
push 0x45c5f0
push ecx
call fcn.0041ea50
add esp, 0xc
cmp eax, 0xffffffff
je 0x429039
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x42926e
lea esi, [ebp - 0x218]
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x429000
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x21a], 0x5c
jne 0x42901b
dec ecx
push ecx
push esi
sub esp, 8
mov ecx, edi
mov eax, esp
mov dword [eax], 0x45c5f0
mov dword [eax + 4], 0xf
call fcn.004281f0
add esp, 0x10
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x429043
mov ecx, dword [edi]
mov edx, dword [edi + 0x10]
push 0x13
push str._appdata_local_dir_
push ecx
call fcn.0041ea50
add esp, 0xc
cmp eax, 0xffffffff
je 0x4290bc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x1c
push 0
call dword [0x463094]
test eax, eax
js 0x42926e
lea esi, [ebp - 0x218]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x429083
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x21a], 0x5c
jne 0x42909e
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.004281f0
add esp, 0x10
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x4290c6
mov ecx, dword [edi]
mov edx, dword [edi + 0x10]
push 6
push str._guid_
push ecx
call fcn.0041ea50
add esp, 0xc
cmp eax, 0xffffffff
je 0x42927c
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
push 0x26
xorps xmm0, xmm0
mov dword [ebp - 0x220], 0
push str.00000000_0000_0000_0000_000000000000
movups xmmword [ebp - 0x230], xmm0
mov dword [ebp - 0x21c], 0
call fcn.00403090
lea eax, [ebp - 0x240]
mov dword [ebp - 0x24c], 1
push eax
call dword [sym.imp.RPCRT4.dll_UuidCreate]
test eax, eax
jne 0x42915e
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x230]
inc ecx
cmp dword [ebp - 0x21c], 8
push ecx
cmovae eax, dword [ebp - 0x230]
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], 0x45c5e8
mov dword [eax + 4], 1
call fcn.004280f0
mov eax, esp
lea ecx, [ebp - 0x230]
mov dword [eax], 0x45c5ec
mov dword [eax + 4], 1
call fcn.00428160
mov edx, dword [ebp - 0x21c]
lea eax, [ebp - 0x230]
mov esi, dword [ebp - 0x220]
lea ecx, [ebp - 0x230]
add esp, 8
cmp edx, 8
cmovae eax, dword [ebp - 0x230]
cmovae ecx, dword [ebp - 0x230]
lea eax, [eax + esi*2]
lea esi, [ebp - 0x230]
mov dword [ebp - 0x244], eax
cmovae esi, dword [ebp - 0x230]
cmp esi, eax
je 0x429207
sub ecx, esi
mov edi, ecx
nop
movzx eax, word [esi]
push eax
call fcn.0043b910
mov word [esi + edi], ax
add esp, 4
add esi, 2
cmp esi, dword [ebp - 0x244]
jne 0x4291e0
mov edx, dword [ebp - 0x21c]
mov edi, dword [ebp - 0x248]
push dword [ebp - 0x220]
cmp edx, 8
lea eax, [ebp - 0x230]
mov ecx, edi
cmovae eax, dword [ebp - 0x230]
push eax
sub esp, 8
mov eax, esp
mov dword [eax], str._guid_
mov dword [eax + 4], 6
call fcn.004281f0
mov ecx, dword [ebp - 0x21c]
add esp, 0x10
cmp ecx, 8
jb 0x42927c
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x429272
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429299
jmp 0x429272
xor al, al
jmp 0x42927e
push ecx
push edx
call fcn.0042b073
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.0042b03b
mov esp, ebp
pop ebp
ret
call fcn.00430964
int3