joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4371f8
Capabilities:
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push 0x20
mov eax, 0x45abec
call fcn.0044167c
mov esi, dword [ebp + 8]
call fcn.004073de
xor edi, edi
push str.Failed_CryptAcquireContext
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], edi
call fcn.004073f1
push 0xf0000000
push 1
push edi
push edi
lea ebx, [esi + 0x1c]
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
cmp eax, edi
jne 0x437241
lea eax, [ebp - 0x2c]
call fcn.004208bd
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040860c
push str.Failed_CryptCreateHash
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.004073f1
lea eax, [esi + 0x20]
push eax
push edi
push edi
push 0x8003
mov byte [ebp - 4], 3
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
cmp eax, edi
jne 0x437280
lea eax, [ebp - 0x2c]
call fcn.004208bd
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040860c
mov eax, esi
call fcn.00441721
ret 4

Function at 0x4372cc
Capabilities:
Hash data via wincrypt

Disassembly:
push 0x428
mov eax, 0x45bd5c
call fcn.004416b2
mov eax, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x418], eax
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
mov ecx, dword [eax + 0x28]
neg ecx
sbb ecx, ecx
xor edi, edi
and ecx, 0xfffffffc
push edi
add ecx, 4
push eax
call fcn.0040176d
push edi
call fcn.004183a8
push 0x400
lea eax, [ebp - 0x414]
push eax
push esi
call fcn.004226b2
mov ebx, dword [esi + 4]
push str.Failed_CryptHashData
lea ecx, [ebp - 0x434]
call fcn.004073f1
push edi
push ebx
lea eax, [ebp - 0x414]
push eax
mov eax, dword [ebp - 0x418]
mov dword [ebp - 4], edi
push dword [eax + 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
cmp eax, edi
jne 0x437358
lea eax, [ebp - 0x434]
call fcn.004208bd
or dword [ebp - 4], 0xffffffff
push edi
push 1
lea ecx, [ebp - 0x434]
call fcn.0040860c
cmp dword [esi + 4], edi
jg 0x437309
call fcn.00441735
ret 4

Function at 0x43751f
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x47e180]
xor eax, ebp
mov dword [ebp + 0x94], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.00440e30
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x437572
cmp dword [ebp - 0x70], 2
jne 0x437572
cmp dword [ebp - 0x7c], 6
jb 0x437572
mov al, 1
jmp 0x437574
xor al, al
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.0043d7ed
add ebp, 0x98
leave
ret
Function at 0x437e72
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4599b4
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x47e180]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push esi
push edi
mov eax, dword [0x47e180]
xor eax, esp
push eax
lea eax, [esp + 0x270]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push edi
xor ebx, ebx
push ebx
push 0x100001
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x278], ebx
cmp eax, ebx
je 0x438071
lea eax, [esp + 0x5c]
push eax
push 0x437e19
mov dword [esp + 0x64], edi
mov byte [esp + 0x68], bl
call dword [sym.imp.USER32.dll_EnumWindows]
mov byte [esp + 0x17], bl
cmp byte [esp + 0x60], bl
je 0x43803e
mov edi, dword [esi + 8]
imul edi, edi, 0xa
mov byte [esi + 0x58], 1
mov dword [esp + 0x18], edi
cmp dword [esp + 0x18], 0
jle 0x437f52
push 0x64
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x437f2c
mov byte [esp + 0x17], 1
dec dword [esp + 0x18]
mov eax, dword [esi + 0x10]
inc ebx
test eax, eax
je 0x437f77
push edi
lea ecx, [esi + 0x18]
push ebx
and eax, 0xfffffffe
push ecx
call dword [eax + 4]
add esp, 0xc
test al, al
je 0x437f8e
cmp byte [esp + 0x17], 0
je 0x437f0d
cmp byte [esp + 0x17], 0
jne 0x438067
mov eax, dword [esi + 0x38]
test eax, eax
jne 0x437fa6
lea esi, [esp + 0x34]
call fcn.00424c9b
mov byte [esp + 0x278], 2
jmp 0x437f88
lea esi, [esp + 0x34]
call fcn.00424c9b
mov byte [esp + 0x278], 1
push eax
call fcn.0042c2d8
push 7
lea esi, [esp + 0x28]
call fcn.0041f86a
push 0x472510
mov eax, esi
push eax
call fcn.00441753
add esi, 0x40
and eax, 0xfffffffe
push esi
call dword [eax + 4]
pop ecx
push 8
mov esi, eax
call fcn.0043db44
pop ecx
mov dword [esp + 0x18], eax
mov byte [esp + 0x278], 3
test eax, eax
je 0x437fdb
lea ecx, [esp + 0x62]
push ecx
push esi
push eax
call fcn.00439422
mov esi, eax
jmp 0x437fdd
xor esi, esi
mov dword [esp + 0x20], esi
mov byte [esp + 0x278], 4
test esi, esi
je 0x438023
mov eax, dword [esi]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call dword [eax + 4]
test al, al
jne 0x438097
push 0x3e8
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x43801c
mov byte [esp + 0x17], 1
cmp byte [esp + 0x17], 0
je 0x437fed
mov byte [esp + 0x278], 0
test esi, esi
je 0x438037
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
cmp byte [esp + 0x17], 0
jne 0x438067
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x43805b
cmp dword [esp + 0x18], 0x103
jne 0x438067
push 0
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x270]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.0043d7ed
mov esp, ebp
pop ebp
ret 4
cmp dword [esp + 0x18], 1
je 0x438023
push 1
lea esi, [esp + 0x28]
call fcn.0041f892
push 0x4724c4
mov eax, esi
jmp 0x437fa0
Function at 0x4380b5
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45a25d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x185c
call fcn.004505f0
mov eax, dword [0x47e180]
xor eax, esp
mov dword [esp + 0x1858], eax
push ebx
push esi
push edi
mov eax, dword [0x47e180]
xor eax, esp
push eax
lea eax, [esp + 0x1870]
mov dword fs:[0], eax
lea eax, [esp + 0x38]
push eax
push 0x1000
lea eax, [esp + 0x4c]
mov edi, ecx
push eax
mov dword [esp + 0x38], edi
call sub.PSAPI.DLL_EnumProcesses
mov esi, dword [esp + 0x38]
push 4
shr esi, 2
call fcn.0043db44
pop ecx
xor ecx, ecx
cmp eax, ecx
je 0x438131
lea edx, [esp + 0x14]
mov dword [eax], edx
jmp 0x438133
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1878], 1
cmp esi, ecx
jbe 0x43826a
lea ebx, [esp + 0x44]
mov dword [esp + 0x34], esi
mov edi, 0x400
push dword [ebx]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [esp + 0x30], eax
push edi
lea ecx, [esp + 0x1068]
push ecx
push eax
mov byte [esp + 0x1884], 2
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x438240
xor eax, eax
mov word [esp + 0x1862], ax
lea eax, [esp + 0x1064]
push eax
lea esi, [esp + 0x104c]
call fcn.004074af
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x1878], 3
cmp dword [eax + 0x74], 8
mov ecx, dword [eax + 0x70]
jb 0x4381c9
mov eax, dword [eax + 0x60]
jmp 0x4381cc
add eax, 0x60
push ecx
push eax
lea eax, [esp + 0x1050]
call fcn.0040889a
cmp eax, 0xffffffff
je 0x438230
mov edx, dword [esp + 0x20]
test edx, edx
jne 0x4381eb
xor eax, eax
jmp 0x4381f4
mov eax, dword [esp + 0x28]
sub eax, edx
sar eax, 2
mov ecx, dword [esp + 0x24]
mov esi, ecx
sub esi, edx
sar esi, 2
cmp esi, eax
jae 0x438210
mov eax, dword [ebx]
mov dword [ecx], eax
add ecx, 4
mov dword [esp + 0x24], ecx
jmp 0x438230
mov esi, ecx
cmp edx, ecx
jbe 0x43821b
call fcn.0043dd11
mov eax, dword [esp + 0x14]
push esi
push eax
push ebx
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x24]
call fcn.0042facc
push 0
push 1
lea esi, [esp + 0x1050]
call fcn.00408944
mov byte [esp + 0x1878], 1
cmp dword [esp + 0x30], 0
je 0x438259
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add ebx, 4
dec dword [esp + 0x34]
jne 0x438163
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov byte [edi + 0x58], 0
cmp dword [esp + 0x20], ebx
jbe 0x43827d
call fcn.0043dd11
mov esi, dword [esp + 0x20]
cmp esi, dword [esp + 0x24]
jbe 0x43829a
call fcn.0043dd11
jmp 0x43829a
push dword [esi]
mov ecx, edi
call fcn.00437e72
add esi, 4
cmp esi, ebx
jne 0x43828e
cmp dword [esp + 0x20], 0
mov bl, byte [edi + 0x58]
je 0x4382b2
push dword [esp + 0x20]
call fcn.0043d7e2
pop ecx
push dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call fcn.0043d7e2
pop ecx
mov al, bl
mov ecx, dword [esp + 0x1870]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1858]
xor ecx, esp
call fcn.0043d7ed
mov esp, ebp
pop ebp
ret
Function at 0x438d7c
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov ebx, ecx
test edi, edi
je 0x438ddd
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x438ddd
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x438dad
and al, 0x10
xor ecx, ecx
cmp al, 0x10
sete cl
mov eax, ecx
jmp 0x438ddf
push edi
call dword [sym.imp.SHLWAPI.dll_StrDupW]
push 0x5c
mov esi, eax
push 0
push esi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
test eax, eax
je 0x438df8
xor ecx, ecx
mov word [eax], cx
push esi
mov ecx, ebx
call fcn.00438d7c
push esi
test eax, eax
jne 0x438de5
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop edi
pop esi
pop ebx
ret 4
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x438ddd
xor eax, eax
inc eax
jmp 0x438ddf
Function at 0x438dfd
Capabilities:
Timestomp file

Disassembly:
push 0x48
mov eax, 0x45aaa4
call fcn.00441649
mov edi, ecx
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push ebx
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
lea esi, [ebp - 0x54]
push str.SetFileModTime_couldnt_open__S
mov dword [ebp - 4], ebx
call fcn.004244cd
pop ecx
pop ecx
xor ecx, ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x10], 0xffffffff
setne cl
cmp ecx, ebx
jne 0x438e4f
call fcn.004208bd
push ebx
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.0040860c
push dword [ebp + 8]
lea esi, [ebp - 0x54]
push str.SetFileModTime_failed_GetFileTime:__S
call fcn.004244cd
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 2
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileTime]
cmp eax, ebx
jne 0x438e95
mov eax, esi
call fcn.004208bd
push ebx
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.0040860c
push dword [ebp + 8]
lea esi, [ebp - 0x54]
push str.SetFileModTime_failed_DosDateTimeToFileTime:__S
call fcn.004244cd
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x20]
push eax
push edi
shr edi, 0x10
push edi
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
cmp eax, ebx
jne 0x438ed5
mov eax, esi
call fcn.004208bd
push ebx
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.0040860c
push dword [ebp + 8]
lea esi, [ebp - 0x54]
push str.SetFileModTime_failed_LocalFileTimeToFileTime:__S
call fcn.004244cd
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
cmp eax, ebx
jne 0x438f14
mov eax, esi
call fcn.004208bd
push ebx
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.0040860c
push dword [ebp + 8]
lea esi, [ebp - 0x54]
push str.SetFileModTime_failed_SetFileTime:__S
call fcn.004244cd
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 5
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x438f5a
mov eax, esi
call fcn.004208bd
push ebx
push 1
lea ecx, [ebp - 0x54]
call fcn.0040860c
cmp dword [ebp - 0x10], ebx
je 0x438f73
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00441721
ret 4

Function at 0x4394bf
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [ecx]
mov edx, eax
xor edx, dword [esp + 4]
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edi + edx*4]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edi + edx*4]
pop esi
mov dword [ecx + 8], eax
mov eax, dword [esp + 4]
ret
Function at 0x43d7ed
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47e180]
jne 0x43d7f7
repz ret
jmp fcn.004445dc

Function at 0x451c00
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.00445539
and dword [ebp - 4], 0
cmp dword [0x4884d8], 0
mov ebx, eax
jne 0x451cb1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x451d62
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x451d62
push eax
call fcn.004454c7
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4884d8], eax
call esi
push eax
call fcn.004454c7
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4884dc], eax
call esi
push eax
call fcn.004454c7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4884e0], eax
call esi
push eax
call fcn.004454c7
pop ecx
mov dword [0x4884e8], eax
test eax, eax
je 0x451cb1
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004454c7
pop ecx
mov dword [0x4884e4], eax
mov eax, dword [0x4884e4]
cmp eax, ebx
je 0x451d09
cmp dword [0x4884e8], ebx
je 0x451d09
push eax
call fcn.00445542
push dword [0x4884e8]
mov esi, eax
call fcn.00445542
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x451d09
test edi, edi
je 0x451d09
call esi
test eax, eax
je 0x451d00
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x451d00
test byte [ebp - 0xc], 1
jne 0x451d09
or dword [ebp + 0x10], 0x200000
jmp 0x451d42
mov eax, dword [0x4884dc]
cmp eax, ebx
je 0x451d42
push eax
call fcn.00445542
pop ecx
test eax, eax
je 0x451d42
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x451d42
mov eax, dword [0x4884e0]
cmp eax, ebx
je 0x451d42
push eax
call fcn.00445542
pop ecx
test eax, eax
je 0x451d42
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4884d8]
call fcn.00445542
pop ecx
test eax, eax
je 0x451d62
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x451d64
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000f710
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x10080acb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.10075af3
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x1000f792
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.10073a05
mov eax, dword [eax]
push 0x100f0c38
push eax
call fcn.10066754
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.10075d7e
test bl, bl
je 0x1000f792
push 0x100f0c38
lea ecx, [esp + 0xc]
call fcn.1007610e
push 0x100f0c44
lea ecx, [esp + 0xc]
call fcn.1007610e
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x1000f7ce
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.10075d7e
jmp 0x1000f899
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x1000f852
lea edx, [esp + 0x7c]
push 0x100f0c40
push edx
call fcn.10066754
add esp, 8
test eax, eax
je 0x1000f852
lea eax, [esp + 0x7c]
push 0x100f0c3c
push eax
call fcn.10066754
add esp, 8
test eax, eax
je 0x1000f852
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1000f7e2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.10075d7e
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x100100a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x10010102
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x10010110
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x10080b4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x100fa604]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x10010248
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x10010176
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.10075d7e
xor eax, eax
jmp 0x100102bf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.10075ebb
push esi
lea ecx, [esp + 0xc]
call fcn.1007614a
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x1001029d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.100100a0
test eax, eax
jne 0x1001029d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.100100a0
test eax, eax
jne 0x1001029d
lea eax, [esp + 0x14]
push 0x100f0c54
push eax
call fcn.100677d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1001027c
lea ecx, [esp + 0x14]
push 0x100f0c50
push ecx
call fcn.10067750
mov esi, eax
add esp, 8
test esi, esi
jne 0x1001027c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x1001027f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.10075e6b
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x1001018e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.10075d7e
xor eax, eax
jmp 0x100102bf
mov byte [esi], 0
push 0x100f0c4c
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.10075d7e
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x1001f6d0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x1001f73e
cmp si, 0x69
ja 0x1001f73e
add esi, 0xffd0
cmp si, 0x11
je 0x1001f70e
push 0x11
call edi
test ax, ax
jge 0x1001f70e
or esi, 0x2000
cmp si, 0x10
je 0x1001f723
push 0x10
call edi
test ax, ax
jge 0x1001f723
or esi, 0x4000
cmp si, 0x12
je 0x1001f738
push 0x12
call edi
test ax, ax
jge 0x1001f738
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x1001f74b
mov esi, 0xbd
jmp 0x1001f6ff
cmp si, 0x6e
jne 0x1001f758
mov esi, 0xbe
jmp 0x1001f6ff
cmp si, 0x6f
jne 0x1001f6f9
mov esi, 0xbf
jmp 0x1001f6ff

Function at 0x10020ee0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x1010ad50]
xor edx, edx
cmp eax, edx
jne 0x10020f06
xor eax, eax
mov byte [eax + 0x1010ac50], al
inc eax
cmp eax, 0x100
jl 0x10020eee
mov dword [0x1010ad50], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x1010ac50
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x10020f97
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x10020f6a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x10020f38
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x10021010
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x10021063
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x1002104a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret