joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413bd4
Capabilities:
Encode data using xor

Disassembly:
mov ebp, 0xc0deebc5
cmp byte [ebx + 0x33], al
adc dword [edi + 0x18cbaa3e], 0x7c
or ah, byte [esi + 5]
leave
mov ah, 0xc0
inc edi
int3
adc edi, dword [edx + 0x76]
aaa
jbe 0x413c0f
inc ebp
aaa
popal
jo 0x413bd6
out 0x5c, eax
jb 0x413baa
leave
inc ebp
add byte [ecx], cl
xor ebx, dword [ebx + ebx + 0x63]
xchg ebx, eax
cmpsb byte [esi], byte es:[edi]
adc byte [edx + 0x73e9405c], 0x37
out 0x62, eax
fucompi st(4)
in eax, 0x67
daa
jnp 0x413be0
pop ds
and byte [eax + edi*4 - 0x46d2f5eb], cl
invalid
mov eax, 0xb92d0a15
scasd eax, dword es:[edi]
shr byte [edi + eax*2 - 0x326253ea], cl
mov dh, al
mov ecx, 0x466b1717
xchg byte [edx - 0x3a], bl
cmpsd dword [esi], dword es:[edi]
vshufpd ymm1, ymm7, ymm5, 0x17
or dword [ebx - 0x1f], edi
dec ebp
stc
mov dword [eax - 0x25], 0x3d5eb6c7
xchg edi, eax
push eax
imul eax, dword [0x668b7c17], 0x47
invalid

Function at 0x4208e7
Capabilities:
Encode data using xor

Disassembly:
sub al, 0x53
dec edi
dec esp
jae 0x42091c
add dl, byte [edi]
ret 0x619a
mov dh, cl
jo 0x4208cb
xchg ebp, eax
into
adc dword [edx], eax
push ebp
scasb al, byte es:[edi]
add dl, byte [ebp + 0x2e]
scasb al, byte es:[edi]
or dword [ebp - 0x2e], edi
sal ebp, cl
iretd
push 0x32
jns 0x420907
xor bh, byte [ecx + 0x1c]
mov dword [ebx + edx*2 - 0x6b950481], ebp
xchg byte [edx + 6], dl
jl 0x420962
jecxz 0x4208e8
sub al, byte [esi]
sub ebx, dword [edx + 0x7efa0df7]
invalid
push ebp
shl byte [ecx - 0x2b], cl
pop edi
dec eax
and eax, 0x9a6f267f
bswap edx
scasd eax, dword es:[edi]
jnp 0x4208a9
mov bl, 0xb
mov byte [0xa6e31e32], al
jecxz 0x4208c4
jb 0x420943
mov ecx, 0xcd2941c9
leave
inc ecx
sub ebp, ecx
xchg dword [edx - 0x785d93ba], edx
popal
sub eax, 0x371b5b93
xor eax, 0xb6eea61e
mov ah, 0x19
or cl, byte [eax]
add eax, 0x9987efe9
dec ebp
je 0x420921
inc edx
xchg edi, eax
insb byte es:[edi], dx
jl 0x4209ad
pop ds
push cs
sbb ebp, dword [ecx - 0x52d3b9e6]
and al, al
fsub qword [ecx + 0x33d2ddc4]
add ebp, dword [ebx]
sbb ch, byte [0x5caa7214]
jno 0x420974
test al, dh
aaa
push ebp
pushfd
cwde
sbb al, 0x26
push edx
adc dword [ebp + 0x70], ebx
dec ebx
retf
invalid
inc eax
lea edx, [eax]
add ecx, dword [ecx - 0x113c2b6]
push ecx
mov eax, 0xb4a783ee
xchg dword [edx - 0x66], edi
hlt
ret

Function at 0x42429a
Capabilities:
Encode data using xor

Disassembly:
dec esi
and dword [ebp + ecx*8 - 0x1a], 0x56
fidiv word [edi + 0x79]
arpl word [edi - 0x6f], cx
push edi
invalid
Function at 0x42574d
Capabilities:
Encode data using xor

Disassembly:
out dx, al
xchg ebx, ebx
sub edx, esp
jns 0x425750
and al, 0xd5
bound ebp, qword [esi + eax - 8]
adc al, 0xf6
inc esp
cli
sbb dword [eax], esp
sub cl, 0x49
jg 0x4257c4
ja 0x42578d
mul ebp
in eax, 0x35
inc esp
xchg ebp, eax
xor eax, 0xf6579544
push ecx
jp 0x4257cb
push edi
not byte [ecx + 0x7a]
jbe 0x425762
or al, 0x94
xchg esp, eax
jp 0x42574c
out dx, al
dec eax
daa
push ds
pop ebp
bound ebp, qword [ecx + 0x1f]
mov ah, 0x52
push edx
inc edi
push ebx
add al, 0xc2
inc esi
xchg ebp, eax
add eax, 0xd0dbcd05
xor byte [esi + edx], ah
out dx, al
xor ebp, ebx
mov eax, dword [0xfb0e33c6]
pop ebp
push 0x46680f7a
cmpsd dword [esi], dword es:[edi]
add byte [edx + 0x1c59914b], dl
xchg byte [edi - 0x78344d1], ah
test byte cs:[ebx + 0x4c], 0xb
test byte [ebx + 0x4c], 0xb
or al, 0x80
cmpsd dword [esi], dword es:[edi]
sub cl, byte [0xf70503b]
push eax
jo 0x4257a9
cmpsd dword es:[esi], dword es:[edi]
xchg esi, eax
xchg edi, eax
xor al, 0xd3
test byte [eax + 0x39], cl
or byte [edi + 0x43], bl
cmp byte [edi], ah
loope 0x425797
in eax, dx
jbe 0x425731
retf 0xb517
xchg ecx, eax
inc ebp
aaa
adc ebx, dword [eax + edx*2 - 0x1dd8c2ba]
xor al, 0xc1
xchg dword [ebp - 0xf], edi
jge 0x4257b7
adc esi, eax
dec esi
loop 0x42577f
sbb ah, ah
and al, 0x11
inc edx
cmp esp, dword [ebx + 0x64d769dc]
cwde
in al, dx
jle 0x425835
cmpsd dword [esi], dword es:[edi]
adc al, 0x78
adc ah, byte [edi + 0x12]
scasd eax, dword es:[edi]
js 0x42580d
sub bl, byte es:[eax - 0x47]
mov ch, byte [edi]
dec eax
pop edi
dec esp
xchg esi, eax
outsb dx, byte [esi]
add eax, 0x9a16ee0e
retf
sbb eax, 0x1c615100
mov bh, 0x92
sbb ebp, edi
and al, 0xd2
sbb eax, 0x5e0f2540
xchg esi, eax
push ds
fcom qword [edi + 0x1d]
jne 0x425884
aad 0x93
cmp bl, byte [esi - 0x1a]
fstp st(3)
inc edx
invalid
and bl, byte [edi]
bound ebp, qword [eax]
xor cl, ah
ljmp 0xb5bb
push edx
xchg esp, eax
les edi, [esi]
dec eax
adc dword [ecx + ecx - 0x591d7d7a], 0x2b
pop ecx
ret 0x554d
Function at 0x462a80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47509b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, ecx
call fcn.0044de70
push 0xc0
call fcn.0046335e
add esp, 4
mov dword [esp + 8], eax
xor esi, esi
cmp eax, esi
mov dword [esp + 0x14], esi
je 0x462ac3
mov ecx, eax
call fcn.00440910
mov esi, eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call dword [eax + 0xa0]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x2c]
mov word [edi + 0x70], ax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
push esi
mov ecx, edi
mov word [edi + 0x72], ax
call fcn.0044def0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x46c5c0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 0xa8]
push eax
push 0
push esi
push 0x46dc60
push 0
push 0
call fcn.00463eff
add esp, 0x18
mov dword [esi + 0xa4], eax
test eax, eax
jne 0x46c5ea
pop esi
ret
push 0xf
push eax
call dword [0x47607c]
mov edx, dword [esi + 0xd0]
lea ecx, [esi + 0xd0]
push 0xffffffffffffffff
call dword [edx + 0xc]
mov eax, 1
pop esi
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x780e7471
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x6f702429
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x432006
Capabilities:
Encode data using xor

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e072
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x165c44b1
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e0d2
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x24b47621
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x20af36b2
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword [esp + 8]
cmp eax, 1
jne 0x20af379f
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, dword [0x20b0c1ec]
mov dword [0x20b0c1f0], eax
test ecx, ecx
jne 0x20af36ff
cmp al, 3
je 0x20b0159a
push 0x20b0b010
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x20af36ff
push 0x20b0b008
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x20b015b4
call fcn.20af5db1
test eax, eax
je 0x20b015c3
mov ecx, dword [0x20b0c1f0]
xor edx, edx
mov eax, ecx
mov dl, ch
and eax, 0xff
mov dword [0x20b0c1fc], edx
mov dword [0x20b0c1f8], eax
shl eax, 8
add eax, edx
shr ecx, 0x10
mov dword [0x20b0c1f4], eax
mov dword [0x20b0c1f0], ecx
call fcn.20af5ed7
test eax, eax
je 0x20b015c6
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x20b0c204], eax
call fcn.20af600a
mov ecx, dword [0x20b0c204]
mov dword [0x20b0c1e8], eax
test ecx, ecx
je 0x20b015d0
test eax, eax
je 0x20b015d0
call fcn.20af60c8
call fcn.20af61cd
call main
call fcn.20af6511
call fcn.20af65f7
mov eax, dword [0x20b0c1d8]
inc eax
mov dword [0x20b0c1d8], eax
mov eax, 1
ret 0xc
test eax, eax
jne 0x20b015e4
mov eax, dword [0x20b0c1d8]
test eax, eax
jle 0x20b015df
mov ecx, eax
mov eax, dword [0x20b0c200]
dec ecx
test eax, eax
mov dword [0x20b0c1d8], ecx
jne 0x20af37cb
call fcn.20af6c6d
call fcn.20af6ecb
call fcn.20af6f2d
call fcn.20af6fff
mov eax, 1
ret 0xc
add byte [ecx], 0xf
add byte [eax], dh
add byte [ecx], 0xa
add al, byte [edx - 0x23fffeff]
aaa
outsb dx, byte [esi]
sti
scasd eax, dword es:[edi]
enter 0x4a42, 0x71
sbb al, cl
into
dec eax
push ebx
sar dl, 0xab
adc al, 0xba
sub al, 0x32
mov ebx, 0xc8524f12
sub ebp, 0x3e
xor ebx, ecx
dec ecx
xor dword [edx + 0x6491b628], edx
loopne 0x20b015af
push eax
test byte [edx + 0x7fd14bc2], bh
add eax, 0xbe75eff8
jne 0x20b0155a
mov eax, edi
test al, 0xd5
scasb al, byte es:[edi]
imul esi, dword [eax + 0x66], 0xe8662778
mov dh, 0xb7
out dx, eax
test dword [ecx - 0x2551133], edi
stosb byte es:[edi], al
std
adc ah, byte [ebx + ecx + 0x2f292259]
pop ecx
and ch, byte [ecx]
das
iretd
dec edx
push esp
fcmovnu st(0), st(5)
int1
fidivr word [edi - 0x7f387c61]
fistp qword [edi + 0x4c]
invalid
dec esp
add dh, byte [edi]
xchg esp, eax
cmc
rcr byte [esi + 0x681e5608], 0x47
int 0xd9
sal byte [esi + 0x5c], 0x2f
jbe 0x20b0163d
das
jge 0x20b0159a
and eax, 0x5b56b404
push 0x1c
arpl di, di
cmp byte [esp + edi - 0x12], 0xd5
add al, 0x25
dec ebp
cmp dword [edi + 0x74], esi
pop es
pop ebp
ret 0xd85c
xor byte [esi + 0x73], 0x36
invalid
Function at 0x20af600a
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x20b0e7a8]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
push esi
xor esi, esi
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test eax, eax
jne 0x20af603d
call edi
mov esi, eax
test esi, esi
je 0x20b01b08
mov eax, 1
mov dword [0x20b0e7a8], eax
cmp eax, 1
jne 0x20b01b4b
test esi, esi
je 0x20b01b1a
cmp word [esi], 0
mov eax, esi
je 0x20af6068
add eax, 2
cmp word [eax], 0
jne 0x20af6056
add eax, 2
cmp word [eax], 0
jne 0x20af6056
sub eax, esi
push 0
sar eax, 1
inc eax
push 0
mov ebp, eax
push 0
push 0
push ebp
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
je 0x20b01b3d
push edi
call fcn.20af394b
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x20b01b3d
push 0
push 0
push edi
push ebx
push ebp
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x20b01b2d
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret
int3
push edx
outsd dx, dword [esi]
int3

Function at 0x20af6a60
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
lea eax, [ebp - 0x20]
push esi
mov esi, dword [0x20b0fdcc]
push eax
mov dword [ebp - 0x20], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
cmp dword [0x20b0fdc8], 1
je 0x20aff29d
sub esi, 0xd80000
shr esi, 4
imul esi, esi, 0xb
mov eax, esi
mov ecx, 0x100000
cmp eax, ecx
jb 0x20aff2a8
mov ecx, 0x3ffff
pop esi
add eax, ecx
mov edx, eax
and edx, ecx
sub eax, edx
leave
ret
aas
Function at 0x20b07a4c
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x1a8
mov eax, 0x20b0fe90
push ebx
push ebp
push esi
push edi
xor ebp, ebp
cmp ecx, dword [eax]
je 0x20b07a70
add eax, 8
inc ebp
cmp eax, 0x20b0ff20
jb 0x20b07a61
cmp ecx, dword [ebp*8 + 0x20b0fe90]
jne 0x20b07c17
mov eax, dword [0x20b10374]
cmp eax, 1
je 0x20b07bd9
test eax, eax
jne 0x20b07a9c
cmp dword [0x20b0c1ec], 1
je 0x20b07bd9
cmp ecx, 0xfc
je 0x20b07c17
lea eax, [esp + 0xb4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x20b07ad7
mov ecx, 5
mov esi, 0x20b0b8c8
lea edi, [esp + 0xb4]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esp + 0xb4]
repne scasb al, byte es:[edi]
not ecx
cmp ecx, 0x3c
jbe 0x20b07b20
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 3
mov ebx, ecx
lea ecx, [esp + 0xb8]
sub ecx, 0x3b
push 0x20b0b8c4
add ebx, ecx
push ebx
call fcn.20b08734
add esp, 0xc
mov ecx, 6
mov esi, 0x20b0b8a8
lea edi, [esp + 0x14]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
or ecx, 0xffffffff
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov ebx, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x14]
and ecx, 3
push 0x12010
rep movsb byte es:[edi], byte [esi]
mov edi, 0x20b0b8a2
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x20b0b87c
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp*8 + 0x20b0fe94]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x1c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.20b086a5
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
mov eax, dword [0x20b0e380]
test eax, eax
je 0x20b07bea
mov esi, dword [eax + 0x48]
cmp esi, 0xffffffff
jne 0x20b07bf4
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
mov edx, dword [ebp*8 + 0x20b0fe94]
lea ecx, [esp + 0x10]
push 0
push ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
mov eax, section..reloc
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x6d0e14eb
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x1b850980
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x4039a0
Capabilities:
Get common file path
Get disk information

Disassembly:
sub esp, 0x800
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetCaretBlinkTime]
xor esi, esi
cmp esi, 0x97f
jge 0x4039bb
call edi
cmp esi, 0x160d6ee
jg 0x4039cc
inc esi
cmp esi, 0x33cd48d
jl 0x4039b1
cmp dword [0x5df204], 0x400
jne 0x403a4c
push 0
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0
call dword [sym.imp.KERNEL32.dll__lcreat]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll__hwrite]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCalendarInfoA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LocalShrink]
push 0
lea eax, [esp + 0x10]
push eax
push 0x40317c
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
push 0
call fcn.00403baf
push 0
push 0
call fcn.004040be
push 0
call fcn.00404059
push 0
call fcn.00404209
push 0
call fcn.0040427d
add esp, 0x18
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
lea ebx, [ebx]
call edi
call ebx
cmp esi, 0x12e8a06
jg 0x403a75
inc esi
cmp esi, 0x30375
jl 0x403a60
mov ecx, dword [0x43c734]
mov dword [0x5df204], ecx
call fcn.00403670
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, 0x2ec37
mov ebx, 0x51f
cmp dword [0x5df204], ebx
jne 0x403aa7
lea edx, [esp + 0xc]
push edx
push 0
call esi
dec edi
jne 0x403a96
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x800
ret 0x10

Function at 0x407664
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x439d28]
jne 0x40766e
repz ret
jmp fcn.004095c8
Function at 0x407b40
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x439d28]
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.00405b63
and dword [ebp - 0x14], 0
cmp dword [0x450f98], 0
mov dword [ebp - 0x18], eax
jne 0x407bf3
push 0x4021c8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x407c9b
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4021bc
push ebx
call edi
test eax, eax
je 0x407c9b
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4021ac
push ebx
mov dword [0x450f98], eax
call edi
push eax
call esi
push 0x402198
push ebx
mov dword [0x450f9c], eax
call edi
push eax
call esi
push 0x40217c
push ebx
mov dword [0x450fa0], eax
call edi
push eax
call esi
mov dword [0x450fa8], eax
test eax, eax
je 0x407bf3
push 0x402164
push ebx
call edi
push eax
call esi
mov dword [0x450fa4], eax
mov eax, dword [0x450fa4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x407c4c
cmp dword [0x450fa8], ecx
je 0x407c4c
push eax
call esi
push dword [0x450fa8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x407c4c
test ebx, ebx
je 0x407c4c
call edi
test eax, eax
je 0x407c43
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x407c43
test byte [ebp - 8], 1
jne 0x407c4c
or dword [ebp + 0x10], 0x200000
jmp 0x407c7f
mov eax, dword [0x450f9c]
cmp eax, dword [ebp - 0x18]
je 0x407c7f
push eax
call esi
test eax, eax
je 0x407c7f
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x407c7f
mov eax, dword [0x450fa0]
cmp eax, dword [ebp - 0x18]
je 0x407c7f
push eax
call esi
test eax, eax
je 0x407c7f
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x450f98]
call esi
test eax, eax
je 0x407c9b
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x407c9d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407664
leave
ret