joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e7b0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x83df8b0d
mov esp, 0xf1000000
xchg ebp, eax
sub esp, 0xffffffd1
push ebx
push esi
push edi
mov eax, dword [0xaf53ba20]
xor eax, ebp
push eax
lea eax, [ebp + 0x14]
salc
add byte [eax], al
cmp al, 0
mov edi, dword [ebp + 0xc]
push 0xffffffffffffffbe
mov dword [0x53ffd4], edi
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov eax, dword [0x54000c]
mov ebx, dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
lea edx, [ecx]
push 0
call eax
push 0x100
push dword [0x54540000]
call ebx
mov esi, dword [ebp + 0x7d]
test esi, 0x100
invalid

Function at 0x454bd8
Capabilities:
Create process on windows

Disassembly:
ror dword [ebx + 0x68ff6aec], cl
fsubr dword [ebp + 0x4f]
add byte [ecx], ah
add byte [eax], al
add byte [eax - 0x7d], dl
aad 0x60
push esi
push edi
je 0x454b68
mov edx, 0xc5880053
push eax
lea eax, [ebp - 0xc]
das
fiadd word [eax]
add byte [eax], al
add byte [ebx - 0x2799f38b], cl
dec eax
jne 0x454b3d
add byte [eax + 0x458d50c5], cl
hlt
push esi
jmp 0x454bd8
inc dword [ebx + 0x4d8bbac4]
xor esp, dword [ecx + ecx*4 + 0xd]
add byte [eax], al
add byte [eax], al
pop ecx
pop edi
pop esi
mov esp, ebp
xor esp, esi
jno 0x454bbf
adc al, 0x45
jnp 0x454b4a
inc ebp
xchg esp, eax
inc esp
add byte [eax], al
add byte [edx + 0x24], ch
push eax
push eax
das
dec ebx
add byte [eax], al
add esp, 0xffffffe5
xorps xmm0, xmm0
movups xmmword [ebp + 0x7c], xmm0
loopne 0x454bdd
nop
std
dec dword [ebx + 0xfc985b4]
std
movsb byte es:[edi], byte [esi]
add dword [eax], eax
je 0x454b36
add dword [ebx + 0x7ff0c40], ecx
add dword [ecx], 0x10
mov dword [ebp + 0xc], eax
mov eax, 0x50c8a8
jg 0x454c03
cld
add byte [eax], al
and byte [eax], al
lea ecx, [ebp + 0xc]
test eax, 0x83ff0000
cmp byte [ebx], cl
movzx eax, ax
push eax
call 0x8c42e1f0
jmp 0x454be4
push 0x11
push 0x54c8a8
call 0x3442f4b0
push esp
add al, ch
int3
outsd dx, dword [esi]
lea eax, [ebp + 0x3b]
jbe 0x454c2f
cld
xchg ebp, eax
int3
inc ebp
jge 0x454c09
sbb dword [0xf0c78bf0], 0xf
rol dword [edx + 0xc], 0x48
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x454c4a
invalid
push 0
push dword [ebp - 0x10]
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test esp, ebx
cmovg edx, ecx
add byte [eax], al
push ds
call fcn.0042dbe0
mov ecx, eax
test dword [edi + ecx - 0x7c], edi
add eax, 0x8b000001
enter 0x7c85, 0xf
test byte [0x8b000001], al
add dword [ebx - 0x2f00f3fc], ecx
inc ebx
adc byte [ecx + 0x27b80c7a], cl
jge 0x454cb4
add byte [ebp - 0x72fb03bb], ch
ror byte [ecx + ebp*4], 1
add byte [eax], al
mov ebx, 0x6e0b7537
or edx, ecx
inc edi
adc dword [ebp + ebp*2 + 0x18], esi
dec dword [esi + 0xc]
invalid
sbb byte [ebx - 0x3874b63e], al
lock xadd dword [edx + 0xc], eax
dec eax
test dword [ebx + 0x7f], edi
or byte [ebx - 0x3074adf6], cl
call dword [eax - 0x54]
int3
Function at 0x466bd6
Capabilities:
Encode data using xor

Disassembly:
cdq
push 0
push 3
call dword [0xf45eb344]
mov esi, dword [edx - 0x100787c5]
xor al, 0xf7
js 0x466bdf
pop esi
hlt
out dx, al
leave
cmp dword [edi + 0x54], eax
mov dword [esi], ebx
js 0x466bdf
xlatb
mov ecx, esi
call fcn.00468070
pop ss
invalid

Function at 0x4af7d4
Capabilities:
Encode data using xor

Disassembly:
push dword [ebp + 0x77ff1158]
adc al, 0x1c
inc ebp
cld
dec dword [eax]
test dword [edx + ebx*8 - 0x3b7c0b01], ecx
and byte [ebx + 0x379897], cl
add byte [ebp - 0x74b18b2e], al
sbb al, 0x8c
add eax, dword [eax]
push ss
shr ecx, 0xa
mov eax, ecx
shr dword [eax + 0x1f], 0x66
movd mm0, ecx
push gs
rcl byte [edi], 0xb7
pop eax
in eax, 0x85
jo 0x4af74b
push eax
add byte [esi + 0xf], ah
das
inc edx
xor byte [edx + 5], dh
imul ax, cx
cvtdq2pd xmm0, xmm0
shr dword [0x580ff21f], 4
int 0x70
cmp eax, 0x10660550
pop edx
wait
mulss xmm0, dword [0x8dc01c38]
cvtps2pd xmm0, xmm0
test al, 0xd6
test al, 0xd6
inc edx
xor byte [ebx + 0x3e587], cl
add byte [eax], dh
movups xmm0, xmmword [ebp - 0x25fb]
push 0x7e
sub esp, 0x10
test dword [0x6affffda], eax
jle 0x4af6cc
in al, dx
adc dl, dh
movups xmmword [esp + 8], xmm0
movsd qword [esp + 8], xmm0
movsx ax, al
cvtdq2pd xmm0, xmm0
shr eax, 0xba
add dword [esi], 0xde70c504
push es
add al, 0xc5
jo 0x4af741
push eax
add byte [esi + 0x3e], ah
pop edx
sal bl, 0xf
pop ecx
inc eax
or bl, bh
push eax
add byte [edi], cl
loopne 0x4af734
movsd qword [ecx + esi*4], xmm0
push dword [0x816aec]
and byte [edx + 0x5548e8], bh
push dword [edi + 0x398]
call fcn.004596e0
mov eax, dword [0x555ecc]
mov esp, dword [edx]
pop esp
pushfd
invalid
pop ecx
out 0x4f, al
jmp 0x4af75e

Function at 0x4bb823
Capabilities:
Encode data using xor

Disassembly:
inc ebp
aam 0x50
push 0
push 0xffffffffffffffac
push 0x6d008004
insd dword es:[edi], dx
push dword [ebp - 0x30]
sub al, 0x15
sub byte [ecx - 0x3f7a87b1], dh
je 0xe64bb96d
jns 0x4bb842
dec ebp
add byte [edx], ch
push 2
push 0
push esi
call dword [0x404fb273]
xor al, 0x89
jne 0x4bb82e
test edx, esi
bswap ebx
add dword [ecx], eax
add byte [eax], al
push ebx
pop ss
jne fcn.004bb823
call dword [0xcc4f6380]
mov dword [ebp + 0x12], eax
xorps xmm0, xmm0
mov ecx, dword [edi]
adc esi, dword [ecx]
mov eax, 0x3cd3
or byte [ebp + 0x7c849ac0], al
add byte [eax], al
outsb dx, byte [esi]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], edx
nop dword [ebp - 0x75]
invalid
Function at 0x4bc579
Capabilities:
Encode data using xor

Disassembly:
add byte [esi], dh
inc edi
or byte [eax + eax + 0x15ffea00], ch
and al, 0xb6
dec edi
add al, ch
pop es
test eax, eax
pxor mm6, qword [edi + 3]
add byte [eax], al
xor eax, dword [edx]
movsd dword es:[edi], dword [esi]
inc eax
mov byte [ebp - 4], 0
test edi, edi
je 0x4bc957
out dx, al
inc ebx
daa
push edi
test dword [edi + edi*8 - 0x38c4c701], eax
jne 0x4bc546
xor ecx, dword [edx - 0x17]
rol dword [eax], 0
sbb dword [ebx], esp
sal byte [edx - 0x7af874e6], 0xc0
je 0x4bc57b
push eax
jmp [ebx]
sub eax, 3
pop edx
bound ebp, qword [eax - 0x2c]
out 0xee, al
add byte [ecx + 0x35], dh
call 0xff4c1e71
adc eax, 0x4f7770
push eax
call dword [0x4fa260]
invalid
add dword [eax], eax
invalid

Function at 0x4bdf79
Capabilities:
Check mutex on windows

Disassembly:
je 0x4bdfa2
mov eax, dword [ebp - 0x4e]
inc edi
cmp edi, dword [eax + 0xc]
jl 0x4bdfb3
push dword [ebp - 0x58]
cmp edi, 0x15
jle 0x4bdf84
test edi, edi
js 0x4be068
mov eax, dword [ebp - 0x60]
cmp edi, dword [eax + 0xc]
js 0x4bdfc1
clts
add ah, bl
inc ebp
nop
mov dword [ebp - 0x64], 0xbb
push edx
mov ebx, dword [esi + edi*4 - 0x3bea0046]
mov edx, 0xc3ab4ae7
jmp 0x4be085
mov ecx, dword [ebp - 0xc]
std
dec ebx
adc eax, dword [esi]
add byte [eax], al
lahf
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c3245
mov esp, ebp
pop ebp
ret 8

Function at 0x4c607f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dh, 0x4e
or eax, 0xd17b60f
or eax, 0xe745c2b
xor eax, eax
test ecx, ecx
setg al
lea ecx, [eax*2 - 1]
test dword [esi + 0x69c850f], edx
add byte [eax], al
movzx ecx, byte [esi + 0xe]
mov dword [esi - 0x387cf1be], esi
cld
push cs
xor eax, eax
test ecx, ecx
setg al
lea ecx, [eax*2 - 1]
test ecx, ecx
adc al, 0x85
jp 0x4c60ba
add byte [esi + 0xf4eb60f], al
movzx eax, byte [edx + 0xf]
sub ecx, eax
je 0x4c60d6
xor ebx, dword [edx - 0x7b]
leave
setg al
lea ecx, [eax*2 - 1]
test ecx, ecx
jne 0xce675d
mov eax, dword [esi + 0x77]
cmp edx, edx
adc byte [edi], cl
test byte [ecx + 0xf000000], bl
mov dh, 0xc8
movzx eax, byte [edx + 0x10]
sub ecx, eax
je 0x4c6103
xor eax, eax
test ecx, ecx
sbb dword [edi - 0x61f37240], ebx
invalid
test ecx, ecx
jne 0x4d5636
movzx esp, byte [esi + ebx*8 + 0x112de08a]
sub ecx, eax
int 0xe
mov al, 0x85
leave
setg byte [esi - 0x73]
dec edx
inc ebp

Function at 0x4c7661
Capabilities:
Packed with generic packer

Disassembly:
mov eax, dword [0x55ba35]
cmp dword [esi - 1], 0x74
push cs
push eax
call fcn.004c8738
or dword [0x3a53bad8], 0xffffffff
pop ecx
Function at 0x4cbb34
Capabilities:
Encode data using xor

Disassembly:
lea eax, [edi - 2]
mov dword [esi - 0x4c], eax
mov al, dl
and al, 7
shr edx, 3
add al, 0x30
mov byte [ebx], al
add eax, 0x468b309b
xor byte [ebx + 0x2b18ebd8], cl
enter 0xffffffffffff8940, 0x4e
xor al, 0x5f
dec edi
inc esi
xor byte [esi + 0x5b], bl
add eax, 0x8b9608c2
ret 0x9608
mov ecx, dword [eax + 0x51ec8b3b]
push ecx
push ebx
wait
xor byte [ebx - 0x2774cfba], cl
jmp 0x4cbb34
push esi
mov esi, ecx
sti
lea ecx, [esi + 0x3c]
jne 0x4cbb13
add al, 0x8a
add byte [eax + 0x275ff85], dl
invalid
nop
test edi, edi
jne 0x4cbb47
invalid
mov esp, dword [esi]
call fcn.004ca782
add byte [ebp + 8], dl
dec eax
lea ecx, [edi + eax*2]
mov dword [ebp - 8], ecx
mov eax, ecx
mov esi, eax
xor byte [ecx + 0x5e8bfc4d], cl
and al, 0xbc
cli
jg 0x4cbb40
jg 0x4cbb6b
test edx, edx
cmp dword [0xc107e783], ebx
and edi, 7
shr edx, 3
lea eax, [ebx - 0x1b]
cmp dword [ebx + 0x30], 0xffffff89
adc dword [edi], eax
mov word [ebp + 0x24], dx
jge 0x4cbbde
pop esi
push 0xa
mov dword [ebx + 0x59c38b24], edx
div ecx
mov eax, ebx
push 0xa
pop ebx
lea ecx, [edx + 0x30]
xor esp, dword [eax + 0x2d8bf3f7]
cmp cl, 0x49
outsb dx, byte [esi]
or al, 0x8a
inc ebp
or al, 0x34
add eax, eax
loopne 0x4cbc08
add al, 0x36
add cl, al
mov byte [edi], cl
call dword [eax]
sbb dword [ebx - 0x774cfba], ecx
out dx, al
mov ebp, 0x2bf85c8b
clc
inc eax
mov dword [esi + 0x34], edi
pop edi
mov edi, eax
xor byte [edx + 0x5b], ah
leave
ret 8
ud0

Function at 0x4cd581
Capabilities:
Packed with generic packer

Disassembly:
push 0xd7850f
add cl, al
mov eax, dword [0xc7150c41]
push 0xfd400c75
inc ecx
or al, 0x33
shl byte [ebp - 0x17], 0xc0
add byte [eax], al
add byte [edx + 0xb8e93e], al
add byte [eax], al
mov dword [0x570d2841], eax
dec edi
add cl, ch
mov al, 0
add byte [eax], al
mov dword [ecx + 0x46], 0x99005c
shl byte [eax + eax + 0x6856b46f], cl
jno 0x4cd5cb
jb 0x4cd5c7
add dword [edx], esi
Function at 0x4d5fbf
Capabilities:
Create thread

Disassembly:
jecxz 0x4d6012
cmp dword [ebp + 8], 0
jne 0x4d5fdc
call 0xfffef3d6
in al, dx
add byte [esi], dl
add byte [eax], al
add al, ch
call 0x844d0b30
enter 0xffffffffffffc9ff, 0xffffffffffffffc3
xchg esi, eax
push edi
push dword [ebp + 0x10]
push dword [ecx + 8]
call 0xff7c5f68
in eax, dx
invalid
push dword [ebp + 0x1e]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push es
xchg byte [ebx], bl
push dword [ebp - 0x57]
or edi, 0xffffff88
lea ecx, [ebp - 4]
call fcn.004d5e77
mov eax, edi
pop edi
pop esi
xchg bl, al
push edi
mov dword [esi + 8], edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0x4d
mov ss, ebx
and dword [ebp - 4], 0
jmp 0x4d6065
xor ecx, dword [edi]
leave
ret

Function at 0x4e133c
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x10
mov eax, dword [eax + 0x3c]
nop
shr eax, 0xdb
test al, 1
je 0x4e1356
xchg dword [ecx], eax
leave
ret
pushal
inc ebp
or byte [0xc403256], dh
nop
test al, 0xc0
lodsd eax, dword [esi]
inc ebp
or byte [edi + eax - 0x75], dh
or byte [ebx], bh
dec eax
add al, 0x6b
wait
mov edx, dword [eax + edx + 0x10e850c3]
jae 0x4e1376
nop
mov esi, eax
pop ecx
cmp esi, 0xffffffff
je 0x4e13bb
xor edx, dword [ecx - 0x73]
inc ebp
clc
mov bh, 0x53
push eax
mov eax, dword [eax]
push 0
scasd eax, dword es:[edi]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
mov edi, 0xf0458d11
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
adc eax, sym.imp.KERNEL32.dll_GetFileSizeEx
xor al, al
pop esi
push cs
leave
ret
Function at 0x4ee8c9
Capabilities:
Encode data using xor

Disassembly:
add byte [eax - 0x4bbc74fe], cl
and eax, 0xfffff
mov ebp, eax
loopne 0x4e1842
or dword [ebx - 0x79f0ffc5], eax
mov edi, 0x6a000088
xor byte [eax + 0x31], bl
aad 0xf8
add byte [eax], al
push 0x30
pop eax
xor ebp, edx
clc
mov ecx, 0xd1e5000d
xor eax, eax
mov dword [ecx - 0x18], ebx
mov byte [0x558b6c45], al
das
mov dh, byte [edi - 0x1baa762e]
mov edx, edi
mov dword [ebp - 0x20], edi
test edi, eax
jle 0x4e184a
mov edx, dword [ebx + 0x7e]
and eax, dword [0x4d8bd123]
in al, 0x81
in eax, 0xff
dec dword [edi]
add byte [edi], cl
mov bh, 0xc9
call fcn.004ef9d0
push 0x30
pop ecx
add ax, cx
movzx eax, ax
cmp eax, 0x39
jbe 0x4e17d3
add eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
or al, 0x55
clc
mov byte [edi], al
sub edx, 0x3b
mov eax, dword [ebp - 0x14]
inc edi
shrd eax, ecx, 4
dec esi
push ebp
clc
invalid
call 0x32209dad
imul ebp, ebx, 0x2875ff4a
push dword [ebp + 0x28]
lodsd eax, dword [esi]
cli
push dword [ebp - 0x1c]
push ecx
sbb dword [edx], edi
call 0x824e1ec0
add esp, 0xffffffe1
test al, al
je 0x4e18a8
mov edi, dword [ebp - 0x20]
push 0x30
pop ebx
hlt
mov eax, dword [ebp + 0x31]
mov al, 0x25
and dword [ecx - 0x75075cfe], ebp
inc ebp
push dword [ecx + 0x5e0c034]
add al, 0x50
mov byte [edi], al
mov eax, dword [ebx]
and al, 0x53
pop ebp
call 0x30c522e2
cmc
fdiv dword [ebx]
test byte [ecx + 0x7ffe3], 0x6c
lea eax, [edi + 0x2f]
sub ebx, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
sbb eax, dword [edi]
js 0x4e18e9
jg 0x4e1943
test ebx, ebx
jb 0x4e18e9
mov cl, 0x2b
jmp 0x4e18c8
sub ebp, ebx
fcompi st(7)
fld xword [edx + 0x2d]
neg ebx
push 0x2d
adc esi, 0
neg esi
pop ecx
mov byte [edi + 1], cl
mov edi, eax
push 0xffffffffffffffed
pop ecx
mov byte [eax], cl
test dword [0x960dc4], esp
add byte [eax], al
or eax, 0x96
mov eax, 0x3ea
jg 0x4e18e6
cmp esi, ebx
jb 0x4e193e
scasd eax, dword es:[edi]
add byte [eax + 0x56], dl
push ebx
mov dword [esi], 0x6afffe24
xor byte [ebx - 0x3efdff96], dh
mov ecx, dword [ebp - 0x10]
push 0x2700034d
push esi
sub byte [ecx + eax - 0x73], bl
jns 0x4e1900
call 0xe24c3f19
mov ebx, eax
mov esi, edx
cmp eax, edi
invalid
test esi, esi
jl 0x4e199b
jg 0x4e1949
add eax, 0x7260fb83
daa
cmp ebx, 0x60
mov edi, edi
push ebp
and ah, ch
pop ebp
jmp 0x4e17bc
Function at 0x4176ee
Capabilities:
Read file on windows

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

Function at 0x4176f9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041751f

Function at 0x417af3
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00408470
mov eax, dword [0x433010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00415e22
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x417b35
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x417c91
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.004242b0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x457bb0]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00418cc3
mov ecx, dword [esi*4 + 0x457bb0]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x417c8a
cmp eax, dword [edi + ecx + 0x24]
jne 0x417c8a
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x417c8a
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00418cc3
add esp, 0x14
test edx, edx
jl 0x417c8a
jg 0x417c00
test eax, eax
jb 0x417c8a
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x417c8a
jl 0x417c1a
cmp dword [ebp - 0x1008], eax
ja 0x417c8a
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x417c38
test ebx, ebx
je 0x417c71
cmp ecx, edi
jae 0x417c71
mov al, byte [ecx]
cmp al, 0xd
jne 0x417c52
lea eax, [edi - 1]
cmp ecx, eax
jae 0x417c5e
cmp byte [ecx + 1], 0xa
jne 0x417c5e
inc ecx
jmp 0x417c5e
movzx eax, al
movsx eax, byte [eax + 0x433298]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x417c38
cmp edx, ebx
jne 0x417c38
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x417c8f
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004078dc
leave
ret
Function at 0x418161
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x457bb0]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4181a1
cmp byte [ebx], 0xa
jne 0x4181a1
or byte [eax + edi + 0x28], 4
jmp 0x4181a6
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x4182a4
mov al, byte [edx]
cmp al, 0x1a
je 0x418286
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4181d5
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4181fa
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x418204
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x4181b7
jmp 0x4182a4
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x418281
cmp dword [ebp - 0xc], 0
je 0x418281
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x457bb0]
test byte [eax + edi + 0x28], 0x48
je 0x41825b
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x418246
mov byte [esi], dl
jmp 0x418257
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x457bb0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4182a4
cmp byte [ebp - 1], 0xa
jne 0x41826a
cmp esi, ebx
jne 0x41826a
mov byte [esi], 0xa
jmp 0x4182a3
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00418ce1
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4182a4
mov byte [esi], 0xd
jmp 0x4182a3
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x457bb0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4182a0
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4182a4
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4182ad
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x457bb0]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4182f0
cmp word [esi], dx
jne 0x4182f0
or byte [edi + eax + 0x28], 4
jmp 0x4182f5
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x418448
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x418428
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x418337
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41836d
cmp eax, edx
jae 0x418379
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41830f
jmp 0x418448
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x418424
cmp dword [ebp - 0x14], 0
je 0x418424
mov eax, dword [ebx*4 + 0x457bb0]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4183fc
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4183c5
mov word [esi], cx
jmp 0x4183f8
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x457bb0]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x457bb0]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x457bb0]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x418448
pop ebx
cmp word [ebp - 4], bx
jne 0x41840d
cmp esi, dword [ebp + 0xc]
jne 0x41840d
mov word [esi], bx
jmp 0x418445
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00418ce1
add esp, 0x10
cmp word [ebp - 4], bx
je 0x418448
push 0xd
jmp 0x418441
mov ecx, dword [ebx*4 + 0x457bb0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41843f
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x418448
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 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 0x401c90
Capabilities:
Encode data using xor

Disassembly:
inc eax
pop esi
xor dword [esi + 0xe], 0x9bffe08
sub esi, 0xfffffffc
loop 0x401c93
mov cl, 0xdb
mov ebp, 0x40160809
div bh
add dword [esi + 0x57], edi
cmp byte [edx + 0x4ea0eb1], dh
xchg ebp, eax
ret 0x7b6d

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219