joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000462a
Capabilities:
Delete file
Enumerate files on windows
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x87c
mov eax, dword [0x1000707c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x87c], eax
xor eax, eax
push 0x206
mov word [ebp - 0x624], ax
xor edi, edi
lea eax, [ebp - 0x622]
push edi
push eax
call sub.msvcrt.dll_memset
xor eax, eax
mov esi, 0x208
push esi
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push edi
push eax
call sub.msvcrt.dll_memset
xor eax, eax
push esi
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push edi
push eax
call sub.msvcrt.dll_memset
push 0x24c
lea eax, [ebp - 0x870]
push edi
push eax
xor esi, esi
mov dword [ebp - 0x874], edi
call sub.msvcrt.dll_memset
push ebx
push dword [ebp - 0x87c]
lea eax, [ebp - 0x624]
push 0x10004820
push 0x104
push eax
call fcn.10003cad
add esp, 0x44
lea eax, [ebp - 0x874]
push eax
lea eax, [ebp - 0x624]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x878], eax
cmp eax, 0xffffffff
je 0x1000474a
inc esi
cmp word [ebp - 0x41c], di
je 0x1000471b
lea eax, [ebp - 0x848]
push eax
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jle 0x10004733
lea eax, [ebp - 0x848]
push eax
push 0x105
lea eax, [ebp - 0x41c]
push eax
call fcn.100028a5
lea eax, [ebp - 0x874]
push eax
push dword [ebp - 0x878]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100046f7
cmp esi, dword [ebp + 0x10]
jb 0x100047e0
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 0x87c]
lea eax, [ebp - 0x210]
push 0x10004814
push 0x105
push eax
call fcn.10003cad
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
add esp, 0x14
mov ebx, 0x80
push ebx
lea eax, [ebp - 0x210]
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x210]
push eax
call edi
lea eax, [ebp - 0x210]
push 0x2e
push eax
call dword [sym.imp.msvcrt.dll_wcsrchr]
pop ecx
pop ecx
test eax, eax
je 0x100047e0
xor ecx, ecx
push 0x10004808
mov word [eax], cx
push 0x105
lea eax, [ebp - 0x210]
push eax
call fcn.100028df
push ebx
lea eax, [ebp - 0x210]
push eax
call esi
lea eax, [ebp - 0x210]
push eax
call edi
cmp dword [ebp - 0x878], 0xffffffff
pop edi
pop esi
pop ebx
je 0x100047f8
push dword [ebp - 0x878]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100034be
leave
ret 0xc
Function at 0x1000483b
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x46c
mov eax, dword [0x1000707c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push edi
mov word [ebp - 0x414], ax
mov word [ebp - 6], ax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x414]
push 0x208
push eax
call fcn.10003c71
xor edi, edi
cmp eax, edi
jl 0x1000492c
push 0x40
lea eax, [ebp - 0x468]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push 6
pop eax
mov word [ebp - 0x43c], ax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x46c]
push eax
push edi
push edi
push 8
push edi
push edi
push edi
lea eax, [ebp - 0x414]
push eax
push edi
mov dword [ebp - 0x46c], 0x44
mov dword [ebp - 0x440], 0x81
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10004918
push esi
push 0xffffffffffffffff
push dword [ebp - 0x428]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 0x428]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x428]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x424]
call esi
mov eax, dword [ebp - 0x418]
pop esi
jmp 0x1000491e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x1000492c
and eax, 0xffff
or eax, 0x80070000
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.100034be
leave
ret
Function at 0x10005639
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xf8
mov eax, dword [0x1000707c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0xf4]
push eax
push 0
push 0
push ebx
push edi
mov dword [ebp - 0xf8], 0xf0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100056ad
cmp dword [ebp - 0xf8], 2
jb 0x100056de
mov eax, dword [ebp - 0xf4]
and eax, 0xffdf
cmp eax, 0x4e
je 0x100056a8
cmp eax, 0x59
jne 0x100056de
mov dword [esi], 1
jmp 0x100056de
and dword [esi], 0
jmp 0x100056de
mov eax, dword [esi]
neg eax
sbb eax, eax
and eax, 0xb
add eax, 0x4e
mov word [ebp - 0xf4], ax
xor eax, eax
push 4
mov word [ebp - 0xf2], ax
lea eax, [ebp - 0xf4]
push eax
push 1
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100034be
leave
ret 0xc

Function at 0x1000c2f1
Capabilities:
Encode data using xor

Disassembly:
call 0x1000c26a
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x1000c29a
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x1000c2b6
xor edx, 0
jmp 0x1000c2c1
xor edx, edx
jmp 0x1000c2d8
jmp 0x1000c2e4
xor eax, eax
push 0x8427d7c0
call 0x1000c2f1
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1000c32d
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x1000c306
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1000c344
add eax, 0
jno 0x1000c349
add esi, 0
ret 0x10
Function at 0x1000d0b2
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x1000d0d4
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x1000d276
cmp edi, dword [ebp + 0x10]
jb 0x1000d276
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.1000cb9e
inc edi
jmp 0x1000d15d
jmp 0x1000d16a
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1000cb9e
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1000cb9e
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x1000d1be
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x1000d1a2
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1000d1ec
add dword [eax], 0x39
jle 0x1000d1c8
sub al, 0xf5
mov ch, al
call fcn.1000d201
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x1000eed9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x1000eeef
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x1000ef00
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1000ef41
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx
Function at 0x100112ad
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x100111f6
add ebx, 0
push ecx
call 0x1001120b
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0xa3a319
sub ebx, dword [0xa59b58]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0xa59b48
call fcn.1000ccd5
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1000c1e3
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x10011369
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x10011369
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x10011320
mov eax, 1
lock xchg dword [0xa59b54], eax
push 0x3dd1fc71
call 0x100112ad
push esi
add esp, 8
cmp eax, 0
jne 0x10011296
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x100112bc
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x100112d1
cmp ecx, edx
cmp eax, 0
je 0x100112f6
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x100112e0
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1001130f
dec eax
loope 0x10011312
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0xa59b54], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x10011346
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x1001135b
jmp 0x10011366
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x10011254
Function at 0x100183ce
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x100186a4
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0xa467cc
add esp, 0x2e
sub esp, 4
mov dword [esp], 0xa3d792
push 0xffffffffffffffff
call fcn.1000f5ce
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x10018438
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.10018450
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x10018698
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x1001866c
Function at 0x10027e9e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10027ec0
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10027ec0
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10027ec0
ret
cmp word [ebx + 4], 0x14c
jne 0x10027ec0
test word [ebx + 0x16], 2
je 0x10027ec0
test word [ebx + 0x16], 0x100
je 0x10027ec0
cmp word [ebx + 0x18], 0x10b
jne 0x10027ec0
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10027ec0
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10027f4c
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10027ee0
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1000ee2b
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10027ec0
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x10027f4c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10027ec0
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10027ec0
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10027ec0
ret
cmp word [ebx + 4], 0x14c
jne 0x10027ec0
test word [ebx + 0x16], 2
je 0x10027ec0
test word [ebx + 0x16], 0x100
je 0x10027ec0
cmp word [ebx + 0x18], 0x10b
jne 0x10027ec0
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10027ec0
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10027f4c
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10027ee0
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1000ee2b
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10027ec0
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x10028003
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1002805c
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10028003
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10028012
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1042dcb5
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x10028063
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1000eed9
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10028102
add edi, 4
add eax, 2
dec ecx
jne 0x10028048
call 0x100280af
loope 0x100280a5
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100280ff
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x10028110
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x100280c3
cmp eax, ecx
ja 0x100280c3
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1002814d
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x10028143
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1000f3b8
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x10028012
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1002805c
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10028003
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10028012
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1042dcb5
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x10028063
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1000eed9
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10028102
add edi, 4
add eax, 2
dec ecx
jne 0x10028048
call 0x100280af
loope 0x100280a5
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100280ff
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x10028110
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x100280c3
cmp eax, ecx
ja 0x100280c3
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1002814d
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x10028143
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1000f3b8
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x9e89d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
je 0x9e8a1c
mov cl, byte [ebx + esi]
mov dl, cl
mov al, cl
shr dl, 1
and al, 0xfe
not dl
movzx eax, al
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
or cl, 1
test dl, 2
movzx ecx, cl
cmove ecx, eax
mov byte [ebx + esi], cl
inc esi
cmp esi, edi
jb 0x9e89e2
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x9e8a80
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x9e8ad2
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x9e8ad8
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esi], 0
pop edi
xor eax, eax
pop esi
pop ebp
ret
pop edi
mov eax, 1
pop esi
pop ebp
ret

Function at 0xa00fc5
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a00c85

Function at 0xa05dbf
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a05c3e

Function at 0xa0b370
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0xa0b39d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0xa0b39d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x432006
Capabilities:
Encode data using xor

Disassembly:
call 0x43200c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x68130307
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x4d2d4fb5
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x401340
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x34
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
test byte [section..data], 8
jne 0x401420
mov dword [esp + 0x10], 0
lea edi, [ebp - 0x10]
mov dword [esp + 8], 0
lea esi, [ebp - 0x14]
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], esi
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov ebx, dword [ebp - 0x18]
mov dword [esp], ebx
mov ebx, dword [sym.imp.advapi32.dll_RegQueryValueExW]
call ebx
sub esp, 0x18
test eax, eax
jne 0x401470
mov ecx, dword [ebp - 0x10]
add ecx, 4
mov edx, ecx
mov dword [ebp - 0x28], ecx
mov dword [esp + 8], edx
mov ecx, dword fs:[0x18]
mov dword [esp + 4], 0
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x24], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [ebp - 0x20], eax
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call ebx
mov edx, dword [ebp - 0x20]
sub esp, 0x18
test eax, eax
mov ecx, dword [ebp - 0x24]
jne 0x401450
mov eax, dword [ebp - 0x28]
and eax, 0xfffffffe
mov dword [edx + eax - 4], 0
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], 0x404017
mov dword [esp + 8], str.GetRegValue
mov dword [esp + 4], 0x403000
mov dword [esp], 3
call fcn.004012f0
jmp 0x40135c
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
nop
xor edx, edx
jmp 0x40140e
Function at 0x402be0
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call 0x402c50
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.00401480
mov dword [esp], eax
call sub.ucrtbase.dll_exit
nop
nop
nop
jmp dword [sym.imp.ucrtbase.dll___p___argc]

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x432030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219