joyce8/EMBER2024-capa huggingface dataset:
Function at 0x55d45c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x55d666
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x194], 5
jae 0x55d5e4
call fcn.004c34fc
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x180]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
imul eax, dword [eax + 0x468], 0x3e8
cdq
cmp edx, dword [esp + 4]
jne 0x55d4ce
cmp eax, dword [esp]
pop edx
pop eax
jae 0x55d629
jmp 0x55d4d6
pop edx
pop eax
jge 0x55d629
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x16c]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x46c]
cdq
cmp edx, dword [esp + 4]
jne 0x55d4fc
cmp eax, dword [esp]
pop edx
pop eax
jb 0x55d50d
jmp 0x55d500
pop edx
pop eax
jl 0x55d50d
mov eax, dword [ebp - 4]
call fcn.00559740
jmp 0x55d629
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa4]
cmp byte [eax + 0x1c], 0
je 0x55d593
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 4]
add eax, 0x198
mov dl, 1
call fcn.00511490
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa4]
add eax, 0x20
mov dl, 1
call fcn.00511490
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea edx, [ebp - 0x1c]
mov ecx, 1
mov eax, 0x55d680
call fcn.00427014
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 8]
mov ecx, 0
call fcn.0040c338
mov edx, dword [ebp - 8]
xor ecx, ecx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xdc]
jmp 0x55d629
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x38]
mov eax, dword [ebp - 4]
add eax, 0x198
mov dl, 1
call fcn.00511490
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
lea edx, [ebp - 0x34]
xor ecx, ecx
mov eax, 0x55d6c4
call fcn.00427014
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov ecx, 0
call fcn.0040c338
mov edx, dword [ebp - 0x28]
xor ecx, ecx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xdc]
jmp 0x55d629
call fcn.004c34fc
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x1a0]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
imul eax, dword [eax + 0x464], 0x3e8
cdq
cmp edx, dword [esp + 4]
jne 0x55d613
cmp eax, dword [esp]
pop edx
pop eax
jae 0x55d629
jmp 0x55d617
pop edx
pop eax
jge 0x55d629
xor ecx, ecx
mov edx, 0x55d6fc
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xdc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55d66d
lea eax, [ebp - 0x38]
call fcn.0040b834
lea eax, [ebp - 0x2c]
call fcn.0040b810
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.0040b8a8
lea eax, [ebp - 0xc]
call fcn.0040b810
lea eax, [ebp - 8]
call fcn.0040b834
pop eax
jmp eax
Function at 0x58be74
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
test dl, dl
je 0x58be86
add esp, 0xfffffff0
call fcn.0040a028
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00409a1c
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0xefcdab89
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0x10325476
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 0xc3d2e1f0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x58], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x5c], edx
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x58bef0
call fcn.0040a080
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
pop ecx
pop ecx
pop ebp
ret
Function at 0x58c354
Capabilities:
Encode data using xor

Disassembly:
movsx ecx, byte [eax]
mov edx, 0x4e67c6a7
test ecx, ecx
je 0x58c37d
push esi
inc eax
push edi
mov esi, edx
shl esi, 5
mov edi, edx
add esi, ecx
movsx ecx, byte [eax]
shr edi, 2
add edi, esi
xor edx, edi
inc eax
test ecx, ecx
jne 0x58c363
pop edi
pop esi
mov eax, edx
ret

Function at 0x58c380
Capabilities:
Execute anti-debugging instructions

Disassembly:
push esi
push edi
push ebx
push ecx
mov esi, eax
mov bl, dl
mov eax, 0x24
call fcn.0058c310
mov edi, eax
mov byte [edi], 1
mov byte [edi + 4], 0x1c
add edi, 8
mov byte [edi], 0x14
rdtsc
mov dword [edi + 4], eax
rdtsc
mov dword [edi + 8], eax
test esi, esi
jne 0x58c3b3
rdtsc
jmp 0x58c3b5
mov eax, esi
shl eax, 1
or al, bl
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0x1100001
rdtsc
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [edi + 0x18], eax
xchg edi, eax
pop ecx
mov dword [ecx], eax
pop ebx
pop edi
pop esi
ret

Function at 0x58c3d8
Capabilities:
Execute anti-debugging instructions

Disassembly:
push esi
push edi
push edx
mov esi, eax
xor eax, eax
mov ax, 0x300
call fcn.0058c310
mov edi, eax
mov byte [edi], 1
mov word [edi + 4], 0x300
add edi, 8
xor ecx, ecx
mov cl, 0x14
rdtsc
mov dword [edi], eax
add edi, 4
dec ecx
jne 0x58c3fa
mov dword [edi], 0xffffffff
test esi, esi
jne 0x58c412
rdtsc
jmp 0x58c414
mov eax, esi
mov dword [edi + 4], eax
add edi, 8
xor ecx, ecx
mov cl, 0xaa
rdtsc
mov dword [edi], eax
add edi, 4
dec ecx
jne 0x58c41e
xchg edi, eax
sub eax, 0x300
pop edx
mov dword [edx], eax
pop edi
pop esi
ret

Function at 0x58c434
Capabilities:
Execute anti-debugging instructions

Disassembly:
push esi
push edi
push edx
mov esi, eax
xor eax, eax
mov al, 0x18
call fcn.0058c310
mov edi, eax
mov byte [edi], 1
mov byte [edi + 4], 0xa
add edi, 8
mov word [edi], 0xffff
rdtsc
mov word [edi + 2], ax
test esi, esi
jne 0x58c461
rdtsc
jmp 0x58c463
mov eax, esi
xor eax, 0xc9710266
mov dword [edi + 4], eax
rdtsc
mov word [edi + 8], ax
xchg edi, eax
pop edx
mov dword [edx], eax
pop edi
pop esi
ret

Function at 0x5f8c73
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x5f8c8e
add esi, 0x1000
lea eax, [ebp - 0x2bc]
push edx
push 0x1c
push eax
push esi
call dword [edx + 0x124bdeb3]
pop edx
test eax, eax
je 0x5f8d60
cmp dword [ebp - 0x2ac], 0x1000
jne 0x5f8d4f
test dword [ebp - 0x2a8], 1
jne 0x5f8d4f
and dword [ebp - 0x2a8], 0x100
jne 0x5f8d4f
push esi
push edx
push 4
push esi
call dword [edx + 0x122d2bbb]
pop edx
pop esi
test eax, eax
je 0x5f8cf2
jmp 0x5f8d4f
cmp word [esi], 0x5a4d
jne 0x5f8d4f
mov eax, esi
push ebx
mov ebx, dword [esi + 0x3c]
add eax, ebx
pop ebx
cmp dword [eax], 0x4550
jne 0x5f8d4f
lea eax, [ebp - 0x28c]
push edx
push 0x28a
push eax
push esi
call dword [edx + 0x122d2bd3]
pop edx
test eax, eax
je 0x5f8d4f
lea eax, [ebp - 0x28c]
push eax
call fcn.005f8bcf
test eax, eax
jne 0x5f8d48
jmp 0x5f8d4f
mov eax, esi
jmp 0x5f8d60
mov esi, dword [ebp - 0x2b0]
add esi, dword [ebp - 0x2bc]
jmp 0x5f8c8e
pop esi
leave
ret 4
Function at 0xab0050
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4c6000]
push edi
or ebp, 0xffffffff
jmp 0xab0072
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xab0079
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xab0068
mov eax, 1
add ebx, ebx
jne 0xab008b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xab009c
jne 0xab00bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xab00bb
dec eax
add ebx, ebx
jne 0xab00a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xab0080
add ebx, ebx
jne 0xab00b7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xab010d
xor ecx, ecx
sub eax, 3
jb 0xab00d3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xab0142
sar eax, 1
mov ebp, eax
jmp 0xab00de
add ebx, ebx
jne 0xab00de
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xab00ac
inc ecx
add ebx, ebx
jne 0xab00ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xab00ac
add ebx, ebx
jne 0xab00f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xab00ee
jne 0xab010a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xab00ee
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xab012c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xab011e
jmp 0xab006e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xab012c
add edi, ecx
jmp 0xab006e
pop esi
mov edi, esi
mov ecx, 0x3e4c79
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0xab0167
cmp byte [edi], 0x92
jne 0xab014c
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0xab014a
lea edi, [esi + 0x6ac000]
mov eax, dword [edi]
or eax, eax
je 0xab01af
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x6ba284]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x6ba3a8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xab016d
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x6ba3b0]
or eax, eax
je 0xab01a9
mov dword [ebx], eax
add ebx, 4
jmp 0xab018a
call dword [esi + 0x6ba3ac]
mov ebp, dword [esi + 0x6ba3b4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xab01e3
sub esp, 0xffffff80
jmp 0x8615e4
Function at 0x479f68
Capabilities:
Encode data using xor

Disassembly:
stosd dword es:[edi], eax
mov ebp, 0xa4ee7ee2
jle 0x479fe3
add dword [ebx], esp
cwde
aas
invalid
invalid
mov dl, 0x37

Function at 0x4c5f51
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4cd390
cmp edx, dword [eax]
je 0x4c5f73
add eax, 8
inc ecx
cmp eax, 0x4cd420
jl 0x4c5f64
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4cd390]
jne 0x4c60a1
mov eax, dword [0x4d2dc0]
cmp eax, 1
je 0x4c607b
test eax, eax
jne 0x4c5fa4
cmp dword [0x4cd2bc], 1
je 0x4c607b
cmp edx, 0xfc
je 0x4c60a1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c5fdb
lea eax, [ebp - 0x1a4]
push 0x4cb6b8
push eax
call fcn.004c6930
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c6dc0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c601e
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c6dc0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4cb6b4
push edi
call fcn.004c8c90
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4cb698
push eax
call fcn.004c6930
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c6940
lea eax, [ebp - 0xa0]
push 0x4cb694
push eax
call fcn.004c6940
push dword [esi + 0x4cd394]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c6940
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4cb66c
push eax
call fcn.004c8c04
add esp, 0x2c
pop edi
jmp 0x4c60a1
lea eax, [ebp + 8]
lea esi, [esi + 0x4cd394]
push 0
push eax
push dword [esi]
call fcn.004c6dc0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x456cfd
Capabilities:
Encode data using xor

Disassembly:
fiadd word [ebp + 0x64961504]
cmpsb byte [esi], byte es:[edi]
retf 0x7733
fmul st(2), st(0)
add al, 0x50
sub eax, 0xc19eb5b0
imul esi, dword [ebp - 0x5a], 0x72
mov al, byte [0xf7f22a2]
test dword [edi - 0x46ead5b1], esp
movsb byte es:[edi], byte [esi]
mov ds, word [0x88f3fc82]
in al, 0xd5
mov ch, 0xe8
inc ebp
and eax, 0xca7f8556
jg 0x456cc9
jg 0x456cc9
jle 0x456cd6
xchg edx, eax
in al, 0x4b
in eax, 0x51
loopne 0x456ce3
sbb dword [esi - 0xd14ade4], edi
xor eax, 0x5102eaf6
pop es
mov edi, dword [eax]
mov ecx, 0xd06f8403
mov esp, 0x13454058
push ebp
add dh, byte [ebp - 0xd]
or eax, eax
loop 0x456d08
cwde
ljmp 0xc714

Function at 0x53bdca
Capabilities:
Encode data using xor

Disassembly:
adc dword [edx + 0x165ee46e], 0xaf2095ad
jge 0x53be50
xchg ebx, eax
std
sub eax, 0xc2532c51
mov dl, 0xbe
inc ecx
sub eax, 0x4eea92c1
push ecx
sbb dword [ecx - 0x28], esp
pop ds
sub al, 0xe2
xor byte [eax + 0x61], al
mov cl, 0xb0
test byte [eax - 0x3fde7f8e], ah
fst dword [ecx + 0x70]
and al, 0x23
in eax, dx
dec eax
clc
les esi, [eax - 0x6f]
xchg ecx, eax
adc al, 0x3a
inc eax
xchg edx, eax
xlatb
test dword [edx + 0x1b901c1], ebp
push ecx
pop esp
loope 0x53be33
aad 0xe3
pop dword [ebp + 0xd]
lds ebx, [edi + 0x2986af87]
wait
mov eax, 0x1b863750
inc edx
movsb byte es:[edi], byte [esi]
add eax, 0x2615b898
mov al, 0xe9
leave
add byte [esi + ecx - 0x26281018], dh
jo 0x53bea5
out dx, eax
xlatb
fnstenv [eax + 0x6d]
pop ebx
mov eax, dword [0xbfe7ed4f]
push es
sar esp, cl
leave
scasd eax, dword es:[edi]
xchg ecx, eax
shl bl, 1
daa
xor dword [edx + 0x5b66215d], 0x11
fcom qword [eax + edx*4 + 0x4e]
push esp
nop
dec esi
mov al, 0x29
ror ecx, cl
xlatb
invalid
sbb dword [ecx], ebx
pushal
aad 0xb1
and al, 0x66
mov bl, 0x99
invalid
Function at 0x5698f1
Capabilities:
Encode data using xor

Disassembly:
mov bh, 0xd3
fst qword [eax]
xor dword [ebx + 0x6c939e11], ebx
scasb al, byte es:[edi]
xlatb
sal cl, cl
scasb al, byte es:[edi]
int1
out 9, al
dec ecx
jg 0x5698e4
or dword [ecx + 0x7f], ecx
cmp ah, byte [ebx - 0x5ee23b95]
mov dword [0xa11dc46b], eax
int1
leave
jg 0x5698a6
sal cl, 1
fldenv [ecx - 0x4f603c99]
mov cl, 0x94
xchg esp, eax
jno 0x5698ce
movsb byte es:[edi], byte [esi]
mov edx, 0xac93b1cd
les eax, [esi - 0x4f]
push eax
xchg byte [ebp + edi*4 + 0x770240b0], bl
jb 0x569894
inc eax
add dh, byte [edi + 0x72]
rcl dword [ebp - 0x3792bd8e], 0xe4
mov al, 0x38
xchg ebp, eax
jb 0x569918
insd dword es:[edi], dx
enter 0xffffffffffffb0e4, 0x38
dec edi
or al, 0x35
or eax, 0xec9b5a05
push cs
test al, 0xa8
out 0x7c, al
add byte [eax], 0x80
dec ebp
mov ebx, 0x10c20517
fcom dword [esi]
mov al, 0x73
dec eax
fst qword [edx]
adc eax, dword [ebx - 0x28d89eb5]
arpl word [edx], ax
fnstsw word [edx + 0x78c0f0d5]
pop edi
js 0x569966
in al, 0xae
outsd dx, dword [esi]
inc eax
xor cl, bh
mov eax, dword [0x5b2db47c]
dec esp
sar byte [ebp - 0x16], 1
outsb dx, byte [esi]
mov ch, 0x55
push ebp
jecxz 0x569905
mov bl, 0x1c
sub ah, byte [esi - 0x399fcfa7]
xor ebx, esi
loopne 0x5698bd
xchg esp, eax
mov bl, 0x16
ret 0xa9e1
xor edx, eax
xchg ebp, eax
pop esi
test cl, dh
das
add dl, byte [ecx]
jne 0x56990d
mov bh, 0x5f
mov al, byte [0xd10b756d]
insb byte es:[edi], dx
movsd dword es:[edi], dword [esi]
add ch, byte [edx + 0x21c1f033]
sal eax, cl
out dx, al
mov dh, 0xf5
push eax
ficom dword [edx + 0x49e32d1]
mov edx, 0xdc41ce09
test al, 0x53
xchg edx, eax
or dword [ebx + 0x61], esi
invalid

Function at 0x569e2b
Capabilities:
Encode data using xor

Disassembly:
xor eax, 0x64720153
jb 0x569e25
jae 0x569dbf
mov ebx, 0x69d460f1
push ecx
mov bl, 0x8e
xor bl, bl
cmp eax, ebp
lock xchg byte [edx + 0x1f61e00e], al
mov dword [ebx + 0x11], ecx
and eax, ebp
popfd
adc byte [edx], ah
add dword [ebp + 0x62], ecx
invalid
mov eax, dword [0xffff40c1]
pop ebx
popal
mov edi, dword [edx + 0x510109f]
out 0xfe, al
jbe 0x569e43
dec eax
cmp ch, 0x1b
js 0x569e4a
xchg dword [eax - 0x1c8e5375], esi
jno 0x569e10
add bl, ah
inc eax
dec edx
jb 0x569dbc
push ecx
mov ah, 0xfc
cwde
xor byte [esi + edi*4 - 0x4c], dl
lcall 0xfa50, 0x68210be6
cli
xor edx, dword [0x66a2cdbb]
mov byte [0x9598fb66], al
sti
cwde
xchg ebp, eax
sbb eax, 0x7d0687ab
inc eax
out dx, al
adc byte [ebp + esi*4 - 0x434efe8f], bl
les eax, [ecx]
sbb dword [edx - 0x26ef7418], ebp
xor ah, bl
jno 0x569e48
and byte [edi - 0x148766a0], ah
pop ds
mov eax, dword [0x6c9dc171]
inc esi
xchg edi, eax
cld
in al, 0xc2
xor esi, esi
add eax, 0x45b229df
aas
mov al, byte [0x1462b04c]
cmc
mov byte [0xd1766a79], al
mov al, 0x2f
jo 0x569e78
loope 0x569eb0
mov dword [0x551965d2], eax
shl word [0x12052b35], 0x91
jmp 0x82bec5ea
mov ecx, 0xf40d5d83
inc ebp
test eax, 0x565c86ca
retf 0xf7ab
Function at 0x6596fd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x661388
cmp edx, dword [eax]
je 0x65971f
add eax, 8
inc ecx
cmp eax, 0x661418
jl 0x659710
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x661388]
jne 0x65984d
mov eax, dword [0xa5beec]
cmp eax, 1
je 0x659827
test eax, eax
jne 0x659750
cmp dword [0x6612b4], 1
je 0x659827
cmp edx, 0xfc
je 0x65984d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x659787
lea eax, [ebp - 0x1a4]
push 0x65e970
push eax
call fcn.0065a0e0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0065a570
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x6597ca
lea eax, [ebp - 0x1a4]
push eax
call fcn.0065a570
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65e96c
push edi
call fcn.0065c440
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x65e950
push eax
call fcn.0065a0e0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0065a0f0
lea eax, [ebp - 0xa0]
push 0x65e94c
push eax
call fcn.0065a0f0
push dword [esi + 0x66138c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0065a0f0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x65e924
push eax
call fcn.0065c3b4
add esp, 0x2c
pop edi
jmp 0x65984d
lea eax, [ebp + 8]
lea esi, [esi + 0x66138c]
push 0
push eax
push dword [esi]
call fcn.0065a570
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
mov ecx, 0x55a5011
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
mov ecx, 0x3b917d62
nop
nop
nop
test eax, eax
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x100a629c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10185020]
jne 0x100a62a6
repz ret
jmp fcn.100a654d

Function at 0x100a68dc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
call fcn.1000108f
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
jne 0x100a693d
mov dword [0x10184ff4], 0x23dd
lea eax, [esp + 0x38]
mov dword [esp + 0x20], eax
call fcn.100a6abf
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x1c], ecx
je 0x100a699e
jmp 0x100a6a46
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x14], ecx
je 0x100a6947
jmp 0x100a6a32
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x54], ecx
mov dword [0x10184ff8], 0x10cc
mov edx, dword [esp + 0x14]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x68], esi
mov dword [0x10184ff4], 0xfd
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.100a6df2
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x1c], eax
jmp 0x100a6a46
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.100a71b2
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x74], 0x30b200
mov ecx, dword [0x10184fe0]
mov dword [esp + 0x8c], ecx
mov ecx, dword [0x10184fe4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
lea eax, [0x100a6840]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x5c], ecx
mov edx, dword [0x10184fe8]
mov dword [esp + 0x88], edx
mov edx, dword [0x10184fec]
mov dword [esp + 0x64], edx
mov dword [0x10184ff8], 0x19b2
mov edx, dword [0x10184ff0]
mov dword [esp + 0x6c], edx
mov dword [0x10184ff4], 0x1c3
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
je 0x100a6924
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 8], eax
jmp 0x100a6a1f
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
jmp 0x100a693d
Function at 0x100a6abf
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
xor eax, eax
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x3c]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], eax
jmp 0x100a6b6f
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2], 0x6c
jne 0x100a6b68
mov dword [0x10184ff8], 0x454
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0xe], 0x6c
sete dl
mov byte [ebp - 0x19], dl
mov eax, 1
mov cl, byte [ebp - 0x19]
test cl, 1
mov dword [ebp - 0x20], eax
jne 0x100a6b36
jmp 0x100a6b68
mov eax, dword [ebp - 0x20]
add esp, 0x2c
pop ebp
ret
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff7
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2], 0x64
je 0x100a6aee
jmp 0x100a6b68
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x100a6bd1
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x100a6b36
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edx
je 0x100a6b9c
mov eax, dword [ebp - 0x28]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x2c], eax
jl 0x100a6b6f
mov eax, dword [ebp - 0x2c]
mov ecx, dword [0x10184ff8]
add ecx, 0xffffe365
mov dword [0x10184ff8], ecx
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
jne 0x100a6b68
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x100a6b59
jmp 0x100a6b68
mov dword [0x10184ff8], 0x1fa8
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x100a6b3e
jmp 0x100a6b68