joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b699
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x14045524]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push dword [0x14047cd4]
lea eax, [ebp - 0x210]
push dword [0x14047c10]
mov edi, 0x104
push str._wspc_wsreg
push eax
mov eax, edi
call fcn.1400d7d8
add esp, 0x10
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400b6eb
mov al, 1
jmp 0x1400b739
push dword [0x14047cd4]
lea eax, [ebp - 0x210]
push str.pc_wsreg
push eax
mov eax, edi
call fcn.1400d7d8
add esp, 0xc
lea esi, [ebp - 0x210]
call fcn.1401d37d
or eax, edx
jne 0x1400b6e7
push dword [0x14047cd4]
mov eax, esi
push str.syssec
push eax
mov eax, edi
call fcn.1400d7d8
add esp, 0xc
call fcn.1401d37d
or eax, edx
jne 0x1400b6e7
xor al, al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.14020762
leave
ret

Function at 0x1400c133
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x14045524]
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 0x1400c26c
mov eax, dword [0x14047c44]
push 0x4c
pop edx
add eax, esi
push edx
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.1400dd50
add esp, 0xc
cmp word [ebp - 0x264], di
je 0x1400c26c
lea eax, [ebp - 0x264]
mov cl, 0xde
xor byte [eax], cl
inc eax
dec edx
inc cl
cmp cl, 0xee
jne 0x1400c19f
add cl, 0xf0
cmp edx, edi
ja 0x1400c191
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.14021832
lea eax, [ebp - 0x214]
push eax
call fcn.14021818
add esp, 0xc
test eax, eax
je 0x1400c26c
push dword [ebp - 0x268]
lea eax, [ebp - 0x214]
push eax
call fcn.14020909
pop ecx
pop ecx
test eax, eax
je 0x1400c1ed
add esi, 0x4c
jmp 0x1400c155
mov eax, dword [ebp - 0x224]
call fcn.1400dd78
mov esi, eax
cmp esi, edi
je 0x1400c234
push dword [ebp - 0x224]
mov eax, dword [ebp - 0x220]
mov ecx, dword [0x14047c44]
add ecx, eax
push ecx
push esi
call fcn.1400dd50
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x224]
push esi
call fcn.1401adfb
add esp, 0xc
mov edi, esi
test edi, edi
je 0x1400c264
mov esi, dword [ebx + 4]
test esi, esi
je 0x1400c244
call fcn.1400b071
push dword [ebp - 0x224]
and dword [ebx + 4], 0
mov ecx, edi
call fcn.1400c613
mov dword [ebx + 4], eax
pop ecx
mov eax, edi
call fcn.1400ddb2
mov al, 1
jmp 0x1400c26e
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.14020762
leave
ret 4
Function at 0x14010396
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 0x14011451
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 0x140114ab
call fcn.1400b699
test al, al
jne 0x1401148b
push dword [0x14047be0]
call fcn.1401e6c1
mov ecx, dword [0x14047ccc]
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x14011688
lea eax, [esp + 0x24]
push eax
push 4
push edi
push 0x140103f1
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 0x140115de
push 0x54
lea eax, [esp + 0x30]
push ebx
push eax
mov dword [esp + 0x34], ebx
call fcn.14020a90
mov esi, 0x104
add esp, 0xc
mov eax, esi
call fcn.1400dda3
mov edx, eax
mov ecx, str.report.txt
mov dword [esp + 0x1c], edx
call fcn.1400cf9b
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 0x140115d5
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.1400dda3
cmp dword [0x14048014], ebx
mov dword [esp + 0x14], eax
jle 0x140115c2
mov esi, 0x140466b0
push dword [esi + 4]
mov eax, dword [esi - 8]
push dword [esi]
push dword [esi - 4]
push dword [eax*4 + 0x14046684]
mov eax, 0x3ff
push str._ws_t_ws_t_ws_t_ws_r_n
push dword [esp + 0x28]
call fcn.1400d7d8
mov ecx, dword [esp + 0x2c]
add esp, 0x18
call fcn.1400cf7f
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 [0x14048014]
jl 0x14011566
mov eax, dword [esp + 0x14]
call fcn.1400ddb2
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x1c]
call fcn.1400ddb2
cmp dword [ebp + 0x10], 0xa
jne 0x14011688
mov ecx, str.SystemScan
call fcn.1400cbd9
cmp byte [0x1404841c], bl
jne 0x14011652
push str.Stop
call fcn.1400cce4
mov esi, dword [edi + 0x150]
push eax
call fcn.1401e54b
mov eax, dword [edi + 0x154]
xor cl, cl
call fcn.1401e6ad
mov eax, dword [edi + 0x158]
xor cl, cl
call fcn.1401e6ad
lea eax, [esp + 0x20]
push eax
push 4
push edi
push 0x140105d3
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 0x14011688
push str.Start
call fcn.1400cce4
mov esi, dword [edi + 0x150]
push eax
call fcn.1401e54b
mov eax, dword [edi + 0x154]
mov cl, 1
call fcn.1401e6ad
mov eax, dword [edi + 0x158]
mov cl, 1
call fcn.1401e6ad
mov byte [0x1404841c], bl
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x14016aba
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 0x14016af4
mov eax, dword [esi + 0x30]
inc edi
call fcn.1400ddb2
mov eax, edi
call fcn.1400dda3
push eax
push edi
push 0xd
push dword [esi + 0x50]
mov dword [esi + 0x30], eax
call ebx
mov eax, dword [esi + 0x30]
jmp 0x14016af6
xor eax, eax
pop edi
pop ebx
ret
Function at 0x14018634
Capabilities:
Hide graphical window

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

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x14045524]
xor eax, ebp
mov dword [ebp + 0x94], eax
push ebx
push edi
lea eax, [esi + 8]
push 0x3bc
push eax
mov dword [0x140484b8], esi
call fcn.1400dd2d
xor ebx, ebx
push 0x110
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.14020a90
add esp, 0x14
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x70], 2
jne 0x1401a3e6
cmp dword [ebp - 0x7c], 5
jae 0x1401a3e8
xor edi, edi
mov ecx, dword [ebp + 0x94]
mov dword [esi + 0x3e0], edi
pop edi
xor ecx, ebp
pop ebx
call fcn.14020762
add ebp, 0x98
leave
ret

Function at 0x1401abd2
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 0x1401ac03
push esi
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push esi
push 0x1401ab2b
push edi
call dword [sym.imp.USER32.dll_EnumChildWindows]
jmp 0x1401ac80
lea eax, [ebp - 0x24]
push eax
push 5
mov dword [ebp - 0x24], 0x24
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x1401ac60
mov eax, dword [ebp - 0x18]
sub eax, 0
je 0x1401ac44
dec eax
je 0x1401ac2b
dec eax
je 0x1401ac44
dec eax
jne 0x1401ac80
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 0x1401ac5b
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 0x1401ac80
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 0x1401af3f
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x1403f9ec
push dword [esp + 0xc]
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1401afc4
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 0x1401b136
mov ecx, dword [0x14047b9c]
push edi
push 0x103
add ecx, 0xf20
push ecx
push esi
push eax
call sub.PSAPI.DLL_GetModuleFileNameExW
mov eax, dword [0x14047b9c]
push esi
add eax, 0xf20
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 4], eax
call fcn.1400dd78
mov edi, eax
mov eax, dword [0x14047b9c]
push edi
push dword [ebp - 4]
add eax, 0xf20
push esi
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1401b08a
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x14039ce4
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 [0x14047b9c]
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 0x1401b0a2
mov eax, dword [0x14047b9c]
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.1400ddb2
mov eax, dword [ebp + 0xc]
dec eax
pop edi
je 0x1401b110
dec eax
je 0x1401b0f3
dec eax
je 0x1401b0d6
dec eax
jne 0x1401b136
mov esi, dword [0x14047b9c]
lea edx, [esi + 0xb10]
mov ecx, str.Internet_Explorer_Internet_Browser
call fcn.1400cf9b
mov ecx, str.Microsoft_Corporation._All_Rights_Reserved.
jmp 0x1401b12b
mov esi, dword [0x14047b9c]
lea edx, [esi + 0xb10]
mov ecx, str.FireFox_Internet_Browser
call fcn.1400cf9b
mov ecx, str.Firefox_and_Mozilla_Developers__license_GPL.
jmp 0x1401b12b
mov esi, dword [0x14047b9c]
lea edx, [esi + 0xb10]
mov ecx, str.Chrome_Internet_Browser
call fcn.1400cf9b
mov ecx, str.Copyright__C__2006_2008_Google_Inc._All_Rights_Reserved.
jmp 0x1401b12b
mov esi, dword [0x14047b9c]
lea edx, [esi + 0xb10]
mov ecx, str.Opera_Internet_Browser
call fcn.1400cf9b
mov ecx, str.Copyright_Opera_Software_1995_2008
lea edx, [esi + 0xd18]
call fcn.1400cf9b
mov al, 1
pop esi
leave
ret
Function at 0x1401bc6d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push dword [ebp + 0xc]
call fcn.1401bb96
pop ecx
mov esi, eax
push dword [esi + 0x14]
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0xc], eax
cmp eax, ebx
je 0x1401bd68
push ebx
push esi
push eax
movzx eax, word [esi + 8]
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call dword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
je 0x1401bd68
push ebx
push 0x80
push 2
push ebx
push ebx
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x1401bd68
mov ecx, 0x4d42
mov word [ebp - 0x1c], cx
mov edx, dword [esi]
mov ecx, dword [esi + 0x20]
lea ecx, [edx + ecx*4]
mov edx, dword [esi + 0x14]
lea ecx, [ecx + edx + 0xe]
mov dword [ebp - 0x1a], ecx
xor ecx, ecx
mov word [ebp - 0x16], cx
mov word [ebp - 0x14], cx
mov ecx, dword [esi + 0x20]
mov edx, dword [esi]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [edx + ecx*4 + 0xe]
push ebx
mov dword [ebp - 0x12], ecx
lea ecx, [ebp - 8]
push ecx
push 0xe
lea ecx, [ebp - 0x1c]
push ecx
push eax
call edi
test eax, eax
je 0x1401bd67
push ebx
lea eax, [ebp - 8]
push eax
mov eax, dword [esi + 0x20]
lea eax, [eax*4 + 0x28]
push eax
push esi
push dword [ebp - 4]
call edi
test eax, eax
je 0x1401bd67
mov esi, dword [esi + 0x14]
push ebx
lea eax, [ebp - 8]
push eax
push esi
push dword [ebp - 0xc]
push dword [ebp - 4]
call edi
test eax, eax
je 0x1401bd67
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1401bd67
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1401cf1e
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [0x14047bf8]
push esi
call fcn.1400cf7f
mov esi, eax
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
add esi, esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401cf89
cmp byte [ebp + 8], al
je 0x1401cf71
push esi
push dword [0x14047bf8]
push 1
push eax
push dword [0x14047cd4]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x1401cf80
push dword [0x14047cd4]
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 0x1401d136
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 [0x1404802c]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1401d169
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 0x1401d18e
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 [0x1404802c]
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x1401d1d9
push edi
lea eax, [ebp - 4]
push eax
push edi
push 0x20006
push edi
push edi
push edi
push dword [0x1404802c]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
je 0x1401d1d9
xor al, al
jmp 0x1401d1f4
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 0x1401d1f8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x14047c78]
push ebx
mov ebx, dword [0x14047c10]
push esi
push edi
mov edi, dword [0x14047cd4]
mov esi, 0x104
test eax, eax
jne 0x1401d225
mov eax, esi
call fcn.1400dda3
mov dword [0x14047c78], eax
push edi
push ebx
push 0x1403ac50
push eax
mov eax, esi
call fcn.1400d7d8
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 [0x14047c78]
call esi
mov dword [0x14048050], eax
cmp eax, 0xffffffff
je 0x1401d27e
push 0x38
pop ecx
push 0
lea edx, [ebp - 4]
push edx
push ecx
push 0x140484c0
push eax
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x1401d2c6
push 0
push ebx
push 2
push 0
push 3
push edi
push dword [0x14047c78]
call esi
mov dword [0x14048050], eax
mov byte [0x140484d4], 1
mov byte [0x140484d2], 1
mov byte [0x140484dc], 1
mov byte [0x140484db], 1
mov byte [0x140484da], 1
mov byte [0x140484d9], 1
mov byte [0x140484e3], 0
push dword [0x14048050]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1401d2d7
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 [0x14047c78]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0x38
pop ecx
push 0
lea edx, [ebp - 4]
push edx
push ecx
push 0x140484c0
push eax
mov dword [0x14048050], eax
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [0x14048050]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
leave
ret
Function at 0x1401d325
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 [0x14047c78]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0x38
pop ecx
push 0
lea edx, [ebp - 4]
push edx
push ecx
push 0x140484c0
push eax
mov dword [0x14048050], eax
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [0x14048050]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x14047c78]
call fcn.1400ddb2
leave
ret

Function at 0x1401d9a8
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 0x1401da5c
mov eax, 0x400
call fcn.1400dd78
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 0x1401da42
cmp dword [ebp + 0xc], ebx
je 0x1401da3d
cmp dword [ebp - 8], ebx
jbe 0x1401da42
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 0x1401da06
cmp dword [ebp + 0xc], ebx
je 0x1401da50
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
call fcn.1400ddb2
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 0x1401e860
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 0x1401e873
cmp dword [esi + 0x2b], 0
je 0x1401e881
mov dword [esi + 8], 0x1002
xor esi, esi
jmp 0x1401e90a
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 0x1401e8a5
mov dword [esi + 8], 0x3001
xor esi, esi
jmp 0x1401e90a
push eax
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
pop ecx
or eax, eax
jne 0x1401e8c0
mov dword [esi + 8], 0x3002
xor esi, esi
jmp 0x1401e90a
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 0x1401e8df
mov dword [esi + 8], 0x3002
xor esi, esi
jmp 0x1401e90a
mov dword [esi + 0x17], eax
mov dword [esi + 0x2b], 2
push esi
call fcn.1401eb30
or eax, eax
jne 0x1401e8fe
mov dword [esi + 0x2b], 0
xor esi, esi
jmp 0x1401e90a
mov dword [esi + 0x37], 1
mov esi, 1
mov eax, esi
pop esi
leave
ret 0xc

Function at 0x14020762
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x14045524]
jne 0x1402076c
repz ret
jmp fcn.14023c0c
Function at 0x1402e2da
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1402478c
and dword [ebp - 4], 0
cmp dword [0x14047b64], 0
mov ebx, eax
jne 0x1402e38b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1402e43c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1402e43c
push eax
call fcn.1402471a
mov dword [esp], 0x14038f90
push edi
mov dword [0x14047b64], eax
call esi
push eax
call fcn.1402471a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x14047b68], eax
call esi
push eax
call fcn.1402471a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x14047b6c], eax
call esi
push eax
call fcn.1402471a
pop ecx
mov dword [0x14047b74], eax
test eax, eax
je 0x1402e38b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1402471a
pop ecx
mov dword [0x14047b70], eax
mov eax, dword [0x14047b70]
cmp eax, ebx
je 0x1402e3e3
cmp dword [0x14047b74], ebx
je 0x1402e3e3
push eax
call fcn.14024795
push dword [0x14047b74]
mov esi, eax
call fcn.14024795
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1402e3e3
test edi, edi
je 0x1402e3e3
call esi
test eax, eax
je 0x1402e3da
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1402e3da
test byte [ebp - 0xc], 1
jne 0x1402e3e3
or dword [ebp + 0x10], 0x200000
jmp 0x1402e41c
mov eax, dword [0x14047b68]
cmp eax, ebx
je 0x1402e41c
push eax
call fcn.14024795
pop ecx
test eax, eax
je 0x1402e41c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1402e41c
mov eax, dword [0x14047b6c]
cmp eax, ebx
je 0x1402e41c
push eax
call fcn.14024795
pop ecx
test eax, eax
je 0x1402e41c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x14047b64]
call fcn.14024795
pop ecx
test eax, eax
je 0x1402e43c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1402e43e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret