Function at 0x40aa00
Capabilities:
Copy file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x45ed77
mov eax, dword fs:[0]
push eax
mov eax, 0x1d94
call fcn.0044bf30
mov eax, dword [0x47b038]
xor eax, esp
mov dword [esp + 0x1d90], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47b038]
xor eax, esp
push eax
lea eax, [esp + 0x1da8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1db8]
mov ebp, ecx
push esi
push str.InstallModule___s__n
mov dword [esp + 0x24], ebp
call fcn.0043e2c0
add esp, 8
lea ecx, [esp + 0x20]
call fcn.00447010
xor ebx, ebx
mov dword [esp + 0x1db0], ebx
xor eax, eax
mov edi, edi
movzx ecx, word [eax + str.SOFTWAREKyocera_Mita]
mov word [esp + eax + 0x1994], cx
add eax, 2
cmp cx, bx
jne 0x40aa70
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + str.KcInst32FONTS]
mov word [esp + eax + 0x1b9c], cx
add eax, 2
cmp cx, bx
jne 0x40aa90
push 0x82c
call fcn.0044ad7f
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x1db0], 1
cmp eax, ebx
je 0x40aae2
lea ecx, [esp + 0x1994]
push ecx
lea edx, [esp + 0x1ba0]
push edx
push ebx
mov ecx, eax
call fcn.0044ab50
mov dword [esp + 0x14], eax
jmp 0x40aae6
mov dword [esp + 0x14], ebx
push 0x206
lea ecx, [esp + 0xf72]
xor eax, eax
push ebx
push ecx
mov byte [esp + 0x1dbc], bl
mov word [esp + 0xf78], ax
call fcn.0044ac90
push 0x1211c
call fcn.0044ad7f
add esp, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x1db0], 2
cmp eax, ebx
je 0x40ab37
push ebx
push ebx
push esi
mov ecx, eax
call fcn.00409e40
mov dword [esp + 0x18], eax
jmp 0x40ab3b
mov dword [esp + 0x18], ebx
push ebx
lea edx, [esp + 0x1588]
push edx
push esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1dbc], bl
call fcn.004434c0
lea eax, [esp + 0x1584]
push eax
push str.wszSrcPath__s_n
call fcn.0043e2c0
add esp, 8
push 0x104
lea ecx, [esp + 0xf70]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
lea eax, [esp + 0xf6c]
add eax, 0xfffffffe
jmp 0x40ab90
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x40ab90
mov edx, dword [str.Fonts]
mov ecx, dword [0x4645a4]
mov dword [eax], edx
mov edx, dword [0x4645a8]
mov dword [eax + 4], ecx
mov cx, word [0x4645ac]
mov dword [eax + 8], edx
lea edx, [esp + 0xf6c]
push edx
push str.wszFontPath___s__n
mov word [eax + 0xc], cx
call fcn.0043e2c0
add esp, 8
mov ecx, ebp
mov edi, 1
call fcn.0040a970
xor eax, eax
jmp 0x40abf0
movzx ecx, word [eax + 0x464570]
mov word [esp + eax + 0x178c], cx
add eax, 2
cmp cx, bx
jne 0x40abf0
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x40ac20
push 0x206
lea ecx, [esp + 0x95a]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x960], ax
call fcn.0044ac90
push 0x206
lea eax, [esp + 0xb6e]
xor edx, edx
push ebx
push eax
mov word [esp + 0xb74], dx
call fcn.0044ac90
push edi
lea ecx, [esp + 0x970]
push str.FontFile_d
push ecx
call esi
push edi
lea edx, [esp + 0xb84]
push str.FontName_d
push edx
call esi
add esp, 0x30
push ebx
lea eax, [esp + 0x1178]
push eax
lea ecx, [esp + 0x95c]
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x1798]
push edx
call fcn.00409080
test al, al
je 0x40ae80
xor eax, eax
lea esp, [esp]
movzx ecx, word [esp + eax + 0x1174]
mov word [esp + eax + 0x954], cx
add eax, 2
cmp cx, bx
jne 0x40acb0
lea eax, [esp + 0x954]
push eax
push str.FONT_FILE__s_n
call fcn.0043e2c0
add esp, 8
push ebx
lea ecx, [esp + 0x1178]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0xb64]
push edx
lea eax, [esp + 0x1798]
push eax
call fcn.00409080
test al, al
je 0x40ae80
lea ecx, [esp + 0x1174]
push ecx
lea edx, [esp + 0xb60]
push 0x46451c
push edx
call esi
lea eax, [esp + 0xb68]
push eax
push str.FONT_Name__s_n
call fcn.0043e2c0
add esp, 0x14
lea ecx, [esp + 0x954]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0xb60]
push edx
call fcn.0040a820
test al, al
je 0x40ad56
inc edi
jmp 0x40ac20
lea eax, [esp + 0x954]
push eax
lea ecx, [esp + 0x1588]
push ecx
lea edx, [esp + 0x1384]
push 0x461a90
push edx
call esi
lea eax, [esp + 0x964]
push eax
lea ecx, [esp + 0xf80]
push ecx
lea edx, [esp + 0xd7c]
push 0x461a90
push edx
call esi
lea eax, [esp + 0xd84]
push eax
lea ecx, [esp + 0x13a0]
push ecx
push str.Copy_Font_File_n_Src___s__n_Dst___s__n
call fcn.0043e2c0
add esp, 0x2c
push 0x80
lea edx, [esp + 0xd68]
push edx
call ebp
push ebx
lea eax, [esp + 0xd68]
push eax
lea ecx, [esp + 0x1384]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CopyFile_Error__d__n
call fcn.0043e2c0
add esp, 8
push 0x80
lea edx, [esp + 0xd68]
push edx
call ebp
cmp dword [esp + 0x20], 0x15
jl 0x40ae28
push 0x20006
lea eax, [esp + 0xd68]
push eax
lea ecx, [esp + 0xb64]
push ecx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionFonts
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0044a440
add esp, 0x14
lea edx, [esp + 0xd64]
push edx
call dword [sym.imp.GDI32.dll_AddFontResourceW]
mov ecx, dword [esp + 0x14]
push ebx
push ebx
lea eax, [esp + 0xd6c]
push eax
push 1
call fcn.0044a5a0
lea ecx, [esp + 0xb5c]
push ecx
lea edx, [esp + 0x1178]
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionFonts_s
push edx
call esi
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ebx
push ebx
lea eax, [esp + 0x117c]
push eax
push 3
call fcn.0044a5a0
inc edi
jmp 0x40ac20
push ebx
push ebx
push 0x1d
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esp + 0x1c]
call fcn.0040a880
mov esi, dword [esp + 0x18]
cmp esi, ebx
je 0x40aeb0
mov ecx, esi
call fcn.00409fe0
push esi
call fcn.0044ad0a
add esp, 4
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x40aec8
mov ecx, esi
call fcn.0043d490
push esi
call fcn.0044ad0a
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x1db0], 0xffffffff
call fcn.0043d490
xor eax, eax
mov ecx, dword [esp + 0x1da8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1d90]
xor ecx, esp
call fcn.0044ac80
add esp, 0x1da0
ret 4