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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc92a
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
push edi
push ecx
lea edi, [ebp - 0x44]
mov ecx, 0xe
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x51197c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00418ff0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4181bf
mov esi, esp
push 0
push 5
mov edi, esp
push 0x104
mov ecx, dword [ebp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_2460]
cmp edi, esp
call fcn.004b81e1
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp esi, esp
call fcn.004b81e1
test eax, eax
jne 0x418031
mov esi, esp
push 0x4ca424
mov ecx, dword [ebp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
cmp esi, esp
call fcn.004b81e1
jmp 0x4181bf
mov dword [ebp - 0x14], 1
mov esi, esp
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_5398]
cmp esi, esp
call fcn.004b81e1
mov esi, esp
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
cmp esi, esp
call fcn.004b81e1
mov dword [ebp - 4], 0
push 0x4ca428
lea ecx, [ebp - 0x28]
call fcn.0041abf0
mov byte [ebp - 4], 1
push 0x1a8
lea ecx, [ebp - 0x28]
call fcn.0041bcd0
mov esi, esp
push 0x5c
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_5524]
cmp esi, esp
call fcn.004b81e1
mov dword [ebp - 0x30], eax
mov esi, esp
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_2895]
cmp esi, esp
call fcn.004b81e1
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
sub edx, 1
cmp dword [ebp - 0x30], edx
je 0x4180d5
mov esi, esp
push 0x4ca42c
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
cmp esi, esp
call fcn.004b81e1
mov esi, esp
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_896]
cmp esi, esp
call fcn.004b81e1
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
mov esi, esp
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
cmp esi, esp
call fcn.004b81e1
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x10]
call fcn.004187b0
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x418130
mov esi, esp
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
cmp esi, esp
call fcn.004b81e1
jmp 0x41819a
mov esi, esp
push 0
mov edi, esp
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
cmp edi, esp
call fcn.004b81e1
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp esi, esp
call fcn.004b81e1
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x41819a
mov esi, esp
push 1
mov edi, esp
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
cmp edi, esp
call fcn.004b81e1
push eax
call dword [sym.imp.ADVAPI32.dll_EncryptionDisable]
cmp esi, esp
call fcn.004b81e1
mov dword [ebp - 0x38], eax
mov esi, esp
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
cmp esi, esp
call fcn.004b81e1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004095c0
mov dword [ebp - 4], 0xffffffff
mov esi, esp
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
cmp esi, esp
call fcn.004b81e1
mov eax, dword [ebp - 0x14]
push edx
mov ecx, ebp
push eax
lea edx, [0x4181f0]
call fcn.004b8204
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x44
cmp ebp, esp
call fcn.004b81e1
mov esp, ebp
pop ebp
ret 4