Function at 0x434500
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x50fe01
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x53c1a4]
xor eax, esp
mov dword [esp + 0x234], eax
push ebx
push esi
push edi
mov eax, dword [0x53c1a4]
xor eax, esp
push eax
lea eax, [esp + 0x248]
mov dword fs:[0], eax
lea esi, [esp + 0x10]
call fcn.004344e0
mov dword [esp + 0x250], 0
mov edx, dword [esp + 0x10]
mov ecx, dword [edx - 0xc]
test ecx, ecx
je 0x43458c
lea eax, [ecx - 1]
test eax, eax
jl 0x43479f
cmp eax, ecx
jg 0x43479f
movzx eax, word [edx + eax*2]
cmp ax, 0x5c
je 0x43458c
cmp ax, 0x2f
je 0x43458c
mov edx, 0x51faf0
mov edi, esi
call fcn.00417f00
mov edx, dword [esp + 0x10]
cmp dword [edx - 0xc], 0
jne 0x4345e0
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 0x4345b9
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.004ea83a
add esp, 0x244
ret
lea ecx, [esp + 0x18]
push ecx
call fcn.00409f90
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
mov ecx, 0x5487c0
mov byte [esp + 0x258], 1
call fcn.004351d0
mov ecx, dword [esp + 0x2c]
mov edi, dword [ecx]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x2c]
test esi, esi
je 0x43461e
cmp esi, dword [esp + 0x18]
je 0x434623
call fcn.004ea9f7
cmp edi, ebx
je 0x434665
test esi, esi
jne 0x43465d
call fcn.004ea9f7
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x43463c
call fcn.004ea9f7
mov ecx, dword [edi + 8]
call fcn.00415ce0
test esi, esi
jne 0x434661
call fcn.004ea9f7
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x434659
call fcn.004ea9f7
mov edi, dword [edi]
jmp 0x434610
mov eax, dword [esi]
jmp 0x434632
mov eax, dword [esi]
jmp 0x43464f
xor edx, edx
push 0x208
push edx
lea eax, [esp + 0x3e]
push eax
mov word [esp + 0x40], dx
call fcn.004f08c0
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.00406d70
push 0xe
push str.ShuameTools_
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x25c], 2
call fcn.00418e70
lea ebx, [esp + 0x18]
call fcn.00435ec0
mov ecx, ebx
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, 0x5487c0
call fcn.004351d0
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 0x4346ee
cmp esi, dword [esp + 0x18]
je 0x4346f3
call fcn.004ea9f7
cmp edi, ebx
je 0x434735
test esi, esi
jne 0x43472d
call fcn.004ea9f7
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x43470c
call fcn.004ea9f7
mov ecx, dword [edi + 8]
call fcn.00415ce0
test esi, esi
jne 0x434731
call fcn.004ea9f7
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x434729
call fcn.004ea9f7
mov edi, dword [edi]
jmp 0x4346e0
mov eax, dword [esi]
jmp 0x434702
mov eax, dword [esi]
jmp 0x43471f
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 0x43475d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ebx, [esp + 0x18]
call fcn.00435ec0
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004ea82f
mov edx, dword [esp + 0x1c]
add esp, 4
push edx
mov dword [esp + 0x30], 0
call fcn.004ea82f
mov dword [esp + 0x254], 0xffffffff
mov eax, dword [esp + 0x14]
add esp, 4
add eax, 0xfffffff0
jmp 0x4345a0
push 0x80070057
call fcn.00402a90
int3