joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005e23
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x14036a6c
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x14045524]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push dword [ebp + 8]
mov edi, dword [0x1404805c]
push edi
call fcn.14005d56
xor esi, esi
mov dword [esp + 0x14], eax
cmp eax, esi
je 0x14006055
lea ecx, [edi + 0x114]
mov eax, dword [ecx]
mov dword [eax + 0x18c], esi
mov edx, dword [ecx]
push 0x64
pop eax
mov dword [edx + 0x190], eax
mov ecx, dword [ecx]
call fcn.14005463
push dword [esp + 0x14]
call fcn.14007aa9
pop ecx
test al, al
je 0x14006055
push 0x401
push dword [0x14047be0]
call dword [sym.imp.USER32.dll_KillTimer]
push 1
call fcn.1400b747
push 0x12c
call fcn.14020bd0
mov ebx, eax
pop ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x28], esi
cmp ebx, esi
je 0x14005efc
push 0x96
push 0x118
push 0x30
push str.Registered
call fcn.1400cce4
push eax
push str.Registration
call fcn.1400cce4
mov ecx, dword [edi + 0x50]
mov edx, eax
call fcn.14018250
mov esi, eax
or dword [esp + 0x28], 0xffffffff
test esi, esi
je 0x1400604b
mov ecx, str.Registration
call fcn.1400cbd9
mov eax, dword [esi + 0x120]
mov dword [eax + 0x11c], 0x10
mov eax, dword [esi + 0x120]
mov ebx, dword [eax]
push str.Registered
sub ebx, 0xffffff80
call fcn.1400cce4
mov ecx, dword [esi + 0x120]
push eax
call dword [ebx]
mov eax, dword [esi + 0x120]
push 0x32
pop ecx
mov edx, 0xe6
call fcn.1401e629
mov eax, dword [esi + 0x120]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
add edx, 0x28
call fcn.1401e60f
mov eax, dword [esi + 0x120]
mov dword [eax + 0x118], 0x10
call fcn.14002924
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov eax, dword [0x14047ba0]
test eax, eax
je 0x14005fa0
push 0
push dword [eax + 0x50]
mov byte [eax + 0x92], 0
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x14047be4]
test eax, eax
je 0x14005fbb
push 0
push dword [eax + 0x50]
mov byte [eax + 0x92], 0
call dword [sym.imp.USER32.dll_ShowWindow]
push 8
push dword [0x14047c0c]
call fcn.140096b3
push 1
call fcn.1400b747
push dword [0x14047be0]
mov al, 1
call fcn.1401e6c1
push dword [esp + 0x14]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, 0x1403a438
call fcn.1400cbd9
push str.BtnContinue
lea ebx, [edi + 0x118]
call fcn.1400cce4
mov esi, dword [ebx]
push eax
call fcn.1401e54b
mov esi, dword [ebx]
call fcn.1401e751
mov edi, dword [edi + 0x11c]
xor esi, esi
push esi
push dword [edi + 0x50]
mov byte [edi + 0x92], 0
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x14047c0c]
mov eax, dword [eax + 0x120]
mov eax, dword [eax + 0x158]
push esi
push esi
push 0x202
push dword [eax + 0x50]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14006055
push dword [esp + 0x14]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x140066a1
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x50]
cmp ecx, dword [esp + 8]
jne 0x140066d8
mov eax, dword [esi + 0x114]
cmp dword [esp + 0xc], eax
jne 0x140066d8
push eax
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push dword [esi + 0x50]
mov byte [esi + 0x92], 0
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.1401d931
xor eax, eax
pop esi
ret 0xc
Function at 0x1400705a
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x50]
cmp eax, dword [esp + 8]
jne 0x1400708c
mov ecx, dword [esp + 0xc]
cmp ecx, dword [esi + 0x114]
jne 0x1400708c
push ecx
push eax
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push dword [esi + 0x50]
mov byte [esi + 0x92], 0
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 0xc

Function at 0x14007b72
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x39c]
sub esp, 0x41c
mov eax, dword [0x14045524]
xor eax, ebp
mov dword [ebp + 0x398], eax
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x14007c51
lea eax, [ebp - 0x80]
push eax
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x14007c51
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
jne 0x14007bdd
push dword [ebp - 0x80]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x14007c51
push esi
push dword [ebp - 0x80]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x78]
lea edx, [ebp + 0x190]
call fcn.1400cf9b
mov eax, str._Tztufn_Tfdvsjuz_mol
call fcn.1401d94e
mov edx, eax
lea ecx, [ebp + 0x190]
call fcn.1400cf55
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp + 0x190]
push eax
call esi
lea ecx, [ebp - 0x78]
lea edx, [ebp + 0x190]
call fcn.1400cf9b
mov eax, str._Tztufn_Tfdvsjuz_311:_mol
call fcn.1401d94e
mov edx, eax
lea ecx, [ebp + 0x190]
call fcn.1400cf55
lea eax, [ebp + 0x190]
push eax
call esi
pop esi
mov ecx, dword [ebp + 0x398]
xor ecx, ebp
call fcn.14020762
add ebp, 0x39c
leave
ret
Function at 0x14007c66
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x674
mov eax, dword [0x14045524]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
push 0x24c
lea eax, [ebp - 0x664]
push esi
push eax
mov dword [ebp - 0x668], esi
call fcn.14020a90
add esp, 0xc
lea eax, [ebp - 0x66c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x14007e1a
lea eax, [ebp - 0x670]
push eax
push 2
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x14007e1a
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 0x670]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [ebp - 0x670]
test eax, eax
mov eax, dword [ebp - 0x66c]
mov ecx, dword [eax]
push eax
jne 0x14007cfe
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x66c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x14007e1a
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x66c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, str._Tztufn_Tfdvsjuz
call fcn.1401d94e
mov edx, eax
lea ecx, [ebp - 0x418]
call fcn.1400cf55
lea ecx, [ebp - 0x418]
lea edx, [ebp - 0x210]
call fcn.1400cf9b
mov edx, str..
lea ecx, [ebp - 0x210]
call fcn.1400cf55
lea eax, [ebp - 0x668]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x14007ddf
lea eax, [ebp - 0x63c]
push 0x1403abdc
push eax
call fcn.14021230
pop ecx
pop ecx
test eax, eax
je 0x14007dcd
lea eax, [ebp - 0x63c]
push 0x1403abe0
push eax
call fcn.14021230
pop ecx
pop ecx
test eax, eax
je 0x14007dcd
lea ecx, [ebp - 0x418]
lea edx, [ebp - 0x210]
call fcn.1400cf9b
mov edx, 0x14039ce4
lea ecx, [ebp - 0x210]
call fcn.1400cf55
lea edx, [ebp - 0x63c]
lea ecx, [ebp - 0x210]
call fcn.1400cf55
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x668]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14007d60
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x80
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea eax, [ebp - 0x418]
push eax
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14007e1a
lea eax, [ebp - 0x418]
push eax
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.14020762
leave
ret
Function at 0x14007e27
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea ecx, [ebp - 8]
push ecx
xor eax, eax
push 0xf003f
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14007eba
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov ebx, str.TztufnTfdvsjuz311:
mov eax, ebx
call fcn.1401d94e
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, str.DisplayName
push edi
push dword [ebp - 4]
call esi
push str.ShortcutPath
push dword [ebp - 4]
call esi
push edi
push dword [ebp - 4]
call esi
push str.DisplayIcon
push dword [ebp - 4]
call esi
push dword [ebp - 4]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
mov eax, ebx
call fcn.1401d94e
push eax
push dword [ebp - 8]
call esi
push dword [ebp - 8]
call edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x14007ebc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x14045524]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.14007b72
call fcn.14007c66
call fcn.14007e27
mov ecx, dword [0x14047c10]
lea edx, [ebp - 0x210]
call fcn.1400cf9b
push dword [0x14047cd4]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push 0x1403ac50
push eax
mov eax, 0x104
call fcn.1400d7d8
add esp, 0x10
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.14020762
leave
ret
Function at 0x14007f2e
Capabilities:
Create process on windows
Terminate process
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x14045524]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp - 0x10f]
push ebx
push eax
mov byte [ebp - 0x110], bl
call fcn.14020a90
add esp, 0xc
push esi
lea eax, [ebp - 0x217]
push ebx
push eax
mov byte [ebp - 0x218], bl
call fcn.14020a90
add esp, 0xc
push 0x400
call fcn.14020ff4
pop ecx
mov dword [ebp - 0x220], eax
call fcn.14007b43
mov edi, eax
mov eax, dword [0x14047c40]
call fcn.1400ddb2
inc esi
mov eax, esi
call fcn.1400dda3
push 0x1403ac60
mov dword [0x14047c40], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push edi
push str._ws_08d._ws
push dword [0x14047c40]
mov eax, esi
call fcn.1400d7d8
mov eax, dword [0x14047c40]
add esp, 0x14
push ebx
push 0x80
push 2
push ebx
push 2
push 0x1f01ff
push eax
mov dword [0x14047b8c], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [0x14047bf8]
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x224]
push eax
push ebx
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.1400cf7f
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push eax
push ecx
push ebx
push 1
call edi
mov ecx, dword [0x14047b8c]
lea eax, [ebp - 0x224]
push eax
push ebx
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.1400cf7f
push eax
push ecx
push ebx
push 1
call edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x110]
mov esi, dword [ebp - 0x220]
push eax
push eax
push str._ECHO_OFF_r_n:Repeat_r_nerase___s____nul_r_nif_exist___s__goto_Repeat_r_nerase___s____nul
push esi
call fcn.1400d7eb
add esp, 0x14
lea eax, [ebp - 0x228]
push ebx
push eax
mov ecx, esi
call fcn.1400cf3e
push eax
push esi
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push ebx
push ebx
push dword [0x14047b8c]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, esi
call fcn.1400ddb2
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1400a1e7
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x46c
mov eax, dword [0x14045524]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x14047c84]
push ebx
push esi
push edi
lea edx, [ebp - 0x210]
mov dword [ebp - 0x46c], ecx
mov byte [ebp - 0x461], 0
call fcn.1400cf9b
mov edx, str..exe
lea ecx, [ebp - 0x210]
call fcn.1400cf55
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x468], eax
cmp eax, 0xffffffff
je 0x1400a2fe
mov eax, 0x104
call fcn.1400dda3
lea ecx, [ebp - 0x434]
mov esi, eax
call fcn.1400cf7f
mov edi, eax
push edi
mov edx, esi
xor ebx, ebx
call fcn.1400cfbb
pop ecx
dec edi
test edi, edi
jle 0x1400a2a6
cmp word [ebp + edi*2 - 0x434], 0x2e
jne 0x1400a272
test edi, edi
jle 0x1400a2a0
lea eax, [ebp - 0x434]
mov ecx, esi
sub eax, esi
mov edx, edi
mov ebx, edi
mov di, word [eax + ecx]
mov word [ecx], di
inc ecx
inc ecx
dec edx
jne 0x1400a294
xor eax, eax
mov word [esi + ebx*2], ax
call fcn.1400a1a6
test al, al
jne 0x1400a2cf
mov eax, esi
call fcn.1400ddb2
lea eax, [ebp - 0x460]
push eax
push dword [ebp - 0x468]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400a24e
jmp 0x1400a2fe
mov ecx, dword [ebp - 0x46c]
mov edx, 0x14039ce4
call fcn.1400cf55
mov ecx, dword [ebp - 0x46c]
lea edx, [ebp - 0x434]
call fcn.1400cf55
mov eax, esi
mov byte [ebp - 0x461], 1
call fcn.1400ddb2
push dword [ebp - 0x468]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x461]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.14020762
leave
ret
Function at 0x1400a31f
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x14045524]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x14047b90]
push ebx
push esi
push edi
mov byte [ebp - 0x259], 0
call fcn.1400ddb2
mov esi, 0x104
mov eax, esi
call fcn.1400dda3
cmp dword [0x14047c84], 0
mov dword [0x14047b90], eax
jne 0x1400a36c
mov eax, esi
call fcn.1400dda3
mov dword [0x14047c84], eax
push dword [0x14047b90]
call fcn.140080ab
mov esi, dword [0x14047c84]
pop ecx
mov ecx, dword [0x14047b90]
mov edx, esi
call fcn.1400cf9b
mov edx, 0x1403b2dc
mov ecx, esi
call fcn.1400cf55
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1400a466
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea esi, [ebp - 0x22c]
call fcn.1400a1a6
test al, al
je 0x1400a450
mov eax, esi
push eax
push eax
push dword [0x14047b90]
push 0x1403b2e0
push dword [0x14047c84]
call fcn.1400d7c0
add esp, 0x14
push dword [0x14047c84]
call edi
cmp eax, 0xffffffff
jne 0x1400a482
mov eax, esi
push eax
push eax
push dword [0x14047b90]
push str._s_spc_sreg
push dword [0x14047c84]
call fcn.1400d7c0
add esp, 0x14
push dword [0x14047c84]
call edi
cmp eax, 0xffffffff
jne 0x1400a482
mov esi, dword [0x14047c84]
mov ecx, dword [0x14047b90]
mov edx, esi
call fcn.1400cf9b
lea edx, [ebp - 0x22c]
mov ecx, esi
call fcn.1400cf55
call fcn.1400a1e7
mov byte [ebp - 0x259], al
test al, al
jne 0x1400a482
lea eax, [ebp - 0x258]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400a3b6
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, byte [ebp - 0x259]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.14020762
leave
ret
mov al, 1
jmp 0x1400a473
Function at 0x1400a4bf
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x14047c18]
push ebx
push esi
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov esi, 0x400
push edi
mov eax, esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ebx
call fcn.1400dd78
push ebx
push 0x80
push 3
push ebx
push 1
push 0x1f01ff
push dword [ebp - 0x18]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x1400a5ab
push ebx
lea ecx, [ebp - 0x14]
push ecx
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], edi
sub dword [ebp - 0xc], 0x1403b318
mov ecx, dword [ebp - 8]
lea edx, [edi + ecx]
mov dword [ebp - 4], 0xc
mov eax, str.This_program
test edx, edx
je 0x1400a55b
mov edx, dword [ebp - 0xc]
add edx, ecx
mov cl, byte [edx + eax]
cmp cl, bl
je 0x1400a556
cmp dword [ebp - 4], ebx
jbe 0x1400a559
cmp byte [eax], cl
jne 0x1400a55b
inc eax
dec dword [ebp - 4]
cmp byte [eax], bl
jne 0x1400a53e
cmp dword [ebp - 4], ebx
je 0x1400a569
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x3f4
jb 0x1400a523
jmp 0x1400a5ab
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x1400a57d
mov eax, dword [edi + 0x3c]
add eax, edi
mov dword [0x14047c50], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x14047c50]
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
add eax, 0x20
mov dword [ecx + 8], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
call fcn.1400ddb2
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1400a5c0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x14047c18]
push ebx
push esi
mov esi, dword [0x14047bf8]
mov dword [ebp - 0x10], eax
push edi
mov eax, 0x400
call fcn.1400dd78
mov dword [ebp - 8], eax
xor eax, eax
inc eax
xor ebx, ebx
push ebx
lea edi, [eax + 0x7f]
push edi
push 3
push ebx
push eax
push eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
call esi
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x1400a662
push ebx
push edi
push 2
push ebx
push 2
push 2
push dword [ebp - 0x10]
call esi
mov esi, eax
jmp 0x1400a64b
cmp esi, 0xffffffff
je 0x1400a650
push ebx
lea eax, [ebp - 4]
push eax
push 0x400
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 4], ebx
jbe 0x1400a650
push ebx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 4], ebx
ja 0x1400a619
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
mov al, 1
jmp 0x1400a664
xor al, al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1400a669
Capabilities:
Create directory
Extract resource via kernel32 functions
Terminate process

Disassembly:
push esi
push 0xa
push 0xc
push dword [0x14047c1c]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push dword [0x14047c1c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push dword [0x14047c1c]
mov dword [0x14047c98], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [0x14047c44], eax
pop esi
ret
push ebx
push esi
push edi
call fcn.1400a31f
test al, al
je 0x1400a6a0
mov esi, dword [0x14047c84]
mov edx, dword [0x14047bf8]
mov eax, esi
call fcn.1400d017
test al, al
jne 0x1400a694
pop edi
pop esi
pop ebx
jmp 0x1400a486
push esi
call fcn.140022bb
pop ecx
call fcn.14007f2e
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
push eax
push str.1_06d4
push dword [0x14047cd4]
mov esi, 0x104
mov eax, esi
call fcn.1400d7d8
add esp, 0xc
call edi
add eax, 0x3e7
push eax
push str.9_06d6
push dword [0x14047bf0]
mov eax, esi
call fcn.1400d7d8
add esp, 0xc
push dword [0x14047c5c]
call fcn.140080ab
mov edi, dword [0x14047c5c]
mov edx, dword [0x14047cd4]
pop ecx
mov ecx, edi
call fcn.1400cf55
mov ebx, 0x14039ce4
mov edx, ebx
mov ecx, edi
call fcn.1400cf55
push dword [0x14047c80]
call fcn.140080ab
mov edi, dword [0x14047c80]
mov edx, dword [0x14047bf0]
pop ecx
mov ecx, edi
call fcn.1400cf55
mov edx, ebx
mov ecx, edi
call fcn.1400cf55
push dword [0x14047cd4]
mov edi, str._ws_ws.exe
push dword [0x14047c5c]
mov eax, esi
push edi
push dword [0x14047c18]
call fcn.1400d7d8
push dword [0x14047bf0]
mov eax, esi
push dword [0x14047c80]
push edi
push dword [0x14047cc8]
call fcn.1400d7d8
add esp, 0x20
xor esi, esi
push esi
push dword [0x14047c5c]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
call fcn.1400a5c0
test al, al
jne 0x1400a790
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.1400a4bf
mov ecx, dword [0x14047c18]
call fcn.1400104d
call fcn.1401da74
push dword [0x14047c18]
call fcn.140022bb
mov dword [esp], 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push 0xffffffffffffffff
push esi
push 0x14
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
jmp 0x1400a69b
Function at 0x1400aff6
Capabilities:
Encode data using xor

Disassembly:
push esi
call fcn.1400cf7f
xor edx, edx
xor esi, esi
test eax, eax
jle 0x1400b01e
push edi
movzx edi, word [ecx + esi*2]
add edi, edx
imul edi, edi, 0x401
mov edx, edi
shr edi, 6
xor edx, edi
inc esi
cmp esi, eax
jl 0x1400b005
pop edi
imul edx, edx, 9
mov eax, edx
shr eax, 0xb
xor eax, edx
imul eax, eax, 0x8001
pop esi
ret
Function at 0x1400b4e5
Capabilities:
Create directory
Create shortcut via ishelllink
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x3a8]
sub esp, 0x428
mov eax, dword [0x14045524]
xor eax, ebp
mov dword [ebp + 0x3a4], eax
mov eax, dword [ebp + 0x3b0]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x1400b684
push edi
lea eax, [ebp - 0x78]
push eax
push 2
xor edi, edi
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x1400b683
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x78]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [ebp - 0x78]
test eax, eax
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
push eax
jne 0x1400b55e
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1400b683
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, str._Tztufn_Tfdvsjuz
call fcn.1401d94e
mov edx, eax
lea ecx, [ebp - 0x6c]
call fcn.1400cf55
push edi
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x1400b683
lea eax, [ebp - 0x70]
push eax
push 0x14037510
push 1
push edi
push 0x14037520
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x1400b67d
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push 5
push eax
call dword [ecx + 0x3c]
mov ecx, esi
call fcn.1400cfe5
test eax, eax
je 0x1400b60d
push 0x104
lea eax, [ebp + 0x19c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, str._ahui.exe
lea ecx, [ebp + 0x19c]
call fcn.1400cf55
push edi
lea edx, [ebp + 0x19c]
push edx
jmp 0x1400b60f
push edi
push esi
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
lea edx, [ebp - 0x7c]
push edx
push 0x14037530
push eax
call dword [ecx]
test eax, eax
jl 0x1400b674
lea ecx, [ebp - 0x6c]
lea edx, [ebp + 0x19c]
call fcn.1400cf9b
mov edx, 0x14039ce4
lea ecx, [ebp + 0x19c]
call fcn.1400cf55
mov edx, dword [ebp - 0x80]
lea ecx, [ebp + 0x19c]
call fcn.1400cf55
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
push 1
lea edx, [ebp + 0x19c]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
mov ecx, dword [ebp + 0x3a4]
xor ecx, ebp
call fcn.14020762
add ebp, 0x3a8
leave
ret