joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7597aa
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esi + 0x30], eax
xor edx, edx
mov dword [esi + 0x4c], edx
xor ecx, ecx
mov dword [esi + 0x20], ecx
push esi
call fcn.00759788
pop ecx
xor ecx, ecx
mov eax, ecx
xor edx, edx
mov ebx, eax
shr ebx, 1
and eax, 1
dec eax
not eax
and eax, 0xedb88320
xor ebx, eax
mov eax, ebx
inc edx
cmp edx, 8
jl 0x7597ce
mov dword [esi + ecx*4 + 0x70], eax
inc ecx
cmp ecx, 0x100
jb 0x7597ca
pop esi
pop ebx
pop ebp
ret

Function at 0x75aa0a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push 0
call sub.msvcrt.dll__beginthreadex
add esp, 0x18
mov dword [ebx], eax
push dword [ebx]
call fcn.0075a9ab
pop ecx
pop ebx
pop ecx
pop ebp
ret

Function at 0x75c37b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov esi, pe_nt_image_headers32
or ebx, 0x100
add edi, edi
mov eax, ebx
shr eax, 7
and eax, 1
push eax
mov edx, esi
and edx, edi
add edx, esi
mov ecx, ebx
shr ecx, 8
add edx, ecx
shl edx, 2
add edx, dword [ebp + 0xc]
push edx
push dword [ebp + 8]
call fcn.0075c2e9
add esp, 0xc
add ebx, ebx
mov ecx, ebx
xor ecx, edi
not ecx
and esi, ecx
cmp ebx, 0x10000
jb 0x75c392
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x75c43b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 0xc]
xor edx, edx
or eax, 0x100
mov ecx, eax
shr ecx, 8
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + ecx*4]
mov ebx, eax
shr ebx, 7
and ebx, 1
neg ebx
and ebx, 0x7ff
xor ecx, ebx
shr ecx, 4
mov ebx, dword [ebp + 0x10]
add edx, dword [ebx + ecx*4]
add eax, eax
cmp eax, 0x10000
jb 0x75c449
mov eax, edx
pop ebx
pop ebp
ret

Function at 0x75c47d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov edx, pe_nt_image_headers32
or eax, 0x100
add ecx, ecx
mov esi, edx
and esi, ecx
add esi, edx
mov edi, eax
shr edi, 8
add esi, edi
mov edi, dword [ebp + 8]
mov esi, dword [edi + esi*4]
mov edi, eax
shr edi, 7
and edi, 1
neg edi
and edi, 0x7ff
xor esi, edi
shr esi, 4
mov edi, dword [ebp + 0x14]
add ebx, dword [edi + esi*4]
add eax, eax
mov esi, eax
xor esi, ecx
not esi
and edx, esi
cmp eax, 0x10000
jb 0x75c495
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x75c55f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
xor edx, edx
mov ecx, dword [ebp + 0xc]
mov edi, 1
shl edi, cl
or eax, edi
cmp eax, 1
je 0x75c5a4
mov ecx, eax
shr ecx, 1
mov ecx, dword [ebx + ecx*4]
mov edi, eax
and edi, 1
neg edi
and edi, 0x7ff
xor ecx, edi
shr ecx, 4
add edx, dword [esi + ecx*4]
shr eax, 1
cmp eax, 1
jne 0x75c581
mov eax, edx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x75c5ab
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x10]
xor eax, eax
mov dword [ebp - 4], eax
mov eax, 1
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x75c5f6
mov edx, ebx
and edx, 1
shr ebx, 1
mov esi, dword [ebp + 8]
mov esi, dword [esi + eax*4]
mov edi, edx
neg edi
and edi, 0x7ff
xor esi, edi
shr esi, 4
mov edi, dword [ebp + 0x14]
mov esi, dword [edi + esi*4]
add dword [ebp - 4], esi
add eax, eax
or edx, eax
mov eax, edx
dec ecx
test ecx, ecx
jne 0x75c5c6
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..retplne
nop
nop
mov ebx, 0x40de38
mov ecx, 0x385f658c
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..reloc
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x7cc75ca4
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4069c5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4069e9
xor eax, eax
test eax, eax
je 0x4069fc
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4069fc
xor ecx, ecx
jmp 0x4069ff
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

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

Disassembly:
cmp dword [0x427dec], 0
push esi
jne 0x406b59
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 0x406b33
mov dword [ecx*4 + 0x427de8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b2e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406b8a
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 + 0x427de8]
xor eax, esi
inc ecx
dec edx
jne 0x406b6c
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x615b50b1
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x5aec2b22
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

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

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x1cc49f1
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..text_1
mov ebx, 0x42f314
nop
mov ecx, 0x4dd25864
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408e84
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x8f95442
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e1d0
mov ecx, ebx
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
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x28c83642
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x5624701e
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e3d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
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
pop eax
nop
nop
nop
mov esi, 0x1aa435a3
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x403a74
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x390
mov eax, dword [0x44608c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov eax, 0x101
push 0
push eax
mov ecx, esi
mov dword [ebp - 0x390], eax
call fcn.004046c1
cmp dword [esi + 0x14], 8
jb 0x403aaa
mov eax, dword [esi]
jmp 0x403aac
mov eax, esi
lea ecx, [ebp - 0x390]
push ecx
push eax
push 2
call sub.Secur32.dll_GetUserNameExW
test al, al
je 0x403adf
push 0
push dword [ebp - 0x390]
mov ecx, esi
call fcn.004046c1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004065bb
mov esp, ebp
pop ebp
ret 4
push 0x4243c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0x38c]
call fcn.004018f5
push 0x442bc0
lea eax, [ebp - 0x38c]
push eax
call fcn.004073d4
int3

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
mov ecx, 0x20970f5e
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x19f07182
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0xa5d5e28
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x792f761d
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x401238
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
dec ecx
movzx eax, byte [ecx]
test eax, eax
je 0x40123e
mov dword [esi], eax
lea eax, [ecx - 1]
movzx ecx, byte [eax]
movzx edx, byte [ecx + 0x6d6b00]
test edx, edx
jne 0x401263
mov dword [esi], 1
xor eax, eax
jmp 0x401289
movzx ecx, byte [edx + 0x6d6c00]
movzx esi, byte [eax]
not ecx
and ecx, esi
jmp 0x401281
dec eax
movzx esi, byte [eax]
shl ecx, 6
xor esi, 0x3f
or esi, ecx
mov ecx, esi
dec edx
jne 0x401273
mov edx, dword [ebp + 8]
mov dword [edx], ecx
pop esi
pop ebp
ret
Function at 0x40a8ad
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [0x6e7218], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, eax
jne 0x40a8dd
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x20]
mov dword [0x6e7218], eax
dec eax
not eax
mov dword [0x6e721c], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x40a901
cmp dword [eax + 0x10], 0
jne 0x40a901
push 1
lea ecx, [eax + 8]
call fcn.0040ab26
mov ecx, dword [esi + 4]
push 0xffffffffffffffff
add ecx, 8
call fcn.0040ab26
mov eax, dword [esi]
mov ecx, dword [ebx]
push edi
lea edi, [ecx + eax - 1]
dec eax
not eax
and edi, eax
mov eax, esi
mov dword [ebx], edi
call fcn.0040a79e
neg al
push 1
sbb eax, eax
and eax, 0x200000
mov dword [ebp + 8], eax
or dword [ebp + 8], 0x2000
push dword [ebp + 8]
push edi
push dword [esi + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
call esi
test eax, eax
pop edi
jne 0x40a94b
push 1
push dword [ebp + 8]
push dword [ebx]
push eax
call esi
pop esi
pop ebx
leave
ret 4

Function at 0x40b41d
Capabilities:
Delete file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor esi, esi
cmp eax, esi
jne 0x40b4da
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0xa
mov edi, eax
push 0x6573a4
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
cmp ebx, esi
jne 0x40b45a
or eax, 0xffffffff
jmp 0x40b4d8
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
push edi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
je 0x40b4d6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0x80
push 1
push esi
push esi
push 0x40000000
push dword [ebp + 8]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, esi
je 0x40b4ce
cmp edi, 0xffffffff
je 0x40b4ce
push esi
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], esi
mov esi, dword [ebp - 8]
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], esi
push dword [ebp + 8]
jne 0x40b4c8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x40b4d8
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
pop edi
pop ebx
pop esi
leave
ret

Function at 0x40b641
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x6e7398]
sub esp, 0x24
test eax, eax
jne 0x40b693
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x20]
push 1
push 0x2000
mov dword [0x6e739c], eax
dec eax
push 0x1000000
push dword [0x6e7398]
not eax
mov dword [0x6e7390], eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea ecx, [eax + 0x1000000]
mov dword [0x6e7398], eax
mov dword [0x6e73b8], ecx
add eax, 0x1000000
mov dword [0x6e73c4], eax
leave
ret
Function at 0x40ba15
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
je 0x40bb30
call fcn.004020b9
mov ecx, dword [0x6e73e0]
mov eax, dword [0x6e73ec]
cmp ecx, eax
jb 0x40ba40
sub eax, ecx
add eax, 0x1000
jmp 0x40ba42
sub eax, ecx
cmp eax, 2
mov dword [ebp - 4], eax
jae 0x40ba51
call fcn.004020c6
leave
ret
cmp dword [ebp + 0xc], 0
jbe 0x40bb1f
push esi
mov esi, dword [0x6e73e0]
push ebx
push edi
mov eax, dword [ebp - 4]
cmp eax, 1
jbe 0x40bb1c
mov edi, dword [ebp + 0xc]
cmp edi, eax
jb 0x40ba7a
lea edi, [eax - 1]
lea eax, [esi + edi]
cmp eax, 0x1000
jb 0x40ba8b
mov edi, 0xfff
sub edi, esi
push edi
push dword [ebp + 8]
lea ebx, [esi + 0x6e73f0]
push ebx
call fcn.005804e0
add dword [ebp + 8], edi
sub dword [ebp + 0xc], edi
mov eax, dword [0x6e73ec]
add esp, 0xc
mov byte [ebx + edi], 0
inc edi
sub dword [ebp - 4], edi
add esi, edi
xor ebx, ebx
cmp esi, eax
jne 0x40baf4
cmp ebx, 1
jge 0x40baf4
mov eax, dword [0x6e83fc]
test eax, eax
je 0x40baf4
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [0x6e83f8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x6e73e0]
mov ecx, dword [0x6e73ec]
add eax, edi
inc ebx
cmp eax, ecx
je 0x40bab9
mov esi, dword [0x6e73e0]
add esi, edi
cmp esi, 0x1000
mov dword [0x6e73e0], esi
jb 0x40bb12
xor esi, esi
mov dword [0x6e73e0], esi
cmp dword [ebp + 0xc], 0
ja 0x40ba64
pop edi
pop ebx
pop esi
call fcn.004020c6
push dword [0x6e83f8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
leave
ret

Function at 0x40bdf1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push 0x50
lea ecx, [ebp - 0x18]
call fcn.0040c159
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
sub eax, ebx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
mov edi, 0xea
jmp 0x40be5e
mov eax, dword [ebp - 0x10]
sub eax, ebx
add eax, dword [ebp - 4]
lea ecx, [ebp - 0x18]
push eax
call fcn.0040c28d
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
sub eax, ebx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
cmp eax, edi
je 0x40be2f
test eax, eax
je 0x40be7e
cmp dword [ebp - 8], 1
je 0x40be7e
cmp byte [ebp - 0x18], 0
je 0x40be79
push ebx
call fcn.00401c01
pop ecx
or eax, 0xffffffff
jmp 0x40bec2
mov eax, dword [ebp + 0x10]
xor ecx, ecx
call fcn.0040c1c4
shr dword [ebp - 4], 1
je 0x40beb3
mov eax, dword [ebp - 4]
cmp word [ebx + eax*2 - 2], 0
jne 0x40be9d
dec dword [ebp - 4]
jne 0x40be8d
cmp dword [ebp - 4], 0
jbe 0x40beb3
mov eax, dword [ebp - 4]
push dword [ebp + 0x10]
lea eax, [ebx + eax*2]
mov ecx, ebx
call fcn.0040b740
cmp byte [ebp - 0x18], 0
je 0x40bec0
push ebx
call fcn.00401c01
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40eeda
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov edx, ecx
mov ebx, dword [ebp + 8]
shr ecx, 2
mov esi, 0x6d6570
je 0x40ef21
xor ebx, dword [edi]
add edi, 4
movzx eax, bl
shr ebx, 8
xor ebx, dword [esi + eax*4]
movzx eax, bl
shr ebx, 8
xor ebx, dword [esi + eax*4]
movzx eax, bl
shr ebx, 8
xor ebx, dword [esi + eax*4]
movzx eax, bl
shr ebx, 8
xor ebx, dword [esi + eax*4]
dec ecx
jne 0x40eef5
mov ecx, edx
and ecx, 3
je 0x40ef39
xor bl, byte [edi]
add edi, 1
movzx eax, bl
shr ebx, 8
xor ebx, dword [esi + eax*4]
dec ecx
jne 0x40ef28
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x410673
Capabilities:
Allocate or change rwx memory
Check os version
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x6d25dc]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
test edi, edi
je 0x4107a2
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IsWow64Process
push edi
call esi
push str.GetNativeSystemInfo
push edi
mov ebx, eax
call esi
test ebx, ebx
mov esi, eax
je 0x41079e
test esi, esi
je 0x41079e
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea eax, [ebp - 0x120]
push eax
call edi
push eax
call ebx
test eax, eax
je 0x41079e
cmp dword [ebp - 0x120], 0
je 0x41079e
lea eax, [ebp - 0x144]
push eax
call esi
cmp word [ebp - 0x144], 6
je 0x41079e
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
mov dword [ebp - 0x118], 0x114
call fcn.0057d9b0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
jb 0x410743
mov byte [0x6d61da], 0xc9
lea eax, [ebp - 0x11c]
push eax
push 0x40
push 0x2a
mov esi, 0x6d61cc
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push eax
call ebx
lea eax, [ebp - 0x11c]
push eax
push 0x40
push 7
push 0x6d64a4
call edi
push eax
call ebx
mov eax, esi
mov byte [0x6d64a5], al
shr eax, 8
mov byte [0x6d64a6], al
mov eax, esi
shr eax, 0x10
mov byte [0x6d64a7], al
mov eax, esi
shr eax, 0x18
mov byte [0x6d64a8], al
mov eax, 0x410579
jmp 0x4107a0
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00579aab
leave
ret