joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bca90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x404de1
mov eax, dword fs:[0]
add byte [eax], al
add byte [eax + 0x51], dl

Function at 0x4bca9d
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
add byte [eax], al
add byte [eax + 0x51], dl
push ebx
push esi
push edi
mov eax, dword [0x408460]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor edi, edi
mov dword [esi + 0x24], edi
mov dword [ebp - 4], edi
mov dword [esi + 0x2c], edi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov dword [esi + 4], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esi], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x14], ecx
mov cl, byte [ebp + 0x28]
mov dword [esi + 8], edx
mov edx, dword [ebp + 0x20]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x24]
mov byte [ebp - 4], 1
mov dword [esi + 0xc], ebx
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], eax
mov byte [esi + 0x20], cl
mov dword [esi + 0x30], edi
test cl, cl
jne 0x4bcb63
mov dword [ebp + 0x28], edi
test eax, eax
je 0x4bcb30
lea ecx, [edx + 0xc]
mov edx, eax
mov eax, dword [ecx]
cmp eax, edi
jbe 0x4bcb1a
mov edi, eax
add ecx, 0x10
dec edx
jne 0x4bcb12
mov dword [ebp + 0x28], edi
mov eax, 0x406784
cmp edi, 0x100000
ja 0x4bcb33
lea eax, [ebp + 0x28]
mov eax, dword [eax]
mov dword [esi + 0x28], eax
add eax, 0xa
push eax
call fcn.004bd230
mov edi, eax
mov eax, dword [esi + 0x24]
add esp, 4
cmp eax, edi
je 0x4bcb59
push eax
call fcn.004bd2c6
add esp, 4
mov dword [esi + 0x24], edi
push 0
call fcn.004bd2c6
add esp, 4
xor ecx, ecx
mov eax, ebx
mov edx, 0x44
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.004bd230
add esp, 4
mov dword [ebp + 0x28], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x4bcbaf
push 0x402640
push 0x402600
push ebx
lea edi, [eax + 4]
push 0x44
push edi
mov dword [eax], ebx
call fcn.004bd38d
jmp 0x4bcbb1
xor edi, edi
mov eax, dword [esi + 0x2c]
mov byte [ebp - 4], 1
cmp eax, edi
je 0x4bcbe0
test eax, eax
je 0x4bcbdd
mov ecx, dword [eax - 4]
lea ebx, [eax - 4]
push 0x402640
push ecx
push 0x44
push eax
call fcn.004bd32a
push ebx
call fcn.004bd2c6
add esp, 4
mov dword [esi + 0x2c], edi
mov ecx, esi
call fcn.004bc6d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
Function at 0x433003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..reloc
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
nop
nop
mov ebx, 0x40de38
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x53123ad4
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..rdata
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x38de6276
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
mov ecx, 0x2d332096
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x3cf737ae
nop
nop
nop
test eax, eax
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
popal
nop
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x407008
Capabilities:
Parse pe header

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

Function at 0x411601
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.004068a0
mov eax, dword [0x4314c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00419df5
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x411643
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41179f
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.004068f0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x433148]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041b000
mov ecx, dword [esi*4 + 0x433148]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x411798
cmp eax, dword [edi + ecx + 0x24]
jne 0x411798
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x411798
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041b000
add esp, 0x14
test edx, edx
jl 0x411798
jg 0x41170e
test eax, eax
jb 0x411798
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x411798
jl 0x411728
cmp dword [ebp - 0x1008], eax
ja 0x411798
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x411746
test ebx, ebx
je 0x41177f
cmp ecx, edi
jae 0x41177f
mov al, byte [ecx]
cmp al, 0xd
jne 0x411760
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41176c
cmp byte [ecx + 1], 0xa
jne 0x41176c
inc ecx
jmp 0x41176c
movzx eax, al
movsx eax, byte [eax + 0x431790]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x411746
cmp edx, ebx
jne 0x411746
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41179d
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040688c
leave
ret

Function at 0x4179be
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42aa88
push 0x42aa80
push str.FlsAlloc
push 0x1e
call fcn.00417808
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4179f2
push dword [ebp + 8]
mov ecx, esi
call dword [0x426154]
call esi
jmp 0x4179f8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x417a3c
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42aa98
push 0x42aa90
push str.FlsGetValue
push 0x20
call fcn.00417808
mov esi, eax
add esp, 0x10
test esi, esi
je 0x417a73
push dword [ebp + 8]
mov ecx, esi
call dword [0x426154]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x418a5e
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004189e0

Function at 0x41a12a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x433148]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41a16a
cmp byte [ebx], 0xa
jne 0x41a16a
or byte [eax + edi + 0x28], 4
jmp 0x41a16f
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41a26d
mov al, byte [edx]
cmp al, 0x1a
je 0x41a24f
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41a19e
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41a1c3
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41a1cd
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41a180
jmp 0x41a26d
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41a24a
cmp dword [ebp - 0xc], 0
je 0x41a24a
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x433148]
test byte [eax + edi + 0x28], 0x48
je 0x41a224
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41a20f
mov byte [esi], dl
jmp 0x41a220
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x433148]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41a26d
cmp byte [ebp - 1], 0xa
jne 0x41a233
cmp esi, ebx
jne 0x41a233
mov byte [esi], 0xa
jmp 0x41a26c
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041b01e
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41a26d
mov byte [esi], 0xd
jmp 0x41a26c
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x433148]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41a269
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41a26d
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41a276
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x433148]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41a2b9
cmp word [esi], dx
jne 0x41a2b9
or byte [edi + eax + 0x28], 4
jmp 0x41a2be
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41a411
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41a3f1
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41a300
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41a336
cmp eax, edx
jae 0x41a342
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41a2d8
jmp 0x41a411
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41a3ed
cmp dword [ebp - 0x14], 0
je 0x41a3ed
mov eax, dword [ebx*4 + 0x433148]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41a3c5
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41a38e
mov word [esi], cx
jmp 0x41a3c1
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x433148]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x433148]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x433148]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41a411
pop ebx
cmp word [ebp - 4], bx
jne 0x41a3d6
cmp esi, dword [ebp + 0xc]
jne 0x41a3d6
mov word [esi], bx
jmp 0x41a40e
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041b01e
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41a411
push 0xd
jmp 0x41a40a
mov ecx, dword [ebx*4 + 0x433148]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41a408
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41a411
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41ae01
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041aaa3

Function at 0x41ae0c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041ac32
Function at 0x41da6a
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x41db07
push ebx
push esi
call fcn.0041da33
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0041819f
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41dab4
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41db06
push edi
push eax
call fcn.00418151
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x41dad4
call fcn.004173cb
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41db05
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041819f
add esp, 0x20
test eax, eax
jne 0x41daf3
push edi
call fcn.004173cb
jmp 0x41dafb
push ebx
call fcn.004173cb
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x424590
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4245bd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4245bd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x7ddc4c9d
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e3d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0xd2f2a7d
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
popal
nop
nop
jmp loc.00401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x4010b4
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x417004]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x234], eax
xor ebx, ebx
lea eax, [ebp - 0x228]
mov dword [ebp - 0x210], ebx
push eax
push 0x20119
push ebx
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40123f
push ebx
push ebx
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x220]
push eax
push ebx
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x210]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x40123f
xor esi, esi
mov dword [ebp - 0x230], ebx
test eax, eax
je 0x40122f
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0xff
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x40121c
lea eax, [ebp - 0x22c]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40121c
push dword [ebp - 0x234]
push ecx
mov ecx, dword [ebp - 0x22c]
call fcn.00402ac8
pop ecx
pop ecx
test eax, eax
jne 0x401212
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x24c]
call fcn.004012cc
push ecx
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x25c]
call fcn.0040331a
mov ecx, eax
call fcn.00401090
lea ecx, [ebp - 0x24c]
mov bl, al
call fcn.004016f9
mov eax, dword [ebp - 0x230]
xor ecx, ecx
inc ecx
movzx eax, al
test bl, bl
cmove eax, ecx
mov dword [ebp - 0x230], eax
jmp 0x401218
mov eax, dword [ebp - 0x230]
test al, al
jne 0x401229
inc esi
cmp esi, dword [ebp - 0x210]
jb 0x40114e
mov ebx, dword [ebp - 0x230]
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
jmp 0x401241
xor al, al
mov ecx, dword [ebp - 8]
pop esi
xor ecx, ebp
pop ebx
call fcn.0040354f
leave
ret

Function at 0x401729
Capabilities:
Terminate process

Disassembly:
push 0x94
mov eax, 0x40f26d
call fcn.0040eba9
mov esi, edx
push ecx
lea ecx, [ebp - 0xa0]
call fcn.004021ee
and dword [ebp - 4], 0
lea ecx, [ebp - 0x88]
mov edx, eax
mov dword [esp], 0x414e0c
call fcn.004022b5
pop ecx
push dword [ebp + 0xc]
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.004022dd
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
mov edx, eax
mov dword [esp], 0x414dfc
call fcn.004022b5
pop ecx
push dword [ebp + 8]
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.004022dd
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
mov edx, eax
mov dword [esp], 0x414df8
call fcn.004022b5
pop ecx
mov edx, esi
mov byte [ebp - 4], 5
mov ecx, eax
call fcn.00402c79
lea ecx, [ebp - 0x28]
mov bl, al
call fcn.004016f9
lea ecx, [ebp - 0x40]
call fcn.004016f9
lea ecx, [ebp - 0x58]
call fcn.004016f9
lea ecx, [ebp - 0x70]
call fcn.004016f9
lea ecx, [ebp - 0x88]
call fcn.004016f9
lea ecx, [ebp - 0xa0]
call fcn.004016f9
test bl, bl
jne 0x4017fc
call fcn.0040eb83
ret
push 0
call fcn.00406ff9
int3
Function at 0x40187e
Capabilities:
Enumerate files on windows

Disassembly:
push 0x2c4
mov eax, 0x40f2b4
call fcn.0040ebdd
mov ebx, edx
mov dword [ebp - 0x280], ecx
mov eax, dword [ebp + 8]
mov edx, ecx
mov dword [ebp - 0x288], eax
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp + 0xc]
push 0x414e18
mov dword [ebp - 0x284], eax
call fcn.00402253
pop ecx
and dword [ebp - 4], 0
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402abc
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x401995
push 0x414e1c
lea ecx, [ebp - 0x2d0]
call fcn.004012cc
mov esi, eax
mov edx, dword [ebp - 0x280]
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 1
call fcn.00402253
pop ecx
push esi
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2a0]
call fcn.00402305
pop ecx
lea ecx, [ebp - 0x2b8]
call fcn.004016f9
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 5
call fcn.004016f9
lea ecx, [ebp - 0x2a0]
call fcn.00402abc
mov ecx, eax
call fcn.00402d0a
test al, al
je 0x401969
push dword [ebp - 0x284]
mov edx, ebx
lea ecx, [ebp - 0x2a0]
push dword [ebp - 0x288]
call fcn.00401804
pop ecx
pop ecx
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 0
call fcn.004016f9
lea eax, [ebp - 0x27c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4018dc
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x2c]
call fcn.004016f9
call fcn.0040eb98
ret