Function at 0x46de90
Capabilities:
Copy file
Create directory
Get file size
Hash data via wincrypt
Initialize hashing via wincrypt
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4ecdec
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x444], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x45c]
mov dword fs:[0], eax
mov dword [esp + 0x464], 0
lea eax, [esp + 0x28]
push eax
call fcn.004d8f20
add esp, 4
mov byte [esp + 0x464], 1
mov bl, byte [esp + 0x46c]
test bl, bl
jne 0x46df0a
push str.Program_Files__x86__
push str.Program_Files_
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_5924]
push 0x4ff418
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00402a60
mov byte [esp + 0x470], 2
lea ecx, [esp + 0x47c]
push ecx
push eax
lea edx, [esp + 0x30]
push edx
call fcn.004029d0
add esp, 0x18
mov byte [esp + 0x464], 4
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 0x1ff
lea eax, [esp + 0x25d]
push 0
push eax
mov byte [esp + 0x264], 0
call sub.MSVCR90.dll_memset
mov edx, dword [esp + 0x47c]
lea ecx, [esp + 0x264]
push ecx
push edx
call fcn.0044a8c0
add esp, 0x14
cmp byte [esp + 0x474], 0
je 0x46e004
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
push str.c:WindowsSystem32TC_BK_
call esi
push 0
push str.c:WindowsSystem32TC_BKx64
call esi
lea eax, [esp + 0x470]
lea ecx, [esp + 0x18]
push eax
test bl, bl
jne 0x46dfcc
push str.c:WindowsSystem32TC_BK_
push ecx
call fcn.00410070
add esp, 0xc
mov byte [esp + 0x464], 5
jmp 0x46dfe2
push str.c:WindowsSystem32TC_BKx64_
push ecx
call fcn.00410070
add esp, 0xc
mov byte [esp + 0x464], 6
mov eax, dword [eax]
mov edx, dword [esp + 0x1c]
push 1
push eax
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov byte [esp + 0x464], 4
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], 1
xor esi, esi
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x464], 7
mov eax, dword [esp + 0x1c]
push esi
push 0x80
push 3
push esi
push 3
push bind
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + 0xa]
push eax
call sub.mfc90.dll_Ordinal_265
mov ebx, eax
lea eax, [edi + 0xa]
push eax
push esi
push ebx
call sub.MSVCR90.dll_memset
add esp, 0x10
cmp dword [esp + 0x2c], esi
jbe 0x46e093
cmp esi, edi
jae 0x46e093
push 0
lea ecx, [esp + 0x30]
push ecx
push edi
lea edx, [ebx + esi]
push edx
push ebp
mov dword [esp + 0x40], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x2c]
add esi, ecx
test eax, eax
je 0x46e093
test ecx, ecx
ja 0x46e066
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x38]
call fcn.00464700
mov byte [esp + 0x464], 8
xor ebp, ebp
cmp dword [esp + 0x40], ebp
jne 0x46e0d2
mov eax, dword [esp + 0x3c]
cmp eax, ebp
je 0x46e0e0
lea ecx, [esp + 0x40]
push ecx
push ebp
push ebp
push 0x800c
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x46e0e0
mov edx, dword [esp + 0x40]
push ebp
push edi
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x3c]
call fcn.0046a9c0
push ebx
call sub.mfc90.dll_Ordinal_266
add esp, 4
cmp byte [esp + 0x474], 0
je 0x46e252
or esi, 0xffffffff
cmp edi, esi
jne 0x46e1b3
push 0x511e58
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00402a60
add esp, 0xc
mov byte [esp + 0x464], 9
mov eax, dword [eax]
push ebp
push 0x4ff784
push eax
push ebp
call dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [esp + 0x464], 8
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x464], 7
lea ecx, [esp + 0x38]
call fcn.00464770
mov byte [esp + 0x464], 4
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x464], 1
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x464], 0
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [esp + 0x464], esi
lea ecx, [esp + 0x470]
call dword [sym.imp.mfc90.dll_Ordinal_601]
xor al, al
jmp 0x46e62f
cmp byte [esp + 0x46c], 0
je 0x46e1d1
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x470]
push eax
push ecx
push str.SoftWareTrueCutTC_INSTALLTC_H64
jmp 0x46e1e3
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x470]
push edx
push eax
push str.SoftWareTrueCutTC_INSTALLTC_H
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00491e90
add esp, 0x10
mov byte [esp + 0x464], 7
lea ecx, [esp + 0x38]
call fcn.00464770
mov byte [esp + 0x464], 4
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x464], 1
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x464], 0
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [esp + 0x464], esi
lea ecx, [esp + 0x470]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov al, 1
jmp 0x46e62f
push 0x1ff
lea ecx, [esp + 0x5d]
push ebp
push ecx
mov byte [esp + 0x64], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
cmp byte [esp + 0x46c], 0
push 0x200
je 0x46e2a4
mov eax, dword [esp + 0x474]
lea edx, [esp + 0x5c]
push edx
push eax
push str.SoftWareTrueCutTC_INSTALLTC_H64
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00491b30
add esp, 0x14
cmp eax, 0xffffffff
jne 0x46e2b8
mov byte [esp + 0x58], 0
jmp 0x46e2bf
mov edx, dword [esp + 0x474]
lea ecx, [esp + 0x5c]
push ecx
push edx
push str.SoftWareTrueCutTC_INSTALLTC_H
jmp 0x46e28b
cmp byte [esp + 0x58], 0
jne 0x46e303
push str._A_hash_value_for_the_file_was_not_generated._In_the_CMD_window__run_TrojanCut__h_and_rebuild_the_setup_file.
lea eax, [esp + 0x474]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00402a60
add esp, 0xc
mov byte [esp + 0x464], 0xa
mov eax, dword [eax]
push ebp
push 0x4ff784
push eax
push ebp
call dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [esp + 0x464], 8
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov bl, 0xb
mov byte [esp + 0x464], bl
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x46e577
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.administrators
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x46c], 0xc
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x103ad10
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [esp + 0x470], 0xd
mov byte [esp + 0x470], bl
call fcn.00468620
add esp, 0xc
cmp byte [esp + 0x46c], 0
jne 0x46e3a5
lea ecx, [esp + 0x470]
push ecx
lea edx, [esp + 0x28]
push str.c:WindowsSystem32TC_BK_
push edx
call fcn.00410070
add esp, 0xc
mov byte [esp + 0x464], 0xe
jmp 0x46e3c7
lea edx, [esp + 0x470]
push edx
lea eax, [esp + 0x28]
push str.c:WindowsSystem32TC_BKx64_
push eax
call fcn.00410070
add esp, 0xc
mov byte [esp + 0x464], 0xf
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax]
push ebp
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
setne byte [esp + 0x17]
mov byte [esp + 0x464], bl
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp byte [esp + 0x17], 0
jne 0x46e533
lea edx, [esp + 0x34]
push edx
call fcn.00491540
mov esi, eax
mov byte [esp + 0x468], 0x10
lea eax, [esp + 0x474]
push eax
lea ecx, [esp + 0x38]
push str.CopyFile_c:WindowsSystem32TC_BK_or_x64__
push ecx
call fcn.00410070
mov byte [esp + 0x474], 0x11
push 0x511d68
push eax
lea edx, [esp + 0x64]
push edx
call fcn.00402a60
mov byte [esp + 0x480], 0x12
lea ecx, [esp + 0x38]
push ecx
push eax
lea edx, [esp + 0x78]
push edx
call fcn.004029d0
mov byte [esp + 0x48c], 0x13
push str._Fail_
push eax
lea eax, [esp + 0x80]
push eax
call fcn.00402a60
mov byte [esp + 0x498], 0x14
push esi
push eax
lea ecx, [esp + 0x84]
push ecx
call fcn.004029d0
add esp, 0x40
mov byte [esp + 0x464], 0x15
push 0x511644
push eax
lea edx, [esp + 0x2c]
push edx
call fcn.00402a60
add esp, 0xc
mov byte [esp + 0x464], 0x16
mov eax, dword [eax]
push ebp
push ebp
push eax
call sub.mfc90.dll_Ordinal_1183
mov byte [esp + 0x464], 0x15
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x464], 0x14
lea ecx, [esp + 0x48]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x464], 0x13
lea ecx, [esp + 0x50]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x464], 0x12
lea ecx, [esp + 0x54]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x464], 0x11
lea ecx, [esp + 0x4c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x464], 0x10
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x464], bl
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.administrators
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x46c], 0x17
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x103ad10
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [esp + 0x470], 0x18
mov byte [esp + 0x470], bl
call fcn.00468620
add esp, 0xc
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
sete bl
mov byte [esp + 0x464], 8
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x464], 7
mov eax, dword [esp + 0x40]
cmp eax, ebp
je 0x46e5b8
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov dword [esp + 0x40], ebp
mov eax, dword [esp + 0x44]
cmp eax, ebp
je 0x46e5cb
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov dword [esp + 0x44], ebp
mov eax, dword [esp + 0x3c]
cmp eax, ebp
je 0x46e5df
push ebp
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esp + 0x3c], ebp
mov byte [esp + 0x464], 4
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x464], 1
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x464], 0
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [esp + 0x464], 0xffffffff
lea ecx, [esp + 0x470]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov al, bl
mov ecx, dword [esp + 0x45c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x444]
xor ecx, esp
call fcn.004e0148
add esp, 0x454
ret