Function at 0x425050
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x49f031
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x4c02a0]
xor eax, esp
mov dword [esp + 0x234], eax
push ebx
push esi
push edi
mov eax, dword [0x4c02a0]
xor eax, esp
push eax
lea eax, [esp + 0x248]
mov dword fs:[0], eax
lea esi, [esp + 0x10]
call fcn.00425030
mov dword [esp + 0x250], 0
mov edx, dword [esp + 0x10]
mov ecx, dword [edx - 0xc]
test ecx, ecx
je 0x4250dc
lea eax, [ecx - 1]
test eax, eax
jl 0x4252ef
cmp eax, ecx
jg 0x4252ef
movzx eax, word [edx + eax*2]
cmp ax, 0x5c
je 0x4250dc
cmp ax, 0x2f
je 0x4250dc
mov edx, 0x4a9248
mov edi, esi
call fcn.004120c0
mov edx, dword [esp + 0x10]
cmp dword [edx - 0xc], 0
jne 0x425130
mov dword [esp + 0x250], 0xffffffff
lea eax, [edx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425109
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x248]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x234]
xor ecx, esp
call fcn.0047cee5
add esp, 0x244
ret
lea ecx, [esp + 0x18]
push ecx
call fcn.0043f190
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
mov ecx, 0x4c57c0
mov byte [esp + 0x258], 1
call fcn.00425c90
mov ecx, dword [esp + 0x2c]
mov edi, dword [ecx]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x2c]
test esi, esi
je 0x42516e
cmp esi, dword [esp + 0x18]
je 0x425173
call fcn.0047d0a2
cmp edi, ebx
je 0x4251b5
test esi, esi
jne 0x4251ad
call fcn.0047d0a2
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x42518c
call fcn.0047d0a2
mov ecx, dword [edi + 8]
call fcn.00411050
test esi, esi
jne 0x4251b1
call fcn.0047d0a2
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x4251a9
call fcn.0047d0a2
mov edi, dword [edi]
jmp 0x425160
mov eax, dword [esi]
jmp 0x425182
mov eax, dword [esi]
jmp 0x42519f
xor edx, edx
push 0x208
push edx
lea eax, [esp + 0x3e]
push eax
mov word [esp + 0x40], dx
call fcn.004820f0
add esp, 0xc
push 1
push 5
lea ecx, [esp + 0x3c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x38]
call fcn.00406d60
push 0xe
push str.ShuameTools_
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x25c], 2
call fcn.00412690
lea ebx, [esp + 0x18]
call fcn.00426870
mov ecx, ebx
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, 0x4c57c0
call fcn.00425c90
mov eax, dword [esp + 0x2c]
mov edi, dword [eax]
mov esi, dword [esp + 0x18]
lea esp, [esp]
mov ebx, dword [esp + 0x2c]
test esi, esi
je 0x42523e
cmp esi, dword [esp + 0x18]
je 0x425243
call fcn.0047d0a2
cmp edi, ebx
je 0x425285
test esi, esi
jne 0x42527d
call fcn.0047d0a2
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x42525c
call fcn.0047d0a2
mov ecx, dword [edi + 8]
call fcn.00411050
test esi, esi
jne 0x425281
call fcn.0047d0a2
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x425279
call fcn.0047d0a2
mov edi, dword [edi]
jmp 0x425230
mov eax, dword [esi]
jmp 0x425252
mov eax, dword [esi]
jmp 0x42526f
mov byte [esp + 0x250], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4252ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ebx, [esp + 0x18]
call fcn.00426870
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0047ceda
mov edx, dword [esp + 0x1c]
add esp, 4
push edx
mov dword [esp + 0x30], 0
call fcn.0047ceda
mov dword [esp + 0x254], 0xffffffff
mov eax, dword [esp + 0x14]
add esp, 4
add eax, 0xfffffff0
jmp 0x4250f0
push 0x80070057
call fcn.00402890
int3