joyce8/EMBER2024-capa huggingface dataset:
Function at 0x600538
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x600569
dec al
je 0x6005a5
dec al
je 0x6005e9
dec al
je 0x600654
jmp 0x6006de
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x6006de
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x600579
jmp 0x6006de
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x6006de
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x6005b5
jmp 0x6006de
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x6006de
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x600617
xor ebp, ebp
jmp 0x600628
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x600631
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x6005f9
jmp 0x6006de
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x6006de
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x6006ac
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.005fda24
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x600668
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x63da40
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x63db68
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.0063d928
mov eax, dword [esi]
call fcn.00406c0c
add eax, 0x28
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x634bbc]
call fcn.00406de8
add esp, 4
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x1c]
mov ecx, 0x1c
call fcn.00403258
mov ebx, 0x1c
mov eax, dword [ebp - 8]
lea edx, [eax + ebx]
lea eax, [ebp - 0x2c]
mov ecx, 0x1c
call fcn.00403258
add ebx, 0x1c
mov eax, dword [esi]
call fcn.00406c0c
mov dword [ebp - 0xc], eax
mov eax, dword [0x7ba650]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 8]
mov ecx, ebx
call fcn.00635c48
add ebx, 4
mov eax, dword [ebp - 8]
add eax, ebx
xor ecx, ecx
mov edx, 3
call fcn.00403b6c
add ebx, 3
mov eax, dword [ebp - 8]
mov byte [eax + ebx], 0x3a
inc ebx
mov eax, dword [esi]
mov byte [eax + 2], 0
mov eax, dword [esi]
mov byte [eax + 3], 0
push ebx
mov eax, dword [esi]
call fcn.00406c0c
push eax
lea ecx, [ebp - 8]
mov eax, dword [esi]
xor edx, edx
call fcn.00635b74
mov edx, dword [ebp - 8]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov ebx, eax
mov eax, ebx
call fcn.0063598c
mov edx, esi
mov ecx, dword [ebp + 0x10]
call fcn.00635c40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63db6f
lea eax, [ebp - 8]
mov edx, dword [0x634bbc]
call fcn.00406f14
ret

Function at 0x646d14
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x646d85
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, ebx
mov edx, dword [ebp - 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebp - 8]
mov eax, dword [esi + 0x30]
call fcn.0040d170
mov eax, dword [ebp - 8]
mov esi, dword [0x7b7b08]
mov esi, dword [esi]
mov edx, dword [ebx]
call esi
mov esi, eax
push ebx
mov ecx, esi
dec ecx
mov eax, dword [ebx]
mov edx, 1
call fcn.00405a54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x646d8c
lea eax, [ebp - 8]
call fcn.00405518
ret

Function at 0x659940
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x65999a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00659934
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00656e54
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00656a70
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6599a1
lea eax, [ebp - 4]
call fcn.00405518
ret
Function at 0x666b4c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffec
mov dword [esp], ecx
mov ebx, edx
mov edi, eax
lea edx, [esp + 4]
mov eax, ebx
mov ecx, 4
call fcn.00403258
lea edx, [esp + 8]
mov esi, ebx
mov eax, esi
add eax, 4
mov ecx, 4
call fcn.00403258
lea edx, [esp + 0xc]
mov eax, esi
add eax, 8
mov ecx, 4
call fcn.00403258
lea edx, [esp + 0x10]
mov eax, esi
add eax, 0xc
mov ecx, 4
call fcn.00403258
mov eax, dword [edi + 0x20]
add dword [esp + 8], eax
mov eax, dword [edi + 0x24]
add dword [esp + 0x10], eax
mov esi, 1
mov eax, dword [esp + 8]
add eax, eax
inc eax
imul dword [esp + 8]
mov edx, 5
call fcn.00666928
mov ebx, eax
mov eax, dword [esp + 0x10]
add eax, eax
inc eax
imul dword [esp + 0x10]
mov edx, 5
call fcn.00666928
mov ebp, eax
mov eax, dword [esp + 4]
xor eax, ebx
mov edx, ebp
call fcn.00666928
mov edx, esi
add edx, edx
add eax, dword [edi + edx*4 + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc]
xor eax, ebp
mov edx, ebx
call fcn.00666928
mov edx, esi
add edx, edx
add eax, dword [edi + edx*4 + 0x24]
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 4]
mov eax, dword [esp + 8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
inc esi
cmp esi, 0x15
jne 0x666bb8
mov eax, dword [edi + 0xc8]
add dword [esp + 4], eax
mov eax, dword [edi + 0xcc]
add dword [esp + 0xc], eax
mov edx, dword [esp]
lea eax, [esp + 4]
mov ecx, 4
call fcn.00403258
mov ebx, dword [esp]
mov edx, ebx
add edx, 4
lea eax, [esp + 8]
mov ecx, 4
call fcn.00403258
mov edx, ebx
add edx, 8
lea eax, [esp + 0xc]
mov ecx, 4
call fcn.00403258
mov edx, ebx
add edx, 0xc
lea eax, [esp + 0x10]
mov ecx, 4
call fcn.00403258
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x666cac
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffec
mov dword [esp], ecx
mov ebx, edx
mov edi, eax
lea edx, [esp + 4]
mov eax, ebx
mov ecx, 4
call fcn.00403258
lea edx, [esp + 8]
mov esi, ebx
mov eax, esi
add eax, 4
mov ecx, 4
call fcn.00403258
lea edx, [esp + 0xc]
mov eax, esi
add eax, 8
mov ecx, 4
call fcn.00403258
lea edx, [esp + 0x10]
mov eax, esi
add eax, 0xc
mov ecx, 4
call fcn.00403258
mov eax, dword [edi + 0xcc]
sub dword [esp + 0xc], eax
mov eax, dword [edi + 0xc8]
sub dword [esp + 4], eax
mov esi, 0x14
mov ebx, dword [esp + 4]
mov eax, dword [esp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x10]
add eax, eax
inc eax
imul dword [esp + 0x10]
mov edx, 5
call fcn.00666928
mov ebp, eax
mov eax, dword [esp + 8]
add eax, eax
inc eax
imul dword [esp + 8]
mov edx, 5
call fcn.00666928
mov ebx, eax
mov eax, esi
add eax, eax
push dword [edi + eax*4 + 0x24]
mov eax, dword [esp + 0x10]
pop edx
sub eax, edx
mov edx, ebx
call fcn.0066693c
xor eax, ebp
mov dword [esp + 0xc], eax
mov eax, esi
add eax, eax
push dword [edi + eax*4 + 0x20]
mov eax, dword [esp + 8]
pop edx
sub eax, edx
mov edx, ebp
call fcn.0066693c
xor ebx, eax
mov dword [esp + 4], ebx
dec esi
test esi, esi
jne 0x666d1e
mov eax, dword [edi + 0x24]
sub dword [esp + 0x10], eax
mov eax, dword [edi + 0x20]
sub dword [esp + 8], eax
mov edx, dword [esp]
lea eax, [esp + 4]
mov ecx, 4
call fcn.00403258
mov ebx, dword [esp]
mov edx, ebx
add edx, 4
lea eax, [esp + 8]
mov ecx, 4
call fcn.00403258
mov edx, ebx
add edx, 8
lea eax, [esp + 0xc]
mov ecx, 4
call fcn.00403258
mov edx, ebx
add edx, 0xc
lea eax, [esp + 0x10]
mov ecx, 4
call fcn.00403258
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x67e1bc
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059e4
xor eax, eax
push ebp
push 0x67e2e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x7cd3b8
xor ecx, ecx
mov edx, 0x1048
call fcn.00403b6c
mov ebx, 1
mov esi, 0x12
mov dword [ebp - 0x14], 0x7b41cc
mov dword [ebp - 0x18], 0x7cd3b8
xor eax, eax
mov dword [ebp - 8], eax
mov edi, 4
mov eax, dword [ebp - 8]
shl eax, 8
mov edx, dword [ebp - 4]
movzx edx, byte [edx + ebx - 1]
or eax, edx
mov dword [ebp - 8], eax
inc ebx
mov eax, dword [ebp - 4]
call fcn.004057f4
cmp ebx, eax
jle 0x67e236
mov ebx, 1
dec edi
jne 0x67e211
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
xor eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov dword [edx], eax
add dword [ebp - 0x18], 4
add dword [ebp - 0x14], 4
dec esi
jne 0x67e207
xor esi, esi
mov edx, 0x7b4214
xor ebx, ebx
mov eax, edx
mov ecx, esi
shl ecx, 8
add ecx, ebx
mov edi, dword [eax]
mov dword [ecx*4 + 0x7cd400], edi
inc ebx
add eax, 4
cmp ebx, 0x100
jne 0x67e25c
inc esi
add edx, 0x400
cmp esi, 4
jne 0x67e258
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov esi, 0x209
mov ebx, 0x7cd3b8
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.0067e080
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [ebx], eax
push 1
push 0
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00406850
mov dword [ebx + 4], eax
add ebx, 8
dec esi
jne 0x67e29c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x67e2e9
lea eax, [ebp - 4]
call fcn.00405518
ret
Function at 0x687e08
Capabilities:
Manipulate boot configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004059e4
xor eax, eax
push ebp
push 0x687ed5
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x687e5b
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x687eec
mov dl, 1
mov eax, dword [0x447b24]
call fcn.00447bd4
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x687e65
cmp dword [ebp - 8], 0
je 0x687ebf
xor eax, eax
push ebp
push 0x687ead
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
mov edx, 0x687f00
mov eax, dword [ebp - 8]
call fcn.00448260
test al, al
je 0x687ea3
mov eax, dword [ebp - 4]
push eax
mov ecx, 0x687f1c
mov edx, 0x687f2c
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x687eb7
mov eax, dword [ebp - 8]
call fcn.004045cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x687edc
lea eax, [ebp - 4]
call fcn.00405518
ret

Function at 0x688218
Capabilities:
Manipulate boot configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405518
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x68825d
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x6882c0
mov dl, 1
mov eax, dword [0x447b24]
call fcn.00447bd4
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x688267
cmp dword [ebp - 8], 0
je 0x6882ae
xor eax, eax
push ebp
push 0x68829c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 4]
push eax
mov ecx, 0x6882d4
mov edx, 0x6882e4
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6882a6
mov eax, dword [ebp - 8]
call fcn.004045cc
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x688378
Capabilities:
Manipulate boot configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x6883b2
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x688418
mov dl, 1
mov eax, dword [0x447b24]
call fcn.00447bd4
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6883bc
cmp dword [ebp - 8], 0
je 0x688403
xor eax, eax
push ebp
push 0x6883f1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x1e
mov ecx, 0x68842c
mov edx, 0x68843c
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6883fb
mov eax, dword [ebp - 8]
call fcn.004045cc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x688448
Capabilities:
Manipulate boot configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x688485
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x6884e4
mov dl, 1
mov eax, dword [0x447b24]
call fcn.00447bd4
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x68848f
cmp dword [ebp - 8], 0
je 0x6884d5
xor eax, eax
push ebp
push 0x6884c3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
mov ecx, 0x6884f8
mov edx, 0x688508
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6884cd
mov eax, dword [ebp - 8]
call fcn.004045cc
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x6a938e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 4]
call fcn.006b6878
mov eax, dword [eax + 0x30]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 8]
call fcn.006b20d4
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x34]
mov eax, dword [eax + 0xc]
call fcn.004319c4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 4]
call fcn.006b6878
mov eax, dword [eax + 0x30]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 8]
call fcn.006b20d4
mov eax, dword [eax + 0x10]
call fcn.00431c84
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x34]
mov eax, dword [eax + 0xc]
call fcn.00431c90
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 4]
call fcn.006b6878
mov eax, dword [eax + 0x30]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 8]
call fcn.006b20d4
cmp dword [eax + 0x14], 0x1fffffff
je 0x6a9361
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 4]
call fcn.006b6878
mov eax, dword [eax + 0x30]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 8]
call fcn.006b20d4
mov edx, dword [eax + 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x34]
mov eax, dword [eax + 0x14]
call fcn.004321b8
jmp 0x6a9381
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x250]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x34]
mov eax, dword [eax + 0x14]
call fcn.004321b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6a940e
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x72f738
Capabilities:
Manipulate boot configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov byte [ebp - 1], 0
mov eax, dword [0x7ba710]
mov eax, dword [eax]
cmp dword [eax + 0x10], 4
jne 0x72f7fb
mov dl, 1
mov eax, dword [0x421f34]
call fcn.0040459c
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x72f7f4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x72f810
call fcn.0040dca0
test al, al
je 0x72f7de
mov ecx, 0x72f810
mov dl, 1
mov eax, dword [0x447b24]
call fcn.00447bd4
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x72f7cc
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 8]
mov edx, 0x72f824
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jle 0x72f7c2
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x72f7d6
mov eax, dword [ebp - 0xc]
call fcn.004045cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x72f7fb
mov eax, dword [ebp - 8]
call fcn.004045cc
ret
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

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

Disassembly:
push 0xffffffffffffffff
push 0x46aa8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0045f42e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40baa2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045d1ad
mov eax, dword [eax]
push 0x54d1c0
push eax
call fcn.00450014
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045f6b9
test bl, bl
je 0x40baa2
push 0x54d1c0
lea ecx, [esp + 0xc]
call fcn.0045fa49
push 0x550d58
lea ecx, [esp + 0xc]
call fcn.0045fa49
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40bade
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045f6b9
jmp 0x40bba9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40bb62
lea edx, [esp + 0x7c]
push 0x550d54
push edx
call fcn.00450014
add esp, 8
test eax, eax
je 0x40bb62
lea eax, [esp + 0x7c]
push 0x550d50
push eax
call fcn.00450014
add esp, 8
test eax, eax
je 0x40bb62
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40baf2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0045f6b9
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40c3a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40c402
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x40c410
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46ab0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x557230]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x40c548
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40c476
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045f6b9
xor eax, eax
jmp 0x40c5bf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045f7f6
push esi
lea ecx, [esp + 0xc]
call fcn.0045fa85
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40c59d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0040c3a0
test eax, eax
jne 0x40c59d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.0040c3a0
test eax, eax
jne 0x40c59d
lea eax, [esp + 0x14]
push 0x550d6c
push eax
call fcn.00451050
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c57c
lea ecx, [esp + 0x14]
push 0x550d68
push ecx
call fcn.00450fd0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c57c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40c57f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045f7a6
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40c48e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045f6b9
xor eax, eax
jmp 0x40c5bf
mov byte [esi], 0
push 0x550d64
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0045f6b9
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4