joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46caf0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x86fcd0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x46cc6a
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x46cc60
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x46cb4a
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x46cb4a
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov byte [esp + 0x38], 0
add esp, 0x10
ret
test ebx, 0x80
je 0x46cb5d
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x46cc37
mov eax, 1
mov ebp, ebx
and ebx, 1
neg ebx
shr ebp, 1
xor ebx, ebp
mov ebp, dword [esp + 0x24]
add dword [ebp], ebx
cmp ecx, eax
jb 0x46cc2b
sub ecx, eax
mov ebx, dword [esp + 0x1c]
sub ebx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
lea ebx, [edx + eax]
test ecx, ecx
jbe 0x46cc22
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x46cbb0
mov dword [esp + 0xc], ecx
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x46cbf3
mov eax, 1
cmp eax, ecx
ja 0x46cbe7
mov esi, dword [esp + 0x20]
add dword [esi], edx
sub ebp, eax
sub ecx, eax
mov edx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
add eax, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov byte [esp + 0x38], 1
add esp, 0x10
ret
call fcn.00470680
lea esi, [ecx + 7]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
jae 0x46cc1d
movzx edi, byte [eax + ebx]
xchg edi, eax
mov byte [esp + 0xb], al
xchg edi, eax
and edi, 0x7f
mov ecx, esi
shl edi, cl
inc eax
or edx, edi
movzx edi, byte [esp + 0xb]
xchg edi, eax
test al, 0x80
xchg edi, eax
jne 0x46cbec
mov ecx, dword [esp + 0xc]
jmp 0x46cbb5
call fcn.00470620
xor eax, eax
mov ecx, eax
call fcn.00470610
call fcn.00470680
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jbe 0x46cc5b
movzx esi, byte [eax + edx]
mov edi, esi
and esi, 0x7f
mov ecx, ebp
shl esi, cl
inc eax
or ebx, esi
xchg edi, eax
test al, 0x80
xchg edi, eax
jne 0x46cc30
mov ecx, dword [esp + 0x18]
jmp 0x46cb62
call fcn.00470620
xor eax, eax
mov ecx, eax
call fcn.00470610
nop
call fcn.0046f190
jmp fcn.0046caf0
Function at 0x46e440
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x86fcd0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x46e4db
sub esp, 0x30
lea ecx, [esp + 0x34]
mov dword [esp + 4], ecx
mov edx, dword [0x86fcd0]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov dword [esp + 8], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.00470827
lea ecx, [0x4595e0]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
lea ecx, [esp + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call fcn.0046f0a0
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.0046f190
jmp fcn.0046e440
Function at 0x470440
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movd xmm0, dword [esp + 8]
pinsrw xmm0, ebx, 4
pshufhw xmm0, xmm0, 0
movdqa xmm1, xmm0
pxor xmm0, xmmword [0x8700c0]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x46ebcb
je 0x46ec1e
cmp ebx, 0x20
jbe 0x46ec24
cmp ebx, 0x40
jbe 0x46ec6a
jmp 0x46ed0b
test ebx, ebx
je 0x46ec14
add eax, 0x10
test ax, 0xff0
je 0x46ec00
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x6a1c00]
pxor xmm1, xmm0
aesenc xmm1, xmm1
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 + 0x6a1d00]
jmp 0x46ebe8
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x46ebe8
pxor xmm1, xmmword [0x8700d0]
aesenc xmm1, xmm1
movdqu xmm2, xmmword [eax]
movdqu xmm3, xmmword [eax + ebx - 0x10]
pxor xmm2, xmm0
pxor xmm3, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
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 [0x8700d0]
pxor xmm2, xmmword [0x8700e0]
pxor xmm3, xmmword [0x8700f0]
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]
pxor xmm4, xmm0
pxor xmm5, xmm1
pxor xmm6, xmm2
pxor 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
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 [0x8700d0]
pxor xmm2, xmmword [0x8700e0]
pxor xmm3, xmmword [0x8700f0]
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 0x46ed6a
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
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
cmp byte [0x86fb8a], 0
je 0x47045a
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x46eb90
jmp fcn.004091b0
Function at 0x408094
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x471be8]
jne 0x40809e
repz ret
jmp fcn.00409f5e

Function at 0x4098ca
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x471be8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00405b5c
and dword [ebp - 0x14], 0
cmp dword [0x489160], 0
mov dword [ebp - 0x18], eax
jne 0x40997d
push 0x4029d4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x409a25
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4029c8
push ebx
call edi
test eax, eax
je 0x409a25
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4029b8
push ebx
mov dword [0x489160], eax
call edi
push eax
call esi
push 0x4029a4
push ebx
mov dword [0x489164], eax
call edi
push eax
call esi
push 0x402988
push ebx
mov dword [0x489168], eax
call edi
push eax
call esi
mov dword [0x489170], eax
test eax, eax
je 0x40997d
push 0x402970
push ebx
call edi
push eax
call esi
mov dword [0x48916c], eax
mov eax, dword [0x48916c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4099d6
cmp dword [0x489170], ecx
je 0x4099d6
push eax
call esi
push dword [0x489170]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4099d6
test ebx, ebx
je 0x4099d6
call edi
test eax, eax
je 0x4099cd
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4099cd
test byte [ebp - 8], 1
jne 0x4099d6
or dword [ebp + 0x10], 0x200000
jmp 0x409a09
mov eax, dword [0x489164]
cmp eax, dword [ebp - 0x18]
je 0x409a09
push eax
call esi
test eax, eax
je 0x409a09
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x409a09
mov eax, dword [0x489168]
cmp eax, dword [ebp - 0x18]
je 0x409a09
push eax
call esi
test eax, eax
je 0x409a09
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x489160]
call esi
test eax, eax
je 0x409a25
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x409a27
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408094
leave
ret
Function at 0x10039f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001ff0
push 0x1003c80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffff98
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
add esp, 4
mov dword [0x100532c], 0xffffffff
mov dword [0x1005330], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x1005320]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov edx, dword [0x100531c]
mov dword [eax], edx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov ecx, dword [eax]
mov dword [0x1005328], ecx
call fcn.01003c70
mov eax, dword [0x1005240]
test eax, eax
jne 0x1003a81
push 0x1003c60
call dword [sym.imp.MSVCRT.dll___setusermatherr]
add esp, 4
call fcn.01003c40
push 0x1005014
push 0x1005010
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [0x1005318]
mov dword [ebp - 0x6c], edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [0x1005314]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVCRT.dll___getmainargs]
add esp, 0x14
push 0x100500c
push 0x1005000
call sub.MSVCRT.dll__initterm
add esp, 8
call dword [sym.imp.MSVCRT.dll___p__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x74], esi
cmp byte [esi], 0x22
jne 0x1003b8f
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x1003af5
cmp al, 0x22
jne 0x1003ae7
cmp byte [esi], 0x22
jne 0x1003afe
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x1003b0e
cmp al, 0x20
ja 0x1003b0e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x1003afe
mov dword [ebp - 0x30], 0
lea edx, [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x1003b2f
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x1003b34
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
jmp 0x1003b74
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x1003afe
inc esi
mov dword [ebp - 0x74], esi
jmp 0x1003b8f
Function at 0x4f4023e0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x4f434070]
xor eax, ebp
mov dword [ebp - 4], eax
nop
mov eax, dword fs:[0x30]
nop
nop
mov dword [ebp - 8], eax
nop
mov al, byte [eax + 2]
mov byte [0x4f435eec], al
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
call fcn.4f402290
mov ecx, dword [ebp - 0x1c]
sub ecx, 8
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
je 0x4f402442
mov byte [ebp - 9], 1
jmp 0x4f402446
mov byte [ebp - 9], 0
movzx eax, byte [ebp - 9]
push eax
call fcn.4f402280
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x4f40245f
jmp 0x4f40255b
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x34], ecx
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 0
je 0x4f40248f
mov byte [ebp - 0xa], 1
jmp 0x4f402493
mov byte [ebp - 0xa], 0
movzx eax, byte [ebp - 0xa]
push eax
call fcn.4f402280
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x4f4024ac
jmp 0x4f40255b
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 0xc]
mov dword [ebp - 0x38], ecx
push 2
mov edx, dword [ebp - 0x38]
push edx
call fcn.4f402c50
add esp, 8
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x50], 0x763b5bb9
mov dword [ebp - 0x4c], 0xdfc4fbd0
mov dword [ebp - 0x48], 0x6876ea27
mov dword [ebp - 0x44], 0x5faf316f
mov dword [ebp - 0x40], 0xb2c4cb30
mov dword [ebp - 0x3c], 5
mov dword [ebp - 0x14], 0
jmp 0x4f40250e
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x3c]
jge 0x4f402539
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + edx*4 - 0x50]
jne 0x4f402537
mov dword [0x4f435ed4], 1
mov ecx, dword [ebp - 0x18]
mov dword [0x4f435ed8], ecx
jmp 0x4f402539
jmp 0x4f402505
cmp dword [ebp - 0x18], 0xad74dbf2
je 0x4f40254b
cmp dword [ebp - 0x18], 0x6e2bca17
jne 0x4f40255b
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.4f402150
add esp, 8
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x28]
jne 0x4f402417
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.4f4083c0
mov esp, ebp
pop ebp
ret
Function at 0x4f405feb
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x4f423f2a
call fcn.4f408b90
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x4f406108
cmp byte [ebx + 0x3e], 0
je 0x4f406108
mov eax, dword [ebx]
mov edi, 0xffff
push edi
mov esi, dword [eax + 0xc]
mov ecx, esi
call fcn.4f408b30
mov ecx, ebx
call esi
movzx eax, ax
cmp di, ax
sete al
test al, al
je 0x4f406037
xor al, al
jmp 0x4f40610a
xor eax, eax
mov dword [ebp - 0x14], 0xf
push eax
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.4f406458
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov edx, ecx
cmp eax, 0x10
jae 0x4f406067
lea edx, [ebp - 0x28]
mov ecx, edx
mov edi, dword [ebx + 0x38]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
add eax, edx
mov esi, dword [edi]
push eax
push ecx
lea eax, [ebx + 0x40]
mov ecx, dword [esi + 0x20]
push eax
call fcn.4f408b30
mov ecx, edi
call dword [esi + 0x20]
sub eax, 0
je 0x4f40609c
sub eax, 1
je 0x4f4060a0
dec eax
sub eax, 1
je 0x4f4060f6
xor bl, bl
jmp 0x4f4060f8
mov byte [ebx + 0x3e], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
mov edx, ecx
cmp eax, 0x10
jae 0x4f4060b0
lea edx, [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
sub esi, edx
je 0x4f4060d8
cmp eax, 0x10
jae 0x4f4060bf
lea ecx, [ebp - 0x28]
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.4f4102fa
add esp, 0x10
cmp esi, eax
jne 0x4f406098
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp byte [ebx + 0x3e], 0
je 0x4f4060f6
test esi, esi
jne 0x4f40605b
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.4f4063fb
jmp 0x4f406055
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.4f4038c0
mov al, bl
jmp 0x4f40610a
mov al, 1
call fcn.4f408b4b
ret

Function at 0x4f416bd4
Capabilities:
Read file on windows

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

Function at 0x4f416bdf
Capabilities:
Read file on windows

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x168827d0
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
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
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0xb4c47f8
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x10015670
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x28
push esi
push edi
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 8]
lea edx, [esp + 8]
rep stosd dword es:[edi], eax
mov eax, dword [0x10038940]
mov ecx, dword [sym.imp.USER32.dll_DefWindowProcA]
mov dword [esp + 0x18], eax
mov eax, 0xc
push edx
mov dword [esp + 0x30], str.dummy
mov dword [esp + 0x10], ecx
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
je 0x1001570c
mov eax, dword [0x10038940]
push 0
push eax
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0
push str.dummy
push str.dummy
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
je 0x1001570c
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
pop edi
pop esi
add esp, 0x28
ret

Function at 0x10017a90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edx, dword [eax]
mov esi, dword [eax + 4]
mov eax, dword [0x1002c248]
xor edi, edi
mov dword [ebp - 4], eax
jmp 0x10017abb
xchg edi, edi
je 0x10017ab3
xchg ebp, ebp
add eax, 0x5bc2758b
jmp 0x10017ac2
mov eax, 0x4275042e
jmp 0x10017aad
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov eax, ecx
dec ecx
test eax, eax
jbe 0x10017b35
mov eax, dword [ebp + 0xc]
inc ecx
mov dword [ebp + 0xc], ecx
mov ebx, dword [eax + 4]
mov dword [ebp - 0xc], ebx
mov ebx, dword [eax]
mov dword [ebp - 4], ebx
mov ebx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
mov ecx, esi
add edi, eax
mov eax, dword [ebp - 4]
shl ecx, 4
add ecx, eax
mov eax, esi
shr eax, 5
add eax, ebx
mov ebx, dword [ebp - 0x14]
xor ecx, eax
lea eax, [edi + esi]
xor ecx, eax
mov eax, dword [ebp - 0x10]
add edx, ecx
mov ecx, edx
shl ecx, 4
add ecx, eax
mov eax, edx
shr eax, 5
add eax, ebx
xor ecx, eax
lea eax, [edi + edx]
xor ecx, eax
mov eax, dword [ebp + 0xc]
add esi, ecx
dec eax
mov dword [ebp + 0xc], eax
jne 0x10017aed
mov eax, dword [ebp + 8]
pop edi
mov dword [eax + 4], esi
pop esi
mov dword [eax], edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10017b50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, dword [eax]
mov edx, dword [eax + 4]
mov edi, dword [0x1002c248]
jmp 0x10017b6d
mov eax, ecx
jmp 0x10017b7e
mov ecx, 0x92073839
nop
nop
mov ebx, 0xc304180
or ecx, ebx
jmp 0x10017b69
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, edi
shl eax, 5
dec edi
test ecx, ecx
jbe 0x10017bf4
mov ecx, dword [ebp + 0xc]
inc edi
mov dword [ebp + 0xc], edi
mov ebx, dword [ecx + 8]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ecx + 0xc]
mov dword [ebp - 8], ebx
mov ebx, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ecx
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
mov ecx, esi
shr ecx, 5
add ecx, edi
mov edi, esi
shl edi, 4
add edi, ebx
mov ebx, dword [ebp - 0x14]
xor ecx, edi
lea edi, [eax + esi]
xor ecx, edi
mov edi, dword [ebp - 0x10]
sub edx, ecx
mov ecx, edx
shr ecx, 5
add ecx, edi
mov edi, edx
shl edi, 4
add edi, ebx
xor ecx, edi
lea edi, [eax + edx]
xor ecx, edi
mov edi, dword [ebp - 4]
sub esi, ecx
mov ecx, dword [ebp + 0xc]
sub eax, edi
dec ecx
mov dword [ebp + 0xc], ecx
jne 0x10017bac
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
mov dword [eax + 4], edx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1001a5e0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x24
push ebx
push ebp
mov ebp, dword [esp + 0x34]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
push edi
mov edi, dword [esp + 0x40]
xor ebx, ebx
lea eax, [ebx + 0x41]
lea ecx, [esp + 0x40]
push eax
push str._c:_
push ecx
call fcn.1001eb80
add esp, 0xc
lea edx, [esp + 0x40]
push edx
call esi
cmp eax, 5
jne 0x1001a636
push edi
lea eax, [esp + 0x14]
push 0
lea ecx, [esp + 0x48]
push eax
push ecx
call fcn.1001cf10
mov eax, dword [esp + 0x24]
add esp, 0x10
cmp eax, ebp
je 0x1001a647
inc ebx
cmp ebx, 0x1a
jb 0x1001a5f7
xor ax, ax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1001a654
add bl, 0x41
mov byte [eax], bl
mov ax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x1001c770
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x50
push ebx
push esi
mov esi, dword [esp + 0x5c]
push edi
push 0x7f00
push 0
mov eax, dword [esi]
mov dword [esp + 0x3c], 3
mov dword [esp + 0x40], 0x1001c6e0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], eax
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push 0
mov dword [esp + 0x50], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov ecx, dword [esi + 4]
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 6
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], ecx
call dword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
jne 0x1001c7f0
pop edi
pop esi
pop ebx
add esp, 0x50
ret
mov eax, dword [esi]
lea ecx, [esp + 0x60]
mov dword [0x1003a40c], eax
lea edx, [esp + 0xc]
push ecx
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.1001c520
mov edx, dword [esi]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x1c]
add esp, 0x10
push 0
push edx
mov edx, dword [esp + 0x18]
push 0
push 0
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esi + 4]
push edx
push eax
push 0x80000000
push 0
push ecx
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
jne 0x1001c853
xor ax, ax
pop edi
pop esi
pop ebx
add esp, 0x50
ret
mov dword [0x10039604], esi
call fcn.1001bff0
test ax, ax
je 0x1001c867
xor edi, edi
jmp 0x1001c873
push esi
mov edi, 1
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push edi
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [0x10039604]
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
push 1
push 0
push 0
lea eax, [esp + 0x24]
push edx
push eax
call esi
test eax, eax
je 0x1001c8fc
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [esp + 0x1c], 0x12
je 0x1001c8e3
lea ecx, [esp + 0x18]
push ecx
call edi
lea edx, [esp + 0x18]
push edx
call ebx
mov eax, dword [0x10039604]
push 1
push 0
push 0
lea ecx, [esp + 0x24]
push eax
push ecx
call esi
test eax, eax
jne 0x1001c8ac
mov ax, 1
pop edi
pop esi
pop ebx
add esp, 0x50
ret
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [0x10039604]
push edx
push eax
push 0x12
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
mov ax, 1
pop ebx
add esp, 0x50
ret