joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14009e3f
Capabilities:
Encode data using xor

Disassembly:
push esi
call fcn.1400bdc8
xor edx, edx
xor esi, esi
test eax, eax
jle 0x14009e67
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 0x14009e4e
pop edi
imul edx, edx, 9
mov eax, edx
shr eax, 0xb
xor eax, edx
imul eax, eax, 0x8001
pop esi
ret
Function at 0x1400a32e
Capabilities:
Create directory
Create shortcut via ishelllink
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x3a8]
sub esp, 0x428
mov eax, dword [0x14043524]
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 0x1400a4cd
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 0x1400a4cc
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 0x1400a3a7
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1400a4cc
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.1401c4b3
mov edx, eax
lea ecx, [ebp - 0x6c]
call fcn.1400bd9e
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 0x1400a4cc
lea eax, [ebp - 0x70]
push eax
push 0x140364e8
push 1
push edi
push 0x140364f8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x1400a4c6
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.1400be2e
test eax, eax
je 0x1400a456
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.1400bd9e
push edi
lea edx, [ebp + 0x19c]
push edx
jmp 0x1400a458
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 0x14036508
push eax
call dword [ecx]
test eax, eax
jl 0x1400a4bd
lea ecx, [ebp - 0x6c]
lea edx, [ebp + 0x19c]
call fcn.1400bde4
mov edx, 0x14038ae0
lea ecx, [ebp + 0x19c]
call fcn.1400bd9e
mov edx, dword [ebp - 0x80]
lea ecx, [ebp + 0x19c]
call fcn.1400bd9e
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.1401f2d2
add ebp, 0x3a8
leave
ret
Function at 0x1400a4e2
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x14043524]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push dword [0x14045ca8]
lea eax, [ebp - 0x210]
push dword [0x14045bec]
mov edi, 0x104
push str._wspc_wsreg
push eax
mov eax, edi
call fcn.1400c621
add esp, 0x10
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400a534
mov al, 1
jmp 0x1400a582
push dword [0x14045ca8]
lea eax, [ebp - 0x210]
push str.pc_wsreg
push eax
mov eax, edi
call fcn.1400c621
add esp, 0xc
lea esi, [ebp - 0x210]
call fcn.1401bee2
or eax, edx
jne 0x1400a530
push dword [0x14045ca8]
mov eax, esi
push str.syssec
push eax
mov eax, edi
call fcn.1400c621
add esp, 0xc
call fcn.1401bee2
or eax, edx
jne 0x1400a530
xor al, al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1401f2d2
leave
ret

Function at 0x1400af7c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x14043524]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x268], eax
xor esi, esi
cmp esi, 0x260
jge 0x1400b0b5
mov eax, dword [0x14045c18]
push 0x4c
pop edx
add eax, esi
push edx
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.1400cb8f
add esp, 0xc
cmp word [ebp - 0x264], di
je 0x1400b0b5
lea eax, [ebp - 0x264]
mov cl, 0xde
xor byte [eax], cl
inc eax
dec edx
inc cl
cmp cl, 0xee
jne 0x1400afe8
add cl, 0xf0
cmp edx, edi
ja 0x1400afda
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.1402036e
lea eax, [ebp - 0x214]
push eax
call fcn.14020354
add esp, 0xc
test eax, eax
je 0x1400b0b5
push dword [ebp - 0x268]
lea eax, [ebp - 0x214]
push eax
call fcn.1401f479
pop ecx
pop ecx
test eax, eax
je 0x1400b036
add esi, 0x4c
jmp 0x1400af9e
mov eax, dword [ebp - 0x224]
call fcn.1400cbb7
mov esi, eax
cmp esi, edi
je 0x1400b07d
push dword [ebp - 0x224]
mov eax, dword [ebp - 0x220]
mov ecx, dword [0x14045c18]
add ecx, eax
push ecx
push esi
call fcn.1400cb8f
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x224]
push esi
call fcn.14019b36
add esp, 0xc
mov edi, esi
test edi, edi
je 0x1400b0ad
mov esi, dword [ebx + 4]
test esi, esi
je 0x1400b08d
call fcn.14009eba
push dword [ebp - 0x224]
and dword [ebx + 4], 0
mov ecx, edi
call fcn.1400b45c
mov dword [ebx + 4], eax
pop ecx
mov eax, edi
call fcn.1400cbf1
mov al, 1
jmp 0x1400b0b7
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
xor al, al
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.1401f2d2
leave
ret 4
Function at 0x1400f1d5
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [ebp - 0x10]
push eax
push str.SeShutdownPrivilege
xor esi, esi
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push esi
push esi
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0x30011
push 0x16
call dword [sym.imp.USER32.dll_ExitWindowsEx]
pop esi
leave
ret
Function at 0x14010287
Capabilities:
Create thread
Resume thread
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
push esi
xor ebx, ebx
cmp dword [ebp + 0x10], 0xc
push edi
mov edi, ecx
jne 0x140102e1
call fcn.1400a4e2
test al, al
jne 0x140102c1
push dword [0x14045bbc]
call fcn.1401d226
mov ecx, dword [0x14045ca0]
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x140104be
lea eax, [esp + 0x24]
push eax
push 4
push edi
push 0x1400f230
push 0x1000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp dword [ebp + 0x10], 0xb
jne 0x14010414
push 0x54
lea eax, [esp + 0x30]
push ebx
push eax
mov dword [esp + 0x34], ebx
call fcn.1401f600
mov esi, 0x104
add esp, 0xc
mov eax, esi
call fcn.1400cbe2
mov edx, eax
mov ecx, str.report.txt
mov dword [esp + 0x1c], edx
call fcn.1400bde4
mov eax, dword [edi + 0x50]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], 0x58
mov dword [esp + 0x38], str.All_Files
mov dword [esp + 0x5c], str.Save_Report
mov dword [esp + 0x4c], esi
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
test eax, eax
je 0x1401040b
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [esp + 0x5c]
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x18], eax
mov eax, 0x400
call fcn.1400cbe2
cmp dword [0x14045fe8], ebx
mov dword [esp + 0x14], eax
jle 0x140103f8
mov esi, 0x140446d0
push dword [esi + 4]
mov eax, dword [esi - 8]
push dword [esi]
push dword [esi - 4]
push dword [eax*4 + 0x14044684]
mov eax, 0x3ff
push str._ws_t_ws_t_ws_t_ws_r_n
push dword [esp + 0x28]
call fcn.1400c621
mov ecx, dword [esp + 0x2c]
add esp, 0x18
call fcn.1400bdc8
push ebx
lea edx, [esp + 0x24]
push edx
add eax, eax
push eax
push ecx
push dword [esp + 0x28]
mov dword [esp + 0x34], eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
add esi, 0x10
cmp eax, dword [0x14045fe8]
jl 0x1401039c
mov eax, dword [esp + 0x14]
call fcn.1400cbf1
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x1c]
call fcn.1400cbf1
cmp dword [ebp + 0x10], 0xa
jne 0x140104be
mov ecx, str.SystemScan
call fcn.1400ba22
cmp byte [0x140463f0], bl
jne 0x14010488
push str.Stop
call fcn.1400bb2d
mov esi, dword [edi + 0x150]
push eax
call fcn.1401d0b0
mov eax, dword [edi + 0x154]
xor cl, cl
call fcn.1401d212
mov eax, dword [edi + 0x158]
xor cl, cl
call fcn.1401d212
lea eax, [esp + 0x20]
push eax
push 4
push edi
push 0x1400f412
push 0x1000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
mov dword [edi + 0x124], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x140104be
push str.Start
call fcn.1400bb2d
mov esi, dword [edi + 0x150]
push eax
call fcn.1401d0b0
mov eax, dword [edi + 0x154]
mov cl, 1
call fcn.1401d212
mov eax, dword [edi + 0x158]
mov cl, 1
call fcn.1401d212
mov byte [0x140463f0], bl
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x140158b9
Capabilities:
Get graphical window text

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0
push 0
push 0xe
push dword [esi + 0x50]
call ebx
mov edi, eax
test edi, edi
jle 0x140158f3
mov eax, dword [esi + 0x30]
inc edi
call fcn.1400cbf1
mov eax, edi
call fcn.1400cbe2
push eax
push edi
push 0xd
push dword [esi + 0x50]
mov dword [esi + 0x30], eax
call ebx
mov eax, dword [esi + 0x30]
jmp 0x140158f5
xor eax, eax
pop edi
pop ebx
ret
Function at 0x14017439
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x50]
cmp eax, dword [esp + 8]
jne 0x14017462
push dword [esp + 0xc]
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 0x14019192
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x14043524]
xor eax, ebp
mov dword [ebp + 0x94], eax
push ebx
push edi
lea eax, [esi + 8]
push 0x3bc
push eax
mov dword [0x14046490], esi
call fcn.1400cb6c
xor ebx, ebx
push pe_nt_image_headers32
xor edi, edi
inc edi
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [esi + 0x3d0], ebx
mov dword [esi + 0x3d4], edi
mov dword [esi + 0x3d8], edi
mov dword [esi + 0x410], ebx
mov dword [esi + 0x414], edi
mov dword [esi + 0x3dc], ebx
mov dword [esi + 0x3f8], ebx
mov dword [esi + 0x40c], ebx
mov dword [esi + 0x3cc], ebx
mov dword [esi + 0x418], ebx
mov dword [ebp - 0x80], 0x114
call fcn.1401f600
add esp, 0x14
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x70], 2
jne 0x14019233
cmp dword [ebp - 0x7c], 5
jae 0x14019235
xor edi, edi
mov ecx, dword [ebp + 0x94]
mov dword [esi + 0x3e0], edi
pop edi
xor ecx, ebp
pop ebx
call fcn.1401f2d2
add ebp, 0x98
leave
ret

Function at 0x14019902
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push edi
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
test edi, edi
je 0x14019933
push esi
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push esi
push 0x1401985b
push edi
call dword [sym.imp.USER32.dll_EnumChildWindows]
jmp 0x140199b0
lea eax, [ebp - 0x24]
push eax
push 5
mov dword [ebp - 0x24], 0x24
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x14019990
mov eax, dword [ebp - 0x18]
sub eax, 0
je 0x14019974
dec eax
je 0x1401995b
dec eax
je 0x14019974
dec eax
jne 0x140199b0
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0xc]
lea ecx, [eax - 0x64]
mov dword [esi], ecx
add eax, 0xfffffff0
jmp 0x1401998b
mov eax, dword [ebp - 8]
lea ecx, [eax - 0x64]
add eax, 0xfffffff0
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
jmp 0x140199b0
push 0
push esi
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [esi + 8]
sub eax, 0x96
mov dword [esi], eax
mov eax, dword [esi + 0xc]
sub eax, 0x1e
mov dword [esi + 4], eax
pop edi
leave
ret

Function at 0x14019c7a
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x1403e50c
push dword [esp + 0xc]
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x14019cff
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push dword [ebp + 8]
xor esi, esi
push esi
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, esi
je 0x14019e71
mov ecx, dword [0x14045b78]
push edi
push 0x103
add ecx, 0xf20
push ecx
push esi
push eax
call sub.PSAPI.DLL_GetModuleFileNameExW
mov eax, dword [0x14045b78]
push esi
add eax, 0xf20
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 4], eax
call fcn.1400cbb7
mov edi, eax
mov eax, dword [0x14045b78]
push edi
push dword [ebp - 4]
add eax, 0xf20
push esi
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x14019dc5
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x14038ae0
push edi
call sub.VERSION.dll_VerQueryValueW
mov eax, dword [ebp - 8]
movzx ecx, word [eax + 0x14]
push ecx
movzx ecx, word [eax + 0x16]
push ecx
movzx ecx, word [eax + 0x10]
push ecx
movzx ecx, word [eax + 0x12]
push ecx
movzx ecx, word [eax + 0xc]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
mov eax, dword [0x14045b78]
add eax, 0x1128
push str.File_Version:__d._d._d._d_Product_Version:__d._d._d._d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x28
jmp 0x14019ddd
mov eax, dword [0x14045b78]
add eax, 0x1128
push str.File_Version:_Unknown_Product_Version:_Unknown
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
pop ecx
pop ecx
mov eax, edi
call fcn.1400cbf1
mov eax, dword [ebp + 0xc]
dec eax
pop edi
je 0x14019e4b
dec eax
je 0x14019e2e
dec eax
je 0x14019e11
dec eax
jne 0x14019e71
mov esi, dword [0x14045b78]
lea edx, [esi + 0xb10]
mov ecx, str.Internet_Explorer_Internet_Browser
call fcn.1400bde4
mov ecx, str.Microsoft_Corporation._All_Rights_Reserved.
jmp 0x14019e66
mov esi, dword [0x14045b78]
lea edx, [esi + 0xb10]
mov ecx, str.FireFox_Internet_Browser
call fcn.1400bde4
mov ecx, str.Firefox_and_Mozilla_Developers__license_GPL.
jmp 0x14019e66
mov esi, dword [0x14045b78]
lea edx, [esi + 0xb10]
mov ecx, str.Chrome_Internet_Browser
call fcn.1400bde4
mov ecx, str.Copyright__C__2006_2008_Google_Inc._All_Rights_Reserved.
jmp 0x14019e66
mov esi, dword [0x14045b78]
lea edx, [esi + 0xb10]
mov ecx, str.Opera_Internet_Browser
call fcn.1400bde4
mov ecx, str.Copyright_Opera_Software_1995_2008
lea edx, [esi + 0xd18]
call fcn.1400bde4
mov al, 1
pop esi
leave
ret
Function at 0x1401ba83
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [0x14045bd4]
push esi
call fcn.1400bdc8
mov esi, eax
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
add esi, esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401baee
cmp byte [ebp + 8], al
je 0x1401bad6
push esi
push dword [0x14045bd4]
push 1
push eax
push dword [0x14045ca8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x1401bae5
push dword [0x14045ca8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret

Function at 0x1401bc9b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push dword [0x14046000]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1401bcce
xor eax, eax
leave
ret
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x10]
leave
ret

Function at 0x1401bcf3
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0xf003f
xor edi, edi
push edi
push dword [0x14046000]
mov esi, 0x80000002
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x1401bd3e
push edi
lea eax, [ebp - 4]
push eax
push edi
push 0x20006
push edi
push edi
push edi
push dword [0x14046000]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
je 0x1401bd3e
xor al, al
jmp 0x1401bd59
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push edi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb al, al
inc al
pop edi
pop esi
leave
ret
Function at 0x1401bd5d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x14045c4c]
push ebx
mov ebx, dword [0x14045bec]
push esi
push edi
mov edi, dword [0x14045ca8]
mov esi, 0x104
test eax, eax
jne 0x1401bd8a
mov eax, esi
call fcn.1400cbe2
mov dword [0x14045c4c], eax
push edi
push ebx
push 0x14039a48
push eax
mov eax, esi
call fcn.1400c621
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
add esp, 0x10
push 0
mov ebx, 0x80
push ebx
push 3
push 0
push 3
mov edi, 0x1f01ff
push edi
push dword [0x14045c4c]
call esi
mov dword [0x14046024], eax
cmp eax, 0xffffffff
je 0x1401bde3
push 0x38
pop ecx
push 0
lea edx, [ebp - 4]
push edx
push ecx
push 0x14046498
push eax
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x1401be2b
push 0
push ebx
push 2
push 0
push 3
push edi
push dword [0x14045c4c]
call esi
mov dword [0x14046024], eax
mov byte [0x140464ac], 1
mov byte [0x140464aa], 1
mov byte [0x140464b4], 1
mov byte [0x140464b3], 1
mov byte [0x140464b2], 1
mov byte [0x140464b1], 1
mov byte [0x140464bb], 0
push dword [0x14046024]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1401be3c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
push 0x80
push 2
push 0
push 3
push 0x1f01ff
push dword [0x14045c4c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0x38
pop ecx
push 0
lea edx, [ebp - 4]
push edx
push ecx
push 0x14046498
push eax
mov dword [0x14046024], eax
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [0x14046024]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
leave
ret

Function at 0x1401be8a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
push 0x80
push 2
push 0
push 3
push 0x1f01ff
push dword [0x14045c4c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0x38
pop ecx
push 0
lea edx, [ebp - 4]
push edx
push ecx
push 0x14046498
push eax
mov dword [0x14046024], eax
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [0x14046024]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x14045c4c]
call fcn.1400cbf1
leave
ret
Function at 0x1401c50d
Capabilities:
Download and write a file
Query remote server for available data
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_LoadCursorW]
xor ebx, ebx
push 0x7f02
push ebx
mov byte [ebp - 1], bl
call edi
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x1401c5c1
mov eax, 0x400
call fcn.1400cbb7
push ebx
push 0x80
push 2
push ebx
push 2
push 0x1f01ff
push dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp + 0xc], eax
lea eax, [ebp - 8]
push eax
push 0x400
push dword [ebp - 0xc]
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1401c5a7
cmp dword [ebp + 0xc], ebx
je 0x1401c5a2
cmp dword [ebp - 8], ebx
jbe 0x1401c5a7
push ebx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 8], ebx
ja 0x1401c56b
cmp dword [ebp + 0xc], ebx
je 0x1401c5b5
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
call fcn.1400cbf1
mov byte [ebp - 1], 1
push 0x7f00
push ebx
call edi
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov al, byte [ebp - 1]
pop edi
pop ebx
leave
ret 8
Function at 0x1401d3d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x37], 0
jne 0x1401d3e3
cmp dword [esi + 0x2b], 0
je 0x1401d3f1
mov dword [esi + 8], 0x1002
xor esi, esi
jmp 0x1401d47a
mov dword [esi + 8], 0
push 0xa
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
or eax, eax
jne 0x1401d415
mov dword [esi + 8], 0x3001
xor esi, esi
jmp 0x1401d47a
push eax
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
pop ecx
or eax, eax
jne 0x1401d430
mov dword [esi + 8], 0x3002
xor esi, esi
jmp 0x1401d47a
mov dword [esi + 0x13], eax
mov dword [esi + 0x1b], eax
push ecx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
or eax, eax
jne 0x1401d44f
mov dword [esi + 8], 0x3002
xor esi, esi
jmp 0x1401d47a
mov dword [esi + 0x17], eax
mov dword [esi + 0x2b], 2
push esi
call fcn.1401d6a0
or eax, eax
jne 0x1401d46e
mov dword [esi + 0x2b], 0
xor esi, esi
jmp 0x1401d47a
mov dword [esi + 0x37], 1
mov esi, 1
mov eax, esi
pop esi
leave
ret 0xc

Function at 0x1401f2d2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x14043524]
jne 0x1401f2dc
repz ret
jmp fcn.1402277c