Function at 0x47d2d0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54a4f1
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x5a4ca4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0x208
push 0
push 0x5be348
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x164], eax
call fcn.00521d30
add esp, 0xc
push 0x5be348
push 0x55ad38
push 0
push 0
push 0x8023
push 0
call sub.SHELL32.dll_SHGetFolderPathAndSubDirW
mov esi, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
js 0x47d434
push str.ASUS
push 0x104
push 0x5be348
call fcn.0052c677
add esp, 0xc
push 0x5be348
call esi
test eax, eax
jne 0x47d378
push eax
push 0x5be348
call ebx
push str.Dip
push 0x104
push 0x5be348
call fcn.0052c677
add esp, 0xc
push 0x5be348
call esi
test eax, eax
jne 0x47d3a2
push eax
push 0x5be348
call ebx
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00521d30
mov ecx, 0x5be348
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47d3c0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x114]
push eax
push 0x5be348
call dword [sym.imp.SHLWAPI.dll_SHUnicodeToAnsi]
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x144], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47d410
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x144]
call fcn.00405980
mov eax, dword [ebp - 0x130]
jmp 0x47d450
mov eax, 0xf
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], eax
mov byte [ebp - 0x144], 0
cmp eax, 0x10
mov dword [ebp - 4], 0
lea edx, [ebp - 0x144]
mov dword [ebp - 0x14c], 0
cmovae edx, dword [ebp - 0x144]
mov ecx, edx
mov dword [ebp - 0x148], 0xf
mov byte [ebp - 0x15c], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47d487
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x15c]
call fcn.00405980
mov edx, dword [ebp - 0x130]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x47d4db
mov ecx, dword [ebp - 0x144]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x47d4d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47d69a
push edx
push ecx
call fcn.0050974d
add esp, 8
cmp dword [ebp - 0x148], 0x10
lea edx, [ebp - 0x15c]
mov esi, dword [ebp - 0x14c]
lea ebx, [ebp - 0x15c]
cmovae edx, dword [ebp - 0x15c]
lea ecx, [ebp - 0x12c]
add esi, edx
mov dword [ebp - 0x11c], 0
cmp dword [ebp - 0x148], 0x10
mov dword [ebp - 0x118], 7
cmovae ebx, dword [ebp - 0x15c]
xor eax, eax
mov word [ebp - 0x12c], ax
mov eax, esi
sub eax, ebx
push eax
call fcn.004110b0
push dword [ebp - 0x164]
lea ecx, [ebp - 0x12c]
push esi
push ebx
call fcn.00411440
push 9
push str.FanXpert
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 3
call fcn.00404b50
cmp dword [ebp - 0x118], 8
lea eax, [ebp - 0x12c]
cmovae eax, dword [ebp - 0x12c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x47d59d
cmp dword [ebp - 0x118], 8
lea eax, [ebp - 0x12c]
push 0
cmovae eax, dword [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [ebp - 0x118], 8
lea edx, [ebp - 0x12c]
mov ebx, dword [ebp - 0x160]
cmovae edx, dword [ebp - 0x12c]
xor eax, eax
mov ecx, edx
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47d5d0
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, ebx
call fcn.00404cd0
mov edx, dword [ebp - 0x118]
cmp edx, 8
jb 0x47d628
mov ecx, dword [ebp - 0x12c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47d61e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47d69f
push edx
push ecx
call fcn.0050974d
add esp, 8
mov edx, dword [ebp - 0x148]
xor eax, eax
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 7
mov word [ebp - 0x12c], ax
cmp edx, 0x10
jb 0x47d67b
mov ecx, dword [ebp - 0x15c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x47d671
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47d6a4
push edx
push ecx
call fcn.0050974d
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050970c
mov esp, ebp
pop ebp
ret 4
call fcn.00524f8e
call fcn.00524f8e
call fcn.00524f8e
int3