joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4fb5fb2
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 0x4fb5fc8
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 0x4fb5fd9
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.04fb601a
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 0x4fb8386
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 0x4fb82cf
add ebx, 0
push ecx
call 0x4fb82e4
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, 0x7146a1d9
sub ebx, dword [0x71489a18]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x71489a08
call fcn.04fb3dae
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.04fb32bc
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x4fb8442
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x4fb8442
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 0x4fb83f9
mov eax, 1
lock xchg dword [0x71489a14], eax
push 0x3dd1fc71
call 0x4fb8386
push esi
add esp, 8
cmp eax, 0
jne 0x4fb836f
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x4fb8395
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x4fb83aa
cmp ecx, edx
cmp eax, 0
je 0x4fb83cf
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 0x4fb83b9
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.04fb83e8
dec eax
loope 0x4fb83eb
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x71489a14], 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 0x4fb841f
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x4fb8434
jmp 0x4fb843f
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x4fb832d
Function at 0x4fbf4a7
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 0x4fbf77d
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x7147668c
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x7146d652
push 0xffffffffffffffff
call fcn.04fb66a7
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 0x4fbf511
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.04fbf529
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 0x4fbf771
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x4fbf745
Function at 0x4fcef77
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 0x4fcef99
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x4fcef99
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x4fcef99
ret
cmp word [ebx + 4], 0x14c
jne 0x4fcef99
test word [ebx + 0x16], 2
je 0x4fcef99
test word [ebx + 0x16], 0x100
je 0x4fcef99
cmp word [ebx + 0x18], 0x10b
jne 0x4fcef99
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x4fcef99
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x4fcf025
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x4fcefb9
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.04fb5f04
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x4fcef99
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 0x4fcf025
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 0x4fcef99
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x4fcef99
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x4fcef99
ret
cmp word [ebx + 4], 0x14c
jne 0x4fcef99
test word [ebx + 0x16], 2
je 0x4fcef99
test word [ebx + 0x16], 0x100
je 0x4fcef99
cmp word [ebx + 0x18], 0x10b
jne 0x4fcef99
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x4fcef99
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x4fcf025
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x4fcefb9
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.04fb5f04
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x4fcef99
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 0x4fcf0dc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x4fcf135
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x4fcf0dc
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x4fcf0eb
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 0x53d4d8e
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 0x4fcf13c
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.04fb5fb2
cmp eax, dword [ebp + 0xc]
pop eax
je 0x4fcf1db
add edi, 4
add eax, 2
dec ecx
jne 0x4fcf121
call 0x4fcf188
loope 0x4fcf17e
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x4fcf1d8
mov dh, pe_nt_image_headers32
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 0x4fcf1e9
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 0x4fcf19c
cmp eax, ecx
ja 0x4fcf19c
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x4fcf226
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x4fcf21c
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.04fb6491
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x4fcf0eb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x4fcf135
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x4fcf0dc
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x4fcf0eb
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 0x53d4d8e
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 0x4fcf13c
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.04fb5fb2
cmp eax, dword [ebp + 0xc]
pop eax
je 0x4fcf1db
add edi, 4
add eax, 2
dec ecx
jne 0x4fcf121
call 0x4fcf188
loope 0x4fcf17e
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x4fcf1d8
mov dh, pe_nt_image_headers32
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 0x4fcf1e9
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 0x4fcf19c
cmp eax, ecx
ja 0x4fcf19c
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x4fcf226
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x4fcf21c
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.04fb6491
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x407aa0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d0
mov eax, dword [0x56bf00]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x407b3d
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x2d0], 0x40010003
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x407b36
mov eax, dword [ebp - 0x2d0]
push ebx
mov bl, 1
test eax, eax
js 0x407b07
push dword [ebp - 0x218]
mov ecx, edi
call fcn.004033b0
test al, al
jne 0x407b35
mov eax, dword [ebp - 0x2d0]
test eax, 0x18000000
setne cl
bt eax, 0x1f
setb al
test al, cl
mov ecx, 0
movzx eax, bl
cmove ecx, eax
test cl, cl
je 0x407b35
push edi
lea eax, [ebp - 0x2d0]
push eax
call dword [0x56db94]
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00434e13
mov esp, ebp
pop ebp
ret 8

Function at 0x407d60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x407d81
xor al, al
pop ebp
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ebp
ret 8

Function at 0x407d90
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push 4
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
jne 0x407db5
xor al, al
pop esi
pop ebp
ret 8
push 2
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
pop ebp
ret 8
Function at 0x4095f0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [0x56bf00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xa8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0x40
push ecx
push eax
mov dword [ebp - 0xbc], edi
call fcn.00409330
push 0x11
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xa8]
push eax
call sub.KERNEL32.dll_GetEnvironmentVariableW
mov dword [ebp - 0xb8], eax
test eax, eax
je 0x40974b
cmp eax, 0x11
jae 0x40974b
xorps xmm0, xmm0
xor ebx, ebx
movlpd qword [ebp - 0xb0], xmm0
mov esi, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xb0]
test eax, eax
je 0x409731
nop dword [eax + eax]
cmp byte [ebp + 0x10], 0
movzx edi, word [ebp + ebx*2 - 0x28]
lea eax, [edi - 0x30]
movzx eax, ax
je 0x4096ab
cmp eax, 9
ja 0x40974b
mov eax, ecx
mov edx, esi
shld edx, eax, 2
shl eax, 2
add ecx, eax
mov eax, edi
adc esi, edx
cdq
shld esi, ecx, 1
add ecx, ecx
add ecx, eax
adc esi, edx
add ecx, 0xffffffd0
jmp 0x40971b
shld esi, ecx, 4
shl ecx, 4
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0xac], esi
cmp eax, 9
ja 0x4096db
mov eax, edi
cdq
mov ecx, eax
mov esi, edx
add ecx, dword [ebp - 0xb4]
adc esi, dword [ebp - 0xac]
add ecx, 0xffffffd0
jmp 0x40971b
lea eax, [edi - 0x61]
cmp ax, 5
ja 0x4096fc
mov eax, edi
cdq
mov ecx, eax
mov esi, edx
add ecx, dword [ebp - 0xb4]
adc esi, dword [ebp - 0xac]
add ecx, 0xffffffa9
jmp 0x40971b
lea eax, [edi - 0x41]
cmp ax, 5
ja 0x40974b
mov eax, edi
cdq
mov ecx, eax
mov esi, edx
add ecx, dword [ebp - 0xb4]
adc esi, dword [ebp - 0xac]
add ecx, 0xffffffc9
adc esi, 0xffffffff
inc ebx
cmp ebx, dword [ebp - 0xb8]
jb 0x409670
mov edi, dword [ebp - 0xbc]
mov dword [edi + 4], esi
mov al, 1
mov dword [edi], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434e13
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00434e13
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4097e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + 0xc]
mov eax, dword [edx + 0x14]
add edx, 0x14
cmp dword [eax + 0x10], ecx
je 0x409816
test ecx, ecx
je 0x409816
mov eax, dword [eax]
cmp eax, edx
jne 0x4097f8
mov eax, dword [ebp + 8]
mov dword [eax], 0
xor eax, eax
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x20]
mov dword [ecx], edx
movzx eax, word [eax + 0x1c]
shr eax, 1
pop ebp
ret 8
Function at 0x435bd5
Capabilities:
Parse pe header

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

Function at 0x438320
Capabilities:
Parse pe header

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

Function at 0x439e80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x10
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
call fcn.004017eb
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x439ea4
call fcn.0047e7d0
mov ecx, eax
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
mov edi, dword [ecx + 0x10]
mov ebx, edx
shl ebx, 9
mov dword [ebp - 0x18], ebx
xor esi, eax
xor edi, edx
lea ebx, [edx + edx*4]
rol ebx, 7
lea ebx, [ebx + ebx*8]
xor edx, esi
xor eax, edi
xor esi, dword [ebp - 0x18]
rol edi, 0xb
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], esi
mov dword [ecx + 0x10], edi
mov eax, 0x2328
mul ebx
cmp eax, 0x2328
jae 0x439f35
cmp eax, 0x14b0
jae 0x439f35
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
mov edi, dword [ecx + 0x10]
mov ebx, edx
shl ebx, 9
mov dword [ebp - 0x1c], ebx
xor esi, eax
xor edi, edx
lea ebx, [edx + edx*4]
rol ebx, 7
lea ebx, [ebx + ebx*8]
xor edx, esi
xor eax, edi
xor esi, dword [ebp - 0x1c]
rol edi, 0xb
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], esi
mov dword [ecx + 0x10], edi
mov eax, 0x2328
mul ebx
cmp eax, 0x14b0
jb 0x439ef0
lea ecx, [edx + 0x3e8]
call fcn.004585c0
mov ecx, 0x4d7a88
cmp dword [ecx - 4], 0
jne 0x439fe8
mov esi, dword [0x56b40c]
mov ecx, dword [esi + 4]
mov edi, ecx
mov ebx, ecx
mov edx, 0x4d4d48
cmp dword [ecx], ecx
call fcn.00480d80
mov edx, eax
mov ecx, ebx
cmp dword [ecx], ecx
call fcn.00480eb0
mov edx, eax
mov ecx, edi
cmp dword [ecx], ecx
call fcn.00480d80
mov edi, eax
call fcn.0046c310
mov ecx, eax
mov edx, 0x4d63c0
call fcn.004460d0
mov ebx, eax
mov ecx, dword [esi + 4]
mov edx, edi
cmp dword [ecx], ecx
call fcn.00480eb0
mov esi, eax
call fcn.0046b5d0
push eax
mov ecx, ebx
mov edx, esi
call fcn.0046b680
mov ecx, 0x4d9310
call fcn.00401de0
mov esi, eax
call fcn.0046c310
mov ecx, eax
mov edx, 0x4d63c0
call fcn.004460d0
lea edx, [esi + 4]
call fcn.0040206a
mov byte [esi + 0x47], 1
mov ecx, esi
call fcn.0043e020
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.004013fa
jmp 0x439f4f
Function at 0x43a360
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x20
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov esi, edx
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x10]
cmp dword [ecx], ecx
call fcn.00474700
test esi, esi
je 0x43a391
add esi, 8
jmp 0x43a393
xor esi, esi
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp - 0x14]
push dword [ebp + 8]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push esi
push dword [ecx + 4]
lea ecx, [ebp - 0x2c]
mov edx, 0x18
call fcn.00402e00
call sub.ADVAPI32.dll_RegQueryValueExW
mov esi, eax
lea ecx, [ebp - 0x2c]
call fcn.00402e31
xor ecx, ecx
mov dword [ebp - 0x18], ecx
cmp byte [ebp - 0x10], 0
je 0x43a3dc
mov ecx, dword [ebp - 0x14]
cmp byte [ecx], cl
xor edx, edx
call fcn.00474740
mov eax, esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10

Function at 0x43ba00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x40
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
cmp byte [ebp + 0x1c], 0
setne bl
movzx ebx, bl
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x48], eax
cmp dword [ebp + 0x10], 0
je 0x43ba47
mov ebx, dword [ebp + 0x10]
add ebx, 8
jmp 0x43ba49
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov edi, dword [ebp + 0x20]
mov dword [ebp - 0x24], edi
mov esi, dword [ebp + 0x24]
mov dword [ebp - 0x28], esi
test ecx, ecx
je 0x43ba61
add ecx, 8
jmp 0x43ba63
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x4c], ecx
push 0
call sub.KERNEL32.dll_SetLastError
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x18]
push dword [ebp - 0x14]
push edi
push esi
push dword [ebp - 0x10]
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x40]
mov edx, 0x28
call fcn.00402e00
call sub.KERNEL32.dll_CreateProcessW
mov esi, eax
lea ecx, [ebp - 0x40]
call fcn.00402e31
call sub.KERNEL32.dll_GetLastError
mov edi, eax
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
call fcn.004017cd
mov dword [eax + 4], edi
test esi, esi
setne al
movzx eax, al
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x20
Function at 0x440a80
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
xor eax, eax
mov dword [ebp - 0x18], eax
mov ecx, 0x4d7b4c
cmp dword [ecx - 4], 0
jne 0x440b8d
mov esi, dword [0x56b564]
mov dword [ebp - 0x38], esi
mov ecx, dword [esi + 4]
mov edx, 0x100
cmp dword [ecx], ecx
call fcn.0049f6c0
mov edi, eax
jmp 0x440ae0
mov edi, dword [ebp - 0x34]
mov esi, dword [edi + 4]
add esi, esi
mov ebx, dword [ebp - 0x38]
mov ecx, dword [ebx + 4]
push 0
mov edx, edi
cmp dword [ecx], ecx
call fcn.0049f8a0
mov ecx, dword [ebx + 4]
mov edx, esi
cmp dword [ecx], ecx
call fcn.0049f6c0
mov edi, eax
mov ebx, dword [edi + 4]
shl ebx, 2
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x34], edi
lea edx, [edi + 8]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x30], edx
push 0
call sub.KERNEL32.dll_SetLastError
push dword [ebp - 0x14]
push ebx
push dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
mov edx, 0xc
call fcn.00402e00
call sub.KERNEL32.dll_K32EnumProcesses
mov esi, eax
lea ecx, [ebp - 0x2c]
call fcn.00402e31
call sub.KERNEL32.dll_GetLastError
mov edi, eax
xor eax, eax
mov dword [ebp - 0x18], eax
call fcn.004017cd
mov dword [eax + 4], edi
test esi, esi
je 0x440b97
cmp dword [ebp - 0x10], ebx
je 0x440ab9
mov edi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x10]
sar edx, 0x1f
and edx, 3
add edx, dword [ebp - 0x10]
sar edx, 2
mov ecx, 0x4ed1c4
call fcn.00401f40
mov esi, eax
push dword [esi + 4]
mov ecx, edi
mov edx, esi
call fcn.00447bc0
mov ebx, dword [ebp - 0x38]
mov ecx, dword [ebx + 4]
push 0
mov edx, edi
cmp dword [ecx], ecx
call fcn.0049f8a0
mov eax, esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.0040169d
jmp 0x440a9d
mov ecx, 0x4db20c
call fcn.00401de0
mov esi, eax
mov ecx, esi
call fcn.00454960
mov ecx, esi
call fcn.0040239b
int3
Function at 0x441e00
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x14
push 2
push edx
push ecx
push 0
lea ecx, [ebp - 0x20]
mov edx, 0x10
call fcn.00402e00
call sub.bcrypt.dll_BCryptGenRandom
mov esi, eax
lea ecx, [ebp - 0x20]
call fcn.00402e31
test esi, esi
jne 0x441e37
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp esi, 0xc0000017
je 0x441e5a
mov ecx, 0x4da318
call fcn.00401de0
mov esi, eax
mov ecx, esi
call fcn.0044bca0
mov ecx, esi
call fcn.0040239b
int3
mov ecx, 0x4da744
call fcn.00401de0
mov esi, eax
mov ecx, esi
call fcn.0044eb80
mov ecx, esi
call fcn.0040239b
int3

Function at 0x442220
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0xc
mov esi, ecx
mov eax, dword [esi + 0x28]
cmp eax, 0xffffffff
je 0x442237
lea esp, [ebp - 4]
pop esi
pop ebp
ret
lea edx, [ebp - 8]
push edx
push 4
push 0x10
lea edx, [ebp - 0x10]
mov ecx, esi
call fcn.0047cfa0
mov ecx, eax
test ecx, ecx
jne 0x4422b7
xor eax, eax
mov ecx, 0x40000000
test byte [ebp - 8], 0x30
cmove eax, ecx
mov ecx, eax
or ecx, 0x80000000
test byte [ebp - 8], 2
cmovne eax, ecx
mov ecx, eax
or ecx, 0x10000000
test dword [ebp - 8], 0x800
cmovne eax, ecx
mov ecx, eax
or ecx, 0x8000000
test byte [ebp - 8], 4
cmovne eax, ecx
mov ecx, eax
or ecx, 0x4000000
test dword [ebp - 8], 0x1000
cmovne eax, ecx
mov ecx, eax
or ecx, 0x20000000
test byte [ebp - 8], 8
cmovne eax, ecx
mov dword [esi + 0x28], eax
lea esp, [ebp - 4]
pop esi
pop ebp
ret
call fcn.0047cf60
mov ecx, eax
push 0
mov edx, 0x4c464c
call fcn.0046deb0
mov ecx, eax
call fcn.0040239b
int3