joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f4ea
Capabilities:
Read file on windows

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

Function at 0x41f8e4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040cc70
mov eax, dword [0x437040]
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.0041cd94
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41f926
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41fa82
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0042a6a0
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 + 0x438a78]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.004208db
mov ecx, dword [esi*4 + 0x438a78]
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 0x41fa7b
cmp eax, dword [edi + ecx + 0x24]
jne 0x41fa7b
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 0x41fa7b
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004208db
add esp, 0x14
test edx, edx
jl 0x41fa7b
jg 0x41f9f1
test eax, eax
jb 0x41fa7b
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41fa7b
jl 0x41fa0b
cmp dword [ebp - 0x1008], eax
ja 0x41fa7b
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41fa29
test ebx, ebx
je 0x41fa62
cmp ecx, edi
jae 0x41fa62
mov al, byte [ecx]
cmp al, 0xd
jne 0x41fa43
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41fa4f
cmp byte [ecx + 1], 0xa
jne 0x41fa4f
inc ecx
jmp 0x41fa4f
movzx eax, al
movsx eax, byte [eax + 0x437300]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41fa29
cmp edx, ebx
jne 0x41fa29
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41fa80
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040be32
leave
ret
Function at 0x41fd79
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 + 0x438a78]
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 0x41fdb9
cmp byte [ebx], 0xa
jne 0x41fdb9
or byte [eax + edi + 0x28], 4
jmp 0x41fdbe
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41febc
mov al, byte [edx]
cmp al, 0x1a
je 0x41fe9e
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41fded
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41fe12
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41fe1c
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 0x41fdcf
jmp 0x41febc
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 0x41fe99
cmp dword [ebp - 0xc], 0
je 0x41fe99
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x438a78]
test byte [eax + edi + 0x28], 0x48
je 0x41fe73
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41fe5e
mov byte [esi], dl
jmp 0x41fe6f
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x438a78]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41febc
cmp byte [ebp - 1], 0xa
jne 0x41fe82
cmp esi, ebx
jne 0x41fe82
mov byte [esi], 0xa
jmp 0x41febb
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004208f9
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41febc
mov byte [esi], 0xd
jmp 0x41febb
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x438a78]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41feb8
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41febc
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41fec5
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 + 0x438a78]
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 0x41ff08
cmp word [esi], dx
jne 0x41ff08
or byte [edi + eax + 0x28], 4
jmp 0x41ff0d
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 0x420060
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 0x420040
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41ff4f
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41ff85
cmp eax, edx
jae 0x41ff91
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 0x41ff27
jmp 0x420060
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 0x42003c
cmp dword [ebp - 0x14], 0
je 0x42003c
mov eax, dword [ebx*4 + 0x438a78]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x420014
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41ffdd
mov word [esi], cx
jmp 0x420010
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x438a78]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x438a78]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x438a78]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x420060
pop ebx
cmp word [ebp - 4], bx
jne 0x420025
cmp esi, dword [ebp + 0xc]
jne 0x420025
mov word [esi], bx
jmp 0x42005d
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004208f9
add esp, 0x10
cmp word [ebp - 4], bx
je 0x420060
push 0xd
jmp 0x420059
mov ecx, dword [ebx*4 + 0x438a78]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x420057
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x420060
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 0x422c6e
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 0x422d0b
push ebx
push esi
call fcn.00422c37
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.004218bc
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x422cb8
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x422d0a
push edi
push eax
call fcn.0041bf5f
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x422cd8
call fcn.0041bf25
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x422d09
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004218bc
add esp, 0x20
test eax, eax
jne 0x422cf7
push edi
call fcn.0041bf25
jmp 0x422cff
push ebx
call fcn.0041bf25
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 0x42a4a0
Capabilities:
Parse pe header

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

Function at 0x414de3
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
xor dword [esi], ecx
sub ebx, edx
add esi, 4
or ebx, ebx
cmp esi, edi
jne fcn.00414de3
or eax, ebx
or ebx, edx
add ebx, 0x8461e13f
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x661838c8
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x67e446c2
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219

Function at 0x416900
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0041698f
jae 0x41690e
xor ecx, ecx
call fcn.0041698f
jae 0x41693d
xor eax, eax
call fcn.0041698f
jae 0x41694d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0041698f
adc al, al
jae 0x41692f
jne 0x416979
stosb byte es:[edi], al
jmp 0x416911
call fcn.0041699b
sub ecx, ebx
jne 0x416956
call fcn.00416999
jmp 0x416975
lodsb al, byte [esi]
shr eax, 1
je 0x416983
adc ecx, ecx
jmp 0x416972
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.00416999
cmp eax, 0x7d00
jae 0x416972
cmp ah, 5
jae 0x416973
cmp eax, 0x7f
ja 0x416974
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x416911
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x10031ce0
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10031b1e

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0x7e63062d
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x3b931382
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x431072
nop
mov ebx, 0x40915c
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x19d57c9c
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x431060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
je 0x4310d2
nop
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x4d32713f
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
loop 0x4310c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x40115a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x439008]
jne 0x401164
repz ret
jmp fcn.00401f7a

Function at 0x413649
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00409429
and dword [ebp - 4], 0
cmp dword [0x43bd7c], 0
mov ebx, eax
jne 0x4136fa
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4137ab
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4137ab
push eax
call fcn.004093b7
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43bd7c], eax
call esi
push eax
call fcn.004093b7
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43bd80], eax
call esi
push eax
call fcn.004093b7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43bd84], eax
call esi
push eax
call fcn.004093b7
pop ecx
mov dword [0x43bd8c], eax
test eax, eax
je 0x4136fa
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004093b7
pop ecx
mov dword [0x43bd88], eax
mov eax, dword [0x43bd88]
cmp eax, ebx
je 0x413752
cmp dword [0x43bd8c], ebx
je 0x413752
push eax
call fcn.00409432
push dword [0x43bd8c]
mov esi, eax
call fcn.00409432
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x413752
test edi, edi
je 0x413752
call esi
test eax, eax
je 0x413749
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x413749
test byte [ebp - 0xc], 1
jne 0x413752
or dword [ebp + 0x10], 0x200000
jmp 0x41378b
mov eax, dword [0x43bd80]
cmp eax, ebx
je 0x41378b
push eax
call fcn.00409432
pop ecx
test eax, eax
je 0x41378b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41378b
mov eax, dword [0x43bd84]
cmp eax, ebx
je 0x41378b
push eax
call fcn.00409432
pop ecx
test eax, eax
je 0x41378b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43bd7c]
call fcn.00409432
pop ecx
test eax, eax
je 0x4137ab
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4137ad
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42c340
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 8
mov dword [esp], 0x20
add dword [esp], 0x20
mov al, 0x65
mov byte [0x43be69], al
mov byte [0x43be6c], al
mov al, 0x6c
push 0x43be68
mov byte [0x43be68], 0x6b
mov byte [0x43be6a], 0x72
mov byte [0x43be6b], 0x6e
mov byte [0x43be6d], al
mov byte [0x43be6e], 0x33
mov byte [0x43be6f], 0x32
mov byte [0x43be70], 0x2e
mov byte [0x43be71], 0x64
mov byte [0x43be72], al
mov byte [0x43be73], al
mov byte [0x43be74], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [0x43d650]
mov edx, dword [0x43c368]
lea eax, [esp + 4]
push eax
push 0x40
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 8
ret
Function at 0x42c5f0
Capabilities:
Clear file content
Compare security identifiers
Create pipe

Disassembly:
sub esp, 0x424
mov eax, dword [0x439008]
xor eax, esp
mov dword [esp + 0x41c], eax
mov eax, dword [0x43d650]
push ebx
mov ebx, dword [0x43c368]
push edi
mov edi, eax
cmp eax, 0x5dd
jne 0x42c624
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetSystemTimeAdjustment]
mov eax, dword [0x439ff0]
push eax
call fcn.0042c4d0
add esp, 4
cmp dword [0x43d650], 0x2f
jne 0x42c6c5
xor edx, edx
xor ecx, ecx
mov word [esp + 0x12], dx
xor eax, eax
mov word [esp + 0xe], cx
lea edx, [esp + 0x18]
push edx
mov word [esp + 0x10], ax
mov eax, dword [esp + 0x10]
push eax
mov word [esp + 0x18], cx
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputW]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
lea edx, [esp + 0x2c]
push edx
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.Sudeke
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
call fcn.0042c540
cmp dword [0x43d650], 0x568
jne 0x42c6e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x424]
pop edi
pop ebx
xor ecx, esp
call fcn.0040115a
add esp, 0x424
ret
Function at 0x40321f
Capabilities:
Get disk size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, edx
mov word [ebp - 3], 0x5c3a
mov ebx, ecx
mov al, byte [edi]
mov byte [ebp - 4], al
xor eax, eax
push eax
push eax
mov byte [ebp - 1], al
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov eax, dword [ebp - 0xc]
mov ecx, 0x3d08fc00
cmp eax, ecx
jbe 0x403261
mov eax, ecx
cmp eax, dword [0x406960]
jge 0x40326e
push 7
pop eax
jmp 0x4032c2
push esi
mov esi, dword [ebp + 8]
mov ecx, edi
mov edx, esi
call fcn.0040fc53
test eax, eax
jne 0x403283
push 4
jmp 0x4032c0
push esi
mov edx, edi
mov ecx, ebx
call fcn.0040358f
movzx ebx, ax
push 0xd
pop eax
cmp bx, ax
je 0x4032a6
mov edx, esi
mov ecx, edi
call fcn.004032ca
mov ax, bx
jmp 0x4032c1
push 3
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 3
push edi
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov byte [esi], 0x5c
push 0xd
pop eax
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4032ca
Capabilities:
Delete directory
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov esi, ecx
mov dword [ebp - 4], 0x5c3a20
call fcn.00403a60
mov al, byte [esi]
mov byte [ebp - 4], al
lea eax, [ebp - 4]
push eax
call dword [sym.imp.msvcrt.dll__chdir]
pop ecx
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor ebx, ebx
mov edi, ebx
push esi
call dword [sym.imp.msvcrt.dll__rmdir]
pop ecx
test eax, eax
je 0x40331a
inc edi
cmp edi, 0x4b0
jl 0x403305
mov edi, dword [ebp - 8]
push 0x80
push esi
mov byte [edi], bl
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.msvcrt.dll__rmdir]
pop ecx
test eax, eax
je 0x403340
inc ebx
cmp ebx, 0x4b0
jl 0x40332b
mov byte [edi], 0x5c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404345
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x406028]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x110], 0x104
push eax
push 0x20019
xor ebx, ebx
mov esi, 0x401288
push ebx
push esi
mov edi, 0x80000000
mov byte [ebp - 0x108], bl
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4043c8
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
je 0x4043ea
push ecx
push ebx
push ebx
push 0x10
xor edx, edx
push 0xc
inc edx
pop ecx
call fcn.0040fc53
xor eax, eax
cmp dword [0x406724], ebx
je 0x4043d9
mov dword [0x406080], ebx
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404c50
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.msvcrt.dll_atoi]
pop ecx
mov dword [0x406080], eax
call fcn.0040444c
xor eax, eax
jmp 0x4043d8

Function at 0x40444c
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x406028]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, 0x401288
xor ebx, ebx
push edi
mov edx, 0xa0
mov dword [ebp - 0x210], ebx
mov ecx, esi
call fcn.00402127
mov edi, 0x104
cmp eax, edi
jge 0x404562
push esi
mov edx, edi
lea ecx, [ebp - 0x108]
call fcn.00401570
test eax, eax
js 0x404573
lea eax, [ebp - 0x108]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edx, edi
lea ecx, [ebp - 0x108]
call fcn.00402127
lea esi, [ebp - 0x108]
add esi, eax
jmp 0x4044cf
cmp byte [esi], 0x5c
je 0x4044de
dec esi
lea eax, [ebp - 0x108]
cmp esi, eax
ja 0x4044c9
cmp byte [esi], 0x5c
jne 0x40454e
lea eax, [ebp - 0x210]
mov byte [esi], bl
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x108]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40454e
push edi
lea eax, [ebp - 0x20c]
push eax
push ebx
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x40454e
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x108]
mov dword [ebp - 0x210], ebx
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea eax, [ebp - 0x108]
cmp esi, eax
ja 0x4044b2
cmp dword [ebp - 0x210], ebx
je 0x404562
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404c50
mov esp, ebp
pop ebp
ret
call fcn.0040215d
int3