joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401fd5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x428040]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
mov esi, dword [0x48a6a8]
xor ebx, ebx
push edi
mov dword [esp + 0x10], edx
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + esi + 0x78]
add eax, esi
mov dword [esp + 0x18], eax
mov edi, dword [eax + 0x20]
mov eax, dword [eax + 0x18]
add edi, esi
mov dword [esp + 0x14], eax
test eax, eax
je 0x402045
mov eax, dword [edi]
lea ecx, [esp + 0x1c]
add eax, esi
push eax
call fcn.004029da
lea ecx, [esp + 0x1c]
call fcn.00401e05
cmp eax, dword [esp + 0x10]
je 0x40205c
lea ecx, [esp + 0x1c]
add edi, 4
call fcn.00402a67
inc ebx
cmp ebx, dword [esp + 0x14]
jb 0x402015
xor edi, edi
mov ecx, dword [esp + 0x34]
lea eax, [esi + edi]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00406cb1
mov esp, ebp
pop ebp
ret
mov edx, str.QwruxAA
call fcn.00402da6
push eax
call fcn.00403028
mov edx, dword [esp + 0x1c]
pop ecx
mov eax, dword [edx + 0x24]
lea eax, [eax + ebx*2]
movzx ecx, word [eax + esi]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x1c]
call fcn.00402a67
jmp 0x402047

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

Disassembly:
push esi
push edi
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x48a6a8], eax
pop edi
pop esi
ret

Function at 0x404c0b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x404c2c
jl 0x404c23
test edi, edi
jne 0x404c2c
xor eax, eax
xor edx, edx
jmp 0x404ced
cmp dword [ebx + 0x38], 0
je 0x404c41
push eax
push edi
push dword [ebp + 8]
call fcn.00404cf3
jmp 0x404ced
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x404c88
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x404c88
cmp eax, edi
jb 0x404c62
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.00407b20
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x404c8e
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x404ce2
mov ecx, ebx
call fcn.0040445b
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x404ccd
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.0040c50c
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x404ce2
jmp 0x404ca0
test edx, edx
je 0x404ce2
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.0040c50c
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc
Function at 0x4135d6
Capabilities:
Read file on windows

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

Function at 0x4135e1
Capabilities:
Read file on windows

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

Function at 0x4139db
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00407a70
mov eax, dword [0x428040]
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.0041246d
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x413a1d
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x413b79
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0041d110
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 + 0x48a370]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00414bab
mov ecx, dword [esi*4 + 0x48a370]
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 0x413b72
cmp eax, dword [edi + ecx + 0x24]
jne 0x413b72
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 0x413b72
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00414bab
add esp, 0x14
test edx, edx
jl 0x413b72
jg 0x413ae8
test eax, eax
jb 0x413b72
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x413b72
jl 0x413b02
cmp dword [ebp - 0x1008], eax
ja 0x413b72
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x413b20
test ebx, ebx
je 0x413b59
cmp ecx, edi
jae 0x413b59
mov al, byte [ecx]
cmp al, 0xd
jne 0x413b3a
lea eax, [edi - 1]
cmp ecx, eax
jae 0x413b46
cmp byte [ecx + 1], 0xa
jne 0x413b46
inc ecx
jmp 0x413b46
movzx eax, al
movsx eax, byte [eax + 0x4282f8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x413b20
cmp edx, ebx
jne 0x413b20
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x413b77
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00406cb1
leave
ret
Function at 0x414049
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 + 0x48a370]
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 0x414089
cmp byte [ebx], 0xa
jne 0x414089
or byte [eax + edi + 0x28], 4
jmp 0x41408e
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41418c
mov al, byte [edx]
cmp al, 0x1a
je 0x41416e
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4140bd
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4140e2
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4140ec
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 0x41409f
jmp 0x41418c
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 0x414169
cmp dword [ebp - 0xc], 0
je 0x414169
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x48a370]
test byte [eax + edi + 0x28], 0x48
je 0x414143
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41412e
mov byte [esi], dl
jmp 0x41413f
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x48a370]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41418c
cmp byte [ebp - 1], 0xa
jne 0x414152
cmp esi, ebx
jne 0x414152
mov byte [esi], 0xa
jmp 0x41418b
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00414bc9
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41418c
mov byte [esi], 0xd
jmp 0x41418b
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x48a370]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x414188
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41418c
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x414195
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 + 0x48a370]
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 0x4141d8
cmp word [esi], dx
jne 0x4141d8
or byte [edi + eax + 0x28], 4
jmp 0x4141dd
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 0x414330
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 0x414310
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41421f
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x414255
cmp eax, edx
jae 0x414261
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 0x4141f7
jmp 0x414330
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 0x41430c
cmp dword [ebp - 0x14], 0
je 0x41430c
mov eax, dword [ebx*4 + 0x48a370]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4142e4
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4142ad
mov word [esi], cx
jmp 0x4142e0
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x48a370]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x48a370]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x48a370]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x414330
pop ebx
cmp word [ebp - 4], bx
jne 0x4142f5
cmp esi, dword [ebp + 0xc]
jne 0x4142f5
mov word [esi], bx
jmp 0x41432d
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00414bc9
add esp, 0x10
cmp word [ebp - 4], bx
je 0x414330
push 0xd
jmp 0x414329
mov ecx, dword [ebx*4 + 0x48a370]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x414327
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x414330
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 0x68f36599
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], 3
xor edi, edi
call fcn.68f36227
mov ebx, eax
cmp ebx, 0xa
jne 0x68f365eb
inc dword [0x68fa839c]
call fcn.68f36188
cmp eax, ebx
jne 0x68f365b9
test esi, esi
je 0x68f366eb
push dword [ebp - 8]
push esi
call fcn.68f3528d
push esi
jmp 0x68f366ff
lea eax, [ebx - 0x41]
cmp eax, 0x19
ja 0x68f365f8
sub bl, 0x41
jmp 0x68f36632
lea eax, [ebx - 0x61]
cmp eax, 0x19
ja 0x68f36605
sub bl, 0x47
jmp 0x68f36632
lea eax, [ebx - 0x30]
cmp eax, 9
ja 0x68f36612
add bl, 4
jmp 0x68f36632
cmp ebx, 0x2b
jne 0x68f3661b
mov bl, 0x3e
jmp 0x68f36632
cmp ebx, 0x2f
jne 0x68f36624
mov bl, 0x3f
jmp 0x68f36632
cmp ebx, 0x3d
jne 0x68f366d2
xor bl, bl
dec dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
shl eax, 6
movzx ecx, bl
or eax, ecx
inc edi
cmp edi, 4
mov dword [ebp - 0x10], eax
jne 0x68f365b9
push 3
lea eax, [ebp - 2]
pop ecx
mov dl, byte [ebp - 0x10]
shr dword [ebp - 0x10], 8
mov byte [eax], dl
dec eax
dec ecx
jne 0x68f36650
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
mov eax, edi
call fcn.68f0254d
cmp eax, dword [ebp - 0xc]
jbe 0x68f366a7
test esi, esi
jne 0x68f36684
mov eax, 0x400
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.MSVCR80.dll_malloc]
jmp 0x68f36696
shl dword [ebp - 0xc], 2
push dword [ebp - 0xc]
mov dword [ebp - 0x14], esi
push esi
call dword [sym.imp.MSVCR80.dll_realloc]
pop ecx
mov esi, eax
test esi, esi
pop ecx
jne 0x68f366ab
push str.out_of_memory_while_processing_BASE64_data_n
call fcn.68f36bc8
test esi, esi
je 0x68f366c9
push edi
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 8]
add eax, esi
push eax
call dword [sym.imp.MSVCR80.dll_memcpy_s]
add esp, 0x10
add dword [ebp - 8], edi
and dword [ebp - 0x10], 0
jmp 0x68f365b7
cmp ebx, 0x20
je 0x68f365b9
cmp ebx, 9
je 0x68f365b9
test esi, esi
je 0x68f36708
push esi
jmp 0x68f36711
cmp dword [ebp - 0x14], 0
je 0x68f36740
push dword [ebp - 8]
push dword [ebp - 0x14]
call fcn.68f3528d
push dword [ebp - 0x14]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
jmp 0x68f36740
cmp dword [ebp - 0x14], 0
je 0x68f36718
push dword [ebp - 0x14]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
cmp ebx, 0xffffffff
je 0x68f36740
jmp 0x68f3672e
cmp eax, 0xa
jne 0x68f3672e
call fcn.68f36188
cmp eax, 0xa
je 0x68f3673a
call fcn.68f36227
cmp eax, 0xffffffff
jne 0x68f3671f
jmp 0x68f36740
inc dword [0x68fa839c]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x68f3c6ca
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x68f62e9f
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x68f6edd8]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
call sym.GrooveUtil.DLL_public:_static_class_GCDateFormat____stdcall_GWS::Util::GetWriteDateTimeFormat_void_
mov dword [esp + 0x14], eax
and dword [esp + 0x30], 0
fld qword [ebp + 0x10]
lea ecx, [esp + 0x1c]
fstp qword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call sym.GrooveUtil.DLL_public:_class_GCStrRetVal___thiscall_GCDateFormat::Format_class_GCDate_const__
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov byte [esp + 0x30], 1
push dword [esp + 0xc]
mov edi, dword [ebp + 8]
lea eax, [esp + 0x1c]
push eax
call fcn.68f3b601
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov byte [esp + 0x30], 1
lea eax, [esp + 0x10]
push eax
call fcn.68f42223
mov byte [esp + 0x30], 0
cmp dword [esp + 0xc], 0
je 0x68f3c761
lea ecx, [esp + 0xc]
call sym.GrooveUtil.DLL_private:_void___thiscall_GCStr::_Release_void_
or dword [esp + 0x30], 0xffffffff
lea esi, [esp + 0x14]
call fcn.68f0dbe4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x68f54c56
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x68fa7ff8], 0
push esi
jne 0x68f54bc9
call fcn.68f54af4
test eax, eax
je 0x68f54c0c
mov eax, dword [0x68fa7ff8]
cmp eax, 1
jne 0x68f54bea
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x68f54c0c
pop esi
ret
push eax
call dword [0x68fa8000]
test eax, eax
jne 0x68f54c54
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x68f54c10
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x68fa7ff8]
call dword [0x68fa8000]
mov edi, eax
test edi, edi
je 0x68f54c37
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x68f54c53
lea edi, [esi + 0xff0]
push esi
push dword [0x68fa7ff8]
call dword [0x68fa7ffc]
add esi, 0x10
cmp esi, edi
jb 0x68f54c3d
mov eax, esi
pop edi
pop esi
ret
jmp 0x68f54bb6

Function at 0x430004
Capabilities:
Check for software breakpoints
Encode data using xor
Packed with generic packer

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

Disassembly:
pushal
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
mov ebx, 0x408f6c
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x3a781aad
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x75c54d12
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
nop
popal
jmp 0x401219
Function at 0x402ea9
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, esi
lea eax, [ebp - 4]
and esi, 0x300
push eax
mov eax, esi
and edi, 1
or al, 9
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004064d5
xor ebx, ebx
cmp eax, ebx
jne 0x402f8c
test byte [ebp + 0x10], 2
je 0x402f0a
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 0x214]
mov dword [ebp - 8], ebx
push eax
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x402f71
lea eax, [ebp - 0x214]
push 0x105
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x402f46
test edi, edi
jne 0x402f71
push dword [ebp + 0x10]
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 4]
call fcn.00402ea9
test eax, eax
jne 0x402f4f
lea eax, [ebp - 0x214]
push 0x105
push eax
push edi
push dword [ebp - 4]
call ebx
test eax, eax
je 0x402f1f
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.00406a35
test eax, eax
jne 0x402f81
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x402f8c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x3eb
jmp 0x402f8c
push 0
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x403371
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp eax, esi
jl 0x40339c
mov ecx, dword [0x4702b8]
push esi
add eax, ecx
push esi
push eax
mov dword [0x4326f4], eax
push dword [0x40a01c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 4
call fcn.00403479
cmp eax, esi
jl 0x403473
lea eax, [ebp + 8]
push 4
push eax
push dword [0x40a01c]
call fcn.004061db
test eax, eax
je 0x403463
push dword [ebp + 8]
add dword [0x4326f4], 4
call fcn.00403479
mov ebx, eax
cmp ebx, esi
jl 0x403471
cmp dword [ebp + 0x10], esi
jne 0x40343f
cmp dword [ebp + 8], esi
jle 0x403471
mov esi, 0x4266f0
cmp dword [ebp + 8], 0x4000
mov eax, dword [ebp + 8]
jl 0x403401
mov eax, 0x4000
push eax
push esi
push dword [0x40a01c]
mov dword [ebp - 4], eax
call fcn.004061db
test eax, eax
je 0x403463
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call fcn.0040620a
test eax, eax
je 0x40343b
mov eax, dword [ebp - 4]
sub dword [ebp + 8], eax
add dword [0x4326f4], eax
add ebx, eax
cmp dword [ebp + 8], 0
jg 0x4033f0
jmp 0x403471
push 0xfffffffffffffffe
jmp 0x403465
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x40344a
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push esi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40a01c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x403468
push 0xfffffffffffffffd
pop eax
jmp 0x403473
mov ebx, dword [ebp - 4]
add dword [0x4326f4], ebx
mov eax, ebx
pop esi
pop ebx
leave
ret 0x10
Function at 0x403cb7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
neg dl
mov byte [ebp - 9], 0xbf
call fcn.00403926
push eax
push esi
push dword [ebp + 8]
call fcn.004038db
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00403926
push eax
push esi
push dword [ebp + 8]
call fcn.004038db
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00403926
push eax
push esi
push dword [ebp + 8]
call fcn.004038db
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00403916
mov bl, 0x10
xor byte [edi], dl
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.00403916
and byte [edi - 0x2c], dl
out 0x8d, al
test dword [edi + edi*8 - 1], edi
call dword [eax - 0x18]
sbb al, 0xfb
invalid

Function at 0x405b99
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, 0x4083f8
and byte [ebp - 0x1f], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push esi
push eax
mov byte [ebp - 0x20], 1
push dword [ebp + 8]
mov word [ebp - 0x1e], 4
mov dword [ebp - 0x10], 0x4083e8
mov dword [ebp - 0xc], 0xc
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x405bea
xor eax, eax
jmp 0x405c11
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
jne 0x405c11
lea eax, [ebp - 0x20]
push eax
push 0x80000007
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
test eax, eax
jne 0x405be6
call esi
pop esi
leave
ret 4