joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d050
Capabilities:
Access peb ldr_data

Disassembly:
sub esp, 0x10
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov ecx, dword [eax + 0x1d0]
inc ecx
mov dword [eax + 0x1d0], ecx
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
lea edx, [ecx + 0xc4]
test byte [edx], al
mov edx, eax
mov dword [ecx + 0xc4], eax
lea eax, [edx + 0x88]
test byte [eax], al
mov eax, dword [edx + 0x18]
mov dword [edx + 0x88], eax
mov dword [esp], 0
lea eax, [0x52b7c0]
mov dword [esp + 4], eax
call fcn.004245e0
test eax, eax
jne 0x43d14b
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [esp + 0xc], eax
lea ecx, [eax + 0x21c]
test byte [ecx], al
mov edx, dword [esp + 0x14]
mov dword [eax + 0x21c], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 0x220], edx
lea edx, [esp + 0x1c]
mov dword [eax + 0x224], edx
mov edx, dword [0x5c294c]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00402480
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x228]
mov edx, dword [eax + 0x22c]
mov eax, dword [eax + 0x230]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
nop
call fcn.00424e00
add esp, 0x10
ret
nop
call fcn.00424e00
add esp, 0x10
ret
Function at 0x442240
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4422df
sub esp, 0x30
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.0044a117
lea ecx, [0x447fd0]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 8]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 4]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call fcn.004485c0
mov ecx, dword [esp + 4]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.004486e0
jmp fcn.00442240
Function at 0x449a70
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x449ab0
movd xmm0, dword [esp + 8]
pinsrw xmm0, ebx, 4
pshufhw xmm0, xmm0, 0
movdqa xmm1, xmm0
pxor xmm0, xmmword [0x5d3c20]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x449aeb
je 0x449b3a
cmp ebx, 0x20
jbe 0x449b40
cmp ebx, 0x40
jbe 0x449b7e
jmp 0x449c0f
test ebx, ebx
je 0x449b30
add eax, 0x10
test ax, 0xff0
je 0x449b1c
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x53c0a0]
aesenc xmm1, xmm0
aesenc xmm1, xmm1
aesenc xmm1, xmm1
movd dword [edx], xmm1
ret
movdqu xmm1, xmmword [eax + ebx - 0x20]
add ebx, ebx
pshufb xmm1, xmmword [ebx*8 + 0x53c1a0]
jmp 0x449b08
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x449b08
pxor xmm1, xmmword [0x5d3c30]
aesenc xmm1, xmm1
movdqu xmm2, xmmword [eax]
movdqu xmm3, xmmword [eax + ebx - 0x10]
aesenc xmm2, xmm0
aesenc xmm3, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
pxor xmm2, xmm3
movd dword [edx], xmm2
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x5d3c30]
pxor xmm2, xmmword [0x5d3c40]
pxor xmm3, xmmword [0x5d3c50]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax]
movdqu xmm5, xmmword [eax + 0x10]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x5d3c30]
pxor xmm2, xmmword [0x5d3c40]
pxor xmm3, xmmword [0x5d3c50]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax + ebx - 0x40]
movdqu xmm5, xmmword [eax + ebx - 0x30]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
dec ebx
shr ebx, 6
movdqu xmm0, xmmword [eax]
movdqu xmm1, xmmword [eax + 0x10]
movdqu xmm2, xmmword [eax + 0x20]
movdqu xmm3, xmmword [eax + 0x30]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
add eax, 0x40
dec ebx
jne 0x449c6e
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
Function at 0x44ab60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword fs:[0x14]
mov edx, esp
sub esp, 0x238
mov dword [esp], esp
mov dword [esp + 4], 0x238
call fcn.0044a640
lea ecx, [esp + 0x30]
mov dword fs:[0x14], ecx
mov ebx, esp
sub esp, 0xd8
mov dword [ecx], esp
mov dword [ebx], esp
mov dword [esp], esp
mov dword [esp + 4], 0xd8
call fcn.0044a640
lea ebx, [esp + 0xd8]
mov dword [esp + 0x18], ebx
lea ecx, [esp - 0x8000]
mov dword [esp], ecx
add ecx, 0xb70
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 4], edx
push eax
push dword [ebp + 0x10]
call dword [ebp + 8]
pop ecx
pop eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov esp, dword [ecx + 4]
pop dword fs:[0x14]
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x44ac00
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
mov eax, esp
mov dword [edx + 4], eax
sub eax, 0x10000
mov dword [edx], eax
add eax, 0xb70
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
lea esi, [ecx + 0x30]
mov dword fs:[0x14], esi
mov dword [edx + 0x18], ecx
mov dword [esi], edx
cld
call fcn.004499d0
call fcn.00429660
ret
Function at 0x466850
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x466972
sub esp, 0x4c
mov eax, dword [esp + 0x64]
test eax, eax
jle 0x46696b
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x40], ecx
mov eax, dword [0x5c2a68]
mov dword [esp], eax
call fcn.00463e30
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x44], ecx
mov dword [esp], eax
mov dword [esp + 4], 7
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
call fcn.0043d270
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
test eax, eax
jne 0x466965
test ecx, ecx
je 0x466957
cmp ecx, 0x3e5
jne 0x46692b
mov ecx, dword [0x5bed74]
mov edx, dword [0x5bed70]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ecx
add esp, 0x4c
ret
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
lea eax, [0x53b680]
mov dword [esp], eax
lea eax, [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.0040ac00
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x38]
jmp 0x46691b
lea ecx, [0x53a93c]
lea edx, [0x53b680]
jmp 0x46691b
xor edx, edx
mov ecx, edx
jmp 0x46691b
xor ecx, ecx
jmp 0x466879
call fcn.004486e0
jmp fcn.00466850
Function at 0x468980
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x468a6f
sub esp, 0x54
mov eax, dword [0x5c2b48]
mov dword [esp], eax
call fcn.00463e30
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x3c], ecx
mov dword [esp], eax
mov dword [esp + 4], 8
mov eax, dword [esp + 0x58]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0
call fcn.0043d270
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x468a4b
xor eax, eax
mov ecx, eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x54
ret
mov dword [esp + 0x38], eax
lea eax, [0x53b680]
mov dword [esp], eax
lea eax, [esp + 0x38]
mov dword [esp + 4], eax
call fcn.0040ac00
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
jmp 0x468a3f
call fcn.004486e0
jmp fcn.00468980

Function at 0x468ee0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x468fec
sub esp, 0x4c
mov eax, dword [0x5c2ba0]
mov dword [esp], eax
call fcn.00463e30
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x3c], ecx
mov dword [esp], eax
mov dword [esp + 4], 9
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x28], eax
call fcn.0043d270
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
cmp eax, 0xffffffff
jne 0x468fe6
test ecx, ecx
je 0x468fd8
cmp ecx, 0x3e5
jne 0x468fb4
mov eax, dword [0x5bed70]
mov ecx, dword [0x5bed74]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x4c
ret
mov dword [esp + 0x38], ecx
lea eax, [0x53b680]
mov dword [esp], eax
lea eax, [esp + 0x38]
mov dword [esp + 4], eax
call fcn.0040ac00
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
jmp 0x468fa8
lea ecx, [0x53a914]
lea eax, [0x53b680]
jmp 0x468fa8
xor ecx, ecx
mov eax, ecx
jmp 0x468fa8
call fcn.004486e0
jmp fcn.00468ee0
Function at 0x4d9bb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xb8]
cmp eax, dword [ecx + 8]
jbe 0x4d9e14
sub esp, 0x138
call fcn.004d9a30
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
test edx, edx
jne 0x4d9dde
mov dword [esp + 0x20], eax
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x4d9c17
mov eax, dword [esp + 0x38]
lea ecx, [eax + 0x4c]
mov eax, dword [esp + 0x30]
inc eax
mov ebp, ebx
mov esi, edx
mov edx, eax
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
cmp edx, eax
jge 0x4d9dac
mov dword [esp + 0x30], edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x28], esi
mov dword [esp + 0x38], ecx
lea edi, [esp + 0x8c]
mov esi, ecx
call fcn.0044a572
lea edi, [esp + 0x40]
lea esi, [esp + 0x8c]
call fcn.0044a572
lea edi, [esp + 0xd8]
lea esi, [0x53bfa0]
call fcn.0044a540
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], ecx
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004453b0
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0xe0], xmm0
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004453b0
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0xe8], xmm0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004453b0
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0xf0], xmm0
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004453b0
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x108], xmm0
mov eax, dword [esp + 0x24]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x28]
cmp ecx, edx
jg 0x4d9d72
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x24], ecx
lea eax, [eax + eax*2]
mov ebp, dword [0x5d3b70]
shl eax, 5
lea edi, [ebx + eax]
test ebp, ebp
jne 0x4d9d40
lea esi, [esp + 0xd8]
call fcn.0044a540
jmp 0x4d9bfd
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], edx
lea eax, [0x517060]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0xd8]
mov dword [esp + 8], eax
call fcn.0040d9d0
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x34]
jmp 0x4d9bfd
lea ebx, [0x517060]
mov dword [esp], ebx
mov ebp, dword [esp + 0x3c]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.00436d70
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x24]
jmp 0x4d9d18
mov dword [esp + 0x13c], ebp
mov dword [esp + 0x140], ebx
mov dword [esp + 0x144], esi
mov dword [esp + 0x148], 0
mov dword [esp + 0x14c], 0
add esp, 0x138
ret
mov dword [esp + 0x13c], 0
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0
mov dword [esp + 0x148], edx
mov dword [esp + 0x14c], ebx
add esp, 0x138
ret
call fcn.004486e0
jmp fcn.004d9bb0
Function at 0x4e5240
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4e5399
sub esp, 0x80
call fcn.00476a40
lea edi, [esp + 0x54]
mov esi, esp
call fcn.0044a5fe
mov eax, dword [esp + 0x84]
mov eax, dword [eax + 8]
neg eax
mov dword [esp + 0x1c], eax
mov edi, esp
lea esi, [esp + 0x54]
call fcn.0044a5fe
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.004765c0
lea esi, [esp + 0x20]
lea edi, [esp + 0x40]
call fcn.0044a5fe
mov edi, esp
lea esi, [esp + 0x40]
call fcn.0044a5fe
call fcn.004757b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], edx
lea edi, [esp + 0x68]
xor eax, eax
call fcn.0044a11a
lea eax, [0x5003c0]
mov dword [esp], eax
lea ecx, [esp + 0x3c]
mov dword [esp + 4], ecx
call fcn.0040a910
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea eax, [0x5025e0]
mov dword [esp], eax
lea eax, [esp + 0x38]
mov dword [esp + 4], eax
call fcn.0040a910
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
lea eax, [0x5003c0]
mov dword [esp], eax
lea eax, [esp + 0x34]
mov dword [esp + 4], eax
call fcn.0040a910
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
lea eax, [0x521271]
mov dword [esp], eax
mov dword [esp + 4], 0xc
lea eax, [esp + 0x68]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 3
call fcn.00499a60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x80
ret
call fcn.004486e0
jmp fcn.004e5240
Function at 0x4044f8
Capabilities:
Identify system language via api

Disassembly:
cmp byte [0x435000], 0
push ebx
push ebp
push esi
push edi
mov edi, 0xffff
mov ebx, 0x435000
je 0x404517
push ebx
call fcn.0040681c
jmp 0x40451d
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
xor ecx, ecx
mov esi, dword [0x42ec64]
test esi, esi
je 0x404570
mov ecx, dword [0x42ec28]
mov ecx, dword [ecx + 0x5c]
mov edx, ecx
imul ecx, esi
neg edx
add ecx, dword [0x42ec60]
add ecx, edx
dec esi
mov bp, word [ecx]
xor bp, ax
and ebp, edi
test bp, bp
je 0x404555
test esi, esi
jne 0x40453f
jmp 0x404570
mov edx, dword [ecx + 2]
mov dword [0x42e400], edx
mov edx, dword [ecx + 6]
mov dword [0x42eca4], edx
lea edx, [ecx + 0xa]
mov dword [0x42e3fc], edx
cmp dword [0x42e3fc], 0
jne 0x40458b
cmp di, 0xffff
jne 0x404587
mov edi, 0x3ff
jmp 0x40451f
xor edi, edi
jmp 0x40451f
movzx eax, word [ecx]
push eax
push ebx
call fcn.00406803
push 0xfffffffffffffffe
push 0x42e420
call fcn.004068b1
push eax
push dword [0x42b5f8]
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x406273
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push dword [ebp + 0xc]
mov dword [0x42ce20], 0x44
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
je 0x406297
test al, 0x10
jne 0x40629a
mov dword [ebp + 0xc], ecx
lea eax, [ebp - 0x10]
push eax
push 0x42ce20
push dword [ebp + 0xc]
push ecx
push ecx
push ecx
push ecx
push ecx
push dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4062c5
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 8

Function at 0x40633c
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.0040648e
test eax, eax
je 0x4063a0
test byte [ebp + 0xc], 1
push esi
je 0x406389
mov eax, dword [0x42ec24]
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x20], eax
call sub.KERNEL32.dll_lstrlenA
and byte [eax + esi + 1], 0
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], esi
push eax
mov word [ebp - 0x10], 0x414
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
jmp 0x4063a0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x4063a0
test byte [ebp + 0xc], 2
je 0x4063a0
push eax
push esi
call fcn.004065e2
pop esi
leave
ret 8
Function at 0x10001000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x100d8000]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], 0x9a3712f3
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
sub eax, 0x9a3712f3
je 0x1000108c
jmp 0x1000103b
mov eax, dword [ebp - 0x24]
sub eax, 0xe1a24bb1
je 0x1000113a
jmp 0x1000104e
mov eax, dword [ebp - 0x24]
sub eax, 0xed347822
je 0x100010da
jmp 0x10001061
mov eax, dword [ebp - 0x24]
sub eax, 0xf8eb465b
je 0x10001185
jmp 0x10001074
mov eax, dword [ebp - 0x24]
sub eax, 0x7afecbc9
je 0x1000112e
jmp 0x10001087
jmp 0x10001192
mov eax, dword [0x100d9348]
mov ecx, dword [0x100d9344]
mov edx, eax
sub edx, 0xadcbb6c0
sub edx, 1
add edx, 0xadcbb6c0
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0xf8eb465b
mov ecx, 0xed347822
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x10001192
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [0x100d9348]
mov ecx, dword [0x100d9344]
mov edx, eax
add edx, 0xf5b5802f
sub edx, 1
sub edx, 0xf5b5802f
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0xf8eb465b
mov ecx, 0x7afecbc9
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x10001192
mov dword [ebp - 0x18], 0xe1a24bb1
jmp 0x10001192
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
nop
mov eax, ebx
mov ebx, 0x99
nop
xor ebx, eax
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
not byte [edi]
nop
mov eax, ebx
mov ebx, 0x99
nop
xor ebx, eax
add byte [edi], 0x79
sub byte [edi], 0x35
nop
mov eax, ebx
mov ebx, 0x99
nop
xor ebx, eax
imul byte [edi]
inc edi
loop 0x10001151
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.10017740
add esp, 0x1c
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0xed347822
jmp 0x10001025
Function at 0x10008d50
Capabilities:
Allocate or change rwx memory
Create process on windows
Encode data using base64
Encrypt data using speck
Execute anti-debugging instructions
Execute shellcode via indirect call
Hide graphical window
Parse credit card information
Parse pe header
Resume thread

Disassembly:
jmp 0x1000bb64
push ebp
sal bp, 0x91
mov ebp, esp
shrd ecx, esp, 0x39
push ebx
bt cx, bx
sal cx, 0x2e
cmp sp, 0xa18d
push edi
bsr cx, ax
push esi
and ecx, 0xf23ccabd
btc eax, esp
sub esp, 0x114
rcr ch, cl
mov eax, dword [0x100d8000]
xor eax, ebp
or cl, 0x3a
neg dx
mov dword [ebp - 0x10], eax
mov ecx, dword [0x100d9328]
mov eax, dword [0x100d9324]
btr edx, 0x3c
test ebp, 0x39a21589
mov dx, bp
mov edx, ecx
test dx, sp
lea edx, [edx - 0xb0330d1]
cmc
lea edx, [edx - 1]
sub edx, 0xf4fccf2f
imul ecx, edx
cmc
and ecx, 1
test dx, 0x96a7
cmp ecx, 0
mov cl, 0xb7
sete cl
and cl, 1
cmp bp, 0xe5be
test dx, 0xfcb6
mov byte [ebp - 0x116], cl
stc
test di, 0xce0d
cmp edi, ebx
cmp eax, 0xa
setl al
cmc
and al, 1
test esp, 0xd70d7313
mov byte [ebp - 0x115], al
sal eax, 0xb9
not al
mov dword [ebp - 0x11c], 0x83d777dd

Function at 0x1001ab13
Capabilities:
Parse pe header

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