Function at 0x425d30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46113c
mov eax, dword fs:[0]
push eax
sub esp, 0x398
mov eax, dword [0x47d6c0]
xor eax, esp
mov dword [esp + 0x390], eax
push ebx
push esi
push edi
mov eax, dword [0x47d6c0]
xor eax, esp
push eax
lea eax, [esp + 0x3a8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x1c], eax
mov esi, edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0x23
mov ecx, 0x104
lea eax, [esp + 0x194]
mov byte [eax], bl
inc eax
dec ecx
jne 0x425d95
lea ecx, [esp + 0x194]
push ecx
push ebx
push ebx
push 0x23
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, ebx
jge 0x425e68
push ebx
mov esi, 0xf
push 0x46e9a1
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.00403400
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0xc0]
mov dword [esp + 0x3b4], ebx
call fcn.0040a3f0
cmp dword [esp + 0x34], 0x10
jb 0x425e02
mov eax, dword [esp + 0x20]
push eax
call fcn.004434f1
add esp, 4
mov dword [esp + 0x34], esi
mov esi, vtable.Exception.0
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], 0
mov dword [esp + 0xbc], esi
lea ecx, [esp + 0x18]
push ecx
push ecx
lea ecx, [esp + 0xc4]
mov dword [esp + 0x3b8], 1
call fcn.004260d0
add esp, 4
mov ecx, eax
call fcn.00417ec0
push eax
lea ecx, [esp + 0x108]
call fcn.00407040
push 0x476cc4
lea edx, [esp + 0x108]
push edx
mov dword [esp + 0x10c], esi
call fcn.0044404d
cmp dword [esi + 0x10], ebx
je 0x425e84
cmp dword [esi + 0x14], 8
jb 0x425e75
mov esi, dword [esi]
push esi
lea eax, [esp + 0x198]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push 0x480990
mov byte [ecx], bl
call fcn.00403310
lea ecx, [esp + 0x74]
push ecx
call fcn.00406c80
mov esi, 8
add esp, 0x20
cmp dword [eax + 0x14], esi
jb 0x425ebf
mov eax, dword [eax]
push eax
lea edx, [esp + 0x198]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp dword [esp + 0x6c], esi
jb 0x425ee1
mov eax, dword [esp + 0x58]
push eax
call fcn.004434f1
add esp, 4
cmp byte [ebp + 0xc], bl
je 0x425fbc
xor ecx, ecx
lea eax, [esp + 0x194]
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x425f07
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x198]
push edx
lea ecx, [esp + 0x44]
call fcn.00403840
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x3b4], 2
call fcn.004177f0
add esp, 4
test al, al
sete bl
mov dword [esp + 0x3b0], 0xffffffff
cmp dword [esp + 0x50], 8
jb 0x425f64
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004434f1
add esp, 4
test bl, bl
je 0x425fb5
lea ecx, [esp + 0x14c]
call fcn.00406b90
mov ecx, eax
mov dword [esp + 0x3b0], 3
call fcn.00426270
lea edi, [esp + 0x194]
mov ecx, eax
call fcn.00426410
push eax
lea ecx, [esp + 0x78]
call fcn.00407040
push 0x476cc4
lea edx, [esp + 0x78]
push edx
mov dword [esp + 0x7c], vtable.Exception.0
call fcn.0044404d
xor ebx, ebx
mov esi, 8
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x14], esi
jb 0x425fc7
mov eax, dword [eax]
push eax
lea eax, [esp + 0x198]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
xor ecx, ecx
lea eax, [esp + 0x194]
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], ebx
mov word [edi], cx
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x425ff0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x198]
push edx
mov ecx, edi
call fcn.00403840
mov eax, edi
mov ecx, dword [esp + 0x3a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x390]
xor ecx, esp
call fcn.00444268
mov esp, ebp
pop ebp
ret