Function at 0x433db0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x50f5a1
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x53a1a4]
xor eax, esp
mov dword [esp + 0x234], eax
push ebx
push esi
push edi
mov eax, dword [0x53a1a4]
xor eax, esp
push eax
lea eax, [esp + 0x248]
mov dword fs:[0], eax
lea esi, [esp + 0x10]
call fcn.00433d90
mov dword [esp + 0x250], 0
mov edx, dword [esp + 0x10]
mov ecx, dword [edx - 0xc]
test ecx, ecx
je 0x433e3c
lea eax, [ecx - 1]
test eax, eax
jl 0x43404f
cmp eax, ecx
jg 0x43404f
movzx eax, word [edx + eax*2]
cmp ax, 0x5c
je 0x433e3c
cmp ax, 0x2f
je 0x433e3c
mov edx, 0x51eac0
mov edi, esi
call fcn.004179a0
mov edx, dword [esp + 0x10]
cmp dword [edx - 0xc], 0
jne 0x433e90
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 0x433e69
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.004ea10a
add esp, 0x244
ret
lea ecx, [esp + 0x18]
push ecx
call fcn.004d8ce0
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
mov ecx, 0x5467c0
mov byte [esp + 0x258], 1
call fcn.00434a80
mov ecx, dword [esp + 0x2c]
mov edi, dword [ecx]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x2c]
test esi, esi
je 0x433ece
cmp esi, dword [esp + 0x18]
je 0x433ed3
call fcn.004ea2c7
cmp edi, ebx
je 0x433f15
test esi, esi
jne 0x433f0d
call fcn.004ea2c7
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x433eec
call fcn.004ea2c7
mov ecx, dword [edi + 8]
call fcn.00415780
test esi, esi
jne 0x433f11
call fcn.004ea2c7
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x433f09
call fcn.004ea2c7
mov edi, dword [edi]
jmp 0x433ec0
mov eax, dword [esi]
jmp 0x433ee2
mov eax, dword [esi]
jmp 0x433eff
xor edx, edx
push 0x208
push edx
lea eax, [esp + 0x3e]
push eax
mov word [esp + 0x40], dx
call fcn.004f0190
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.00406c40
push 0xe
push str.ShuameTools_
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x25c], 2
call fcn.00418990
lea ebx, [esp + 0x18]
call fcn.00435770
mov ecx, ebx
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, 0x5467c0
call fcn.00434a80
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 0x433f9e
cmp esi, dword [esp + 0x18]
je 0x433fa3
call fcn.004ea2c7
cmp edi, ebx
je 0x433fe5
test esi, esi
jne 0x433fdd
call fcn.004ea2c7
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x433fbc
call fcn.004ea2c7
mov ecx, dword [edi + 8]
call fcn.00415780
test esi, esi
jne 0x433fe1
call fcn.004ea2c7
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x433fd9
call fcn.004ea2c7
mov edi, dword [edi]
jmp 0x433f90
mov eax, dword [esi]
jmp 0x433fb2
mov eax, dword [esi]
jmp 0x433fcf
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 0x43400d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ebx, [esp + 0x18]
call fcn.00435770
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004ea0ff
mov edx, dword [esp + 0x1c]
add esp, 4
push edx
mov dword [esp + 0x30], 0
call fcn.004ea0ff
mov dword [esp + 0x254], 0xffffffff
mov eax, dword [esp + 0x14]
add esp, 4
add eax, 0xfffffff0
jmp 0x433e50
push 0x80070057
call fcn.004029f0
int3