joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6dc333c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x6dc3e3d8]
test esi, esi
jle 0x6dc334ad
mov edi, dword [0x6dc3e3dc]
xor ebx, ebx
lea edx, [edi + 4]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x6dc333f4
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x6dc334a6
add ebx, 1
add edx, 0xc
cmp ebx, esi
jne 0x6dc333e0
mov dword [esp], eax
mov ebx, eax
call fcn.6dc33b50
test eax, eax
mov edi, eax
je 0x6dc334ea
lea ebx, [esi + esi*2]
mov esi, dword [0x6dc3e3dc]
shl ebx, 2
add esi, ebx
mov dword [esi + 8], eax
mov dword [esi], 0
call fcn.6dc33c50
add eax, dword [edi + 0xc]
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov eax, dword [0x6dc3e3dc]
mov eax, dword [eax + ebx + 4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x6dc334ca
mov eax, dword [esp + 0x28]
lea edx, [eax - 4]
and edx, 0xfffffffb
je 0x6dc3349f
sub eax, 0x40
and eax, 0xffffffbf
je 0x6dc3349f
mov eax, dword [esp + 0x20]
add ebx, dword [0x6dc3e3dc]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
je 0x6dc334b4
add dword [0x6dc3e3d8], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
xor esi, esi
jmp 0x6dc333fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.6dc33360
mov eax, dword [0x6dc3e3dc]
mov eax, dword [eax + ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.6dc33360
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.6dc33360
lea esi, [esi]

Function at 0x6dc337c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x6dc3e3e8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x6dc3e3e0]
sub esp, 4
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
je 0x6dc33815
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x6dc3380e
test esi, esi
je 0x6dc3380e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x6dc337f0
mov dword [esp], 0x6dc3e3e8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x6dc33a70
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push ebx
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
add edx, dword [edx + 0x3c]
movzx esi, word [edx + 6]
movzx eax, word [edx + 0x14]
test esi, esi
lea eax, [edx + eax + 0x18]
je 0x6dc33aa8
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp edx, ebx
ja 0x6dc33a9e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x6dc33aaa
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x6dc33a90
xor eax, eax
pop ebx
pop esi
ret

Function at 0x1da3654
Capabilities:
Check for vm using instruction vpcext

Disassembly:
mov dword [esp + 4], 0x20b4877
mov byte [esp], ah
mov word [esp], 0x73c1
call fcn.01dacef6
jp 0x1da3678
dec edx
adc dh, ch
je 0x1da3681
pop ds
mov esi, esp
mov ebx, edx
int 0x72
invalid
lea ebp, [edx + 0x59]
mul byte [eax + 0x5d86285e]
fidivr dword [eax - 0x6a]
add al, 0xc2
adc al, 0x79
xor al, 0x5d
daa
cmp edi, dword fs:[eax - 0x626d6d58]
invalid

Function at 0x21102a3
Capabilities:
Encode data using xor

Disassembly:
test esi, 0xb11623cf
shr ebx, 0xc
clc
cmp dl, dl
cmp ebx, 1
pushfd
call fcn.020b7103
stosb byte es:[edi], al
pushal
call dword [eax]
invalid

Function at 0x2ebcd91
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
shrd bx, ax, cl
sub ecx, 8
mov di, 0x9bfc
shr ecx, 1
dec bh
pushal
lea edi, [edi + 0x3469d6dd]
mov edi, dword [esi]
rcr bh, 6
add edi, dword [ebp + 0x10]
shr bl, 1
sal bh, 4
btr bx, 0xe
add esi, 8
sub esp, 0xffffffe0
lea esp, [esp + 8]
js 0x1db1f39
push 0xcd9aa8d8
mov byte [esp], bl
lea esp, [esp + 4]
je 0x20b0613
movsx bx, cl
movzx di, bl
rcr bx, cl
add dword [ebp - 4], ecx
setb bh
or bh, 0x72
jmp 0x2486d7f
Function at 0x4013c5
Capabilities:
Encode data using xor

Disassembly:
jmp 0x411580
mov edx, dword [esp + 4]
xor ecx, ecx
cmp dword [esp + 8], ecx
jbe 0x4115ab
mov al, byte [edx + ecx]
xor al, 0x73
sub al, 0x6c
xor al, 0x74
add al, 0x4e
xor al, 0x70
sub al, 0x65
xor al, 0x22
sub al, 0x73
xor al, 0x2a
mov byte [edx + ecx], al
inc ecx
cmp ecx, dword [esp + 8]
jb 0x41158c
ret

Function at 0x403599
Capabilities:
Terminate process

Disassembly:
jmp 0x450c39
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x450c4a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.0040583f
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x4036bb
Capabilities:
Query environment variable

Disassembly:
jmp 0x497a70
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x497a81
pop esi
ret
push ebx
push edi
push esi
call fcn.00497957
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403f5d
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x497aa9
push ebx
push esi
push edi
call fcn.0040563c
add esp, 0xc
push 0
call fcn.00406168
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x4056f5
Capabilities:
Parse pe header

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

Function at 0x43dc0f
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
call fcn.00403724
push 2
lea ecx, [ebp - 4]
push ecx
mov eax, dword [eax + 0x14]
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x43dc4e
sub eax, 1
je 0x43dc49
sub eax, 1
je 0x43dc45
xor eax, eax
leave
ret
push 3
jmp 0x43dc50
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret
Function at 0x48da02
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00401d7a
mov eax, dword [0x505080]
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.00405d80
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x48da44
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x48dba0
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00405eca
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 + 0x508978]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00403247
mov ecx, dword [esi*4 + 0x508978]
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 0x48db99
cmp eax, dword [edi + ecx + 0x24]
jne 0x48db99
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 0x48db99
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00403247
add esp, 0x14
test edx, edx
jl 0x48db99
jg 0x48db0f
test eax, eax
jb 0x48db99
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x48db99
jl 0x48db29
cmp dword [ebp - 0x1008], eax
ja 0x48db99
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x48db47
test ebx, ebx
je 0x48db80
cmp ecx, edi
jae 0x48db80
mov al, byte [ecx]
cmp al, 0xd
jne 0x48db61
lea eax, [edi - 1]
cmp ecx, eax
jae 0x48db6d
cmp byte [ecx + 1], 0xa
jne 0x48db6d
inc ecx
jmp 0x48db6d
movzx eax, al
movsx eax, byte [eax + 0x5053d0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x48db47
cmp edx, ebx
jne 0x48db47
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x48db9e
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00403021
leave
ret
Function at 0x48e2df
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 + 0x508978]
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 0x48e31f
cmp byte [ebx], 0xa
jne 0x48e31f
or byte [eax + edi + 0x28], 4
jmp 0x48e324
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x48e422
mov al, byte [edx]
cmp al, 0x1a
je 0x48e404
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x48e353
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x48e378
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x48e382
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 0x48e335
jmp 0x48e422
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 0x48e3ff
cmp dword [ebp - 0xc], 0
je 0x48e3ff
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x508978]
test byte [eax + edi + 0x28], 0x48
je 0x48e3d9
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x48e3c4
mov byte [esi], dl
jmp 0x48e3d5
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x508978]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x48e422
cmp byte [ebp - 1], 0xa
jne 0x48e3e8
cmp esi, ebx
jne 0x48e3e8
mov byte [esi], 0xa
jmp 0x48e421
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0040191a
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x48e422
mov byte [esi], 0xd
jmp 0x48e421
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x508978]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x48e41e
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x48e422
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x48e47e
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 + 0x508978]
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 0x48e4c1
cmp word [esi], dx
jne 0x48e4c1
or byte [edi + eax + 0x28], 4
jmp 0x48e4c6
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 0x48e619
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 0x48e5f9
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x48e508
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x48e53e
cmp eax, edx
jae 0x48e54a
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 0x48e4e0
jmp 0x48e619
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 0x48e5f5
cmp dword [ebp - 0x14], 0
je 0x48e5f5
mov eax, dword [ebx*4 + 0x508978]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x48e5cd
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x48e596
mov word [esi], cx
jmp 0x48e5c9
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x508978]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x508978]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x508978]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x48e619
pop ebx
cmp word [ebp - 4], bx
jne 0x48e5de
cmp esi, dword [ebp + 0xc]
jne 0x48e5de
mov word [esi], bx
jmp 0x48e616
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0040191a
add esp, 0x10
cmp word [ebp - 4], bx
je 0x48e619
push 0xd
jmp 0x48e612
mov ecx, dword [ebx*4 + 0x508978]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x48e610
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x48e619
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 0x49600f
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x505080]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x49605a
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004964d1
test al, al
jne 0x496054
sub edx, 2
cmp edx, edi
jne 0x49603a
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x49607c
lea eax, [edi + 2]
cmp edx, eax
je 0x49607c
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00495c08
add esp, 0x10
jmp 0x496176
push esi
lea ecx, [ebp - 0x255]
call fcn.004964d1
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4960bf
push dword [ebp - 0x25c]
jmp 0x49606c
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4960fc
cmp word [ebp - 0x226], 0
je 0x49611d
cmp word [ebp - 0x226], ax
jne 0x4960fc
cmp word [ebp - 0x224], 0
je 0x49611d
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00495c08
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x496169
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4960d6
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x496151
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x496176
push 0x4955f0
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004054a7
add esp, 0x10
jmp 0x496146
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403021
leave
ret
Function at 0x1000fe15
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x1000fe24
pop dword [ebp - 0x14]
mov eax, 0x1000fe24
sub dword [ebp - 0x14], eax
push 0x40
push 0x1000
push 0x39791
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x14]
call dword [eax]
mov ecx, 0xf0c8ec83
add ecx, 0xf375951
xor edx, edx
add edx, eax
mov edi, 0x10024400
add edi, dword [ebp - 0x14]
mov esi, 0x4a2f680f
sub esi, 0xc3161d58
xor dword [ebp - 4], 0x6016b1d0
mov ebx, dword [edi]
xor dword [ebp - 0x10], ecx
xor ebx, esi
add dword [ebp - 0x10], 0x595211fc
mov dword [edx], ebx
xor dword [ebp - 4], esi
add edx, 0xcef64c99
sub edx, 0xcef64c95
add edi, 0x943b1936
sub edi, 0x943b1932
loop 0x1000fe75
add eax, 0x6768fb80
sub eax, 0x6767f15d
mov ebx, eax
add eax, 0x58b99498
sub eax, 0x58b99493
mov ecx, 0x10000000
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x406415
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x40643a
mov eax, dword [0x40a908]
cmp eax, 0xffffffff
je 0x406431
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x40a908], 0xffffffff
jmp 0x4064ad
cmp dword [0x4242c0], ebx
je 0x4064ad
cmp byte [0x423ec0], bl
je 0x406479
cmp dword [0x40a908], 0xffffffff
jne 0x406482
push 4
push 0x40000000
push 0x423ec0
call fcn.00405da2
cmp eax, 0xffffffff
mov dword [0x40a908], eax
je 0x4064ad
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [0x40a908], 0xffffffff
je 0x4064ad
push esi
mov esi, 0x424ae0
push 0x40ab64
push esi
call sub.KERNEL32.dll_lstrcatA
lea eax, [ebp + 8]
push ebx
push eax
push esi
call sub.KERNEL32.dll_lstrlenA
push eax
push esi
push dword [0x40a908]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ebx
pop ebp
ret 4

Function at 0x40665b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x423ac4], 0
push esi
jne 0x406692
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x40666c
mov dword [ecx*4 + 0x423ac0], eax
inc ecx
cmp ecx, 0x100
jl 0x406667
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4066c3
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x423ac0]
xor eax, esi
inc ecx
dec edx
jne 0x4066a5
pop edi
not eax
pop esi
ret 0xc
Function at 0x405f70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x405f7f
pop dword [ebp - 0x14]
mov eax, 0xf61cac6d
sub eax, 0xf5dc4cee
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x7aad04ca
add dword [ebp - 0x24], 0xd3a54081
mov dword [ebp - 0x20], 0x4f6a2bcd
sub dword [ebp - 0x20], 0x1d36df88
mov dword [ebp - 0x1c], 0x78560ab0
sub dword [ebp - 0x1c], 0x2c09c682
mov dword [ebp - 0x18], 0x6b3b1e28
add dword [ebp - 0x18], 0x94c4e1d8
lea eax, [ebp - 0x24]
push eax
mov eax, 0xd3f75764
sub eax, 0xd3b616d4
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0xceec696b
sub dword [ebp - 0x24], 0x5a7a0015
mov dword [ebp - 0x20], 0xbc491814
add dword [ebp - 0x20], 0x85234961
mov dword [ebp - 0x1c], 0x951f6642
add dword [ebp - 0x1c], 0xce50062a
mov dword [ebp - 0x18], 0x81ff5ea5
add dword [ebp - 0x18], 0x7e00a15b
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x3db1b
push 0
call eax
mov ecx, 0x313b211
add ecx, 0xfceca185
mov ebx, eax
mov esi, 0xae012364
sub esi, 0xadbf6364
add esi, dword [ebp - 0x14]
mov edi, 0xb68183e8
add edi, 0x14188145
mov dword [ebp - 0x10], 0x212d27fe
mov edx, dword [esi]
xor dword [ebp - 0xc], 0x4cea88eb
sub edx, edi
add dword [ebp - 8], ecx
mov dword [ebx], edx
sub dword [ebp - 8], 0x1f74ff4
add ebx, 0x78dbfb4
add ebx, 0xf8724050
add esi, 4
loop 0x40609c
add eax, 0xd5e77ade
add eax, 0x2a19c64d
mov ebx, eax
add eax, 5
mov ecx, 0xbd9b41f4
sub ecx, 0xbd5b41f4
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e072
nop
nop
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
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
mov esi, 0x5cda7513
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x42e060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x42e0d2
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x58a12115
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x401070
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
push edi
shl byte [esi + 0xf], 1
cmp dh, bl
ror dword [ecx + 0xf], 1
adc byte [edx], cl
aesdec xmm2, xmm1
dec ecx
movups xmm1, xmmword [edx]
lea edx, [edx + 0x10]
jne 0x401072
aesdeclast xmm2, xmm1
pxor xmm0, xmm0
pxor xmm1, xmm1
movups xmmword [eax], xmm2
pxor xmm2, xmm2
ret

Function at 0x401157
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
add ecx, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x40111e
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
fadd st(3)

Function at 0x40c884
Capabilities:
Encode data using xor

Disassembly:
push edi
add byte [ecx], ch
outsb dx, byte [esi]
add byte [eax + eax + 0x6f], ah
add byte [edi], dh
jae 0x40c892
pop esp
add byte [ebx], dl
jns 0x40c898
jae 0x40c89a
je 0x40c89c
add byte gs:[ebp], ch
xor eax, dword [eax]
xor al, byte [eax]
pop esp
add byte [edx], dl
jo 0x40c8aa
arpl word [eax], ax
push edx
add byte [eax + eax + 0x52], dh
add byte [ebp], ah
insd dword es:[edi], dx
add byte [edi], ch
je 0x40c8ba
add byte gs:[esi], ch
add byte [eax + eax + 0x6c], ah
add byte [eax + eax], ch
add byte [eax], al
add byte [edx], al
add byte [eax], dl
sar byte [edx], 0x24
add al, 0xd7
adc esp, dword [ecx + 0xec]
add byte [eax - 0x63], bh
leave
mov byte [eax + eax + 0x44], bl
add byte [ebp], ah
jbe 0x40c8e4
imul eax, dword [eax], 0x650063
pop esp
add byte [eax], cl
popal
add byte [edx], dh
add byte fs:[eax + eax + 0x69], ah
add byte [ebx], dh
imul eax, dword [eax], 0x56
add byte [edi], ch
insb byte es:[edi], dx
add byte [ebp], dh
insd dword es:[edi], dx
add byte [ebp], ah
xor dword [eax], eax
pop esp
add byte [edi], dl
imul eax, dword [eax], 0x64006e
outsd dx, dword [esi]
add byte [edi], dh
jae 0x40c91a
pop esp
add byte [ebx], dl
jns 0x40c920
jae 0x40c922
je 0x40c924
add byte gs:[ebp], ch
xor eax, dword [eax]
xor al, byte [eax]
pop esp
add byte [ebx], cl
inc edx
add byte [eax + eax + 0x55], al
add byte [ebx], dl
add byte cs:[eax + eax + 0x4c], al
add byte [eax + eax], cl
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [edx], al
add byte [eax], dl
sal byte [esi], 0x24
add al, 0xda
adc esp, dword [ecx + 0xec]
add al, bh
jo 0x40c928
mov byte [eax + eax + 0x44], bl
add byte [ebp], ah
jbe 0x40c964
imul eax, dword [eax], 0x650063
pop esp
add byte [eax], cl
popal
add byte [edx], dh