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

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x34], 0
je 0x1003d8c2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x10]
inc eax
xor byte [edx], cl
cmp eax, 0x33
jb 0x1003d8b0
mov byte [esi + 0x34], 0
pop esi
ret

Function at 0x1003d8d0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x24], 0
je 0x1003d8f2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x10]
inc eax
xor byte [edx], cl
cmp eax, 0x23
jb 0x1003d8e0
mov byte [esi + 0x24], 0
pop esi
ret

Function at 0x1003d900
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1a5], 0
je 0x1003d927
xor eax, eax
nop
lea edx, [eax + esi]
lea ecx, [eax + 0x10]
inc eax
xor byte [edx], cl
cmp eax, 0x1a4
jb 0x1003d910
mov byte [esi + 0x1a5], 0
pop esi
ret

Function at 0x1003d930
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x2c], 0
je 0x1003d952
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x10]
inc eax
xor byte [edx], cl
cmp eax, 0x2b
jb 0x1003d940
mov byte [esi + 0x2c], 0
pop esi
ret

Function at 0x1003d960
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x22], 0
je 0x1003d982
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x10]
inc eax
xor byte [edx], cl
cmp eax, 0x21
jb 0x1003d970
mov byte [esi + 0x22], 0
pop esi
ret

Function at 0x1003d990
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x5f], 0
je 0x1003d9b2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x10]
inc eax
xor byte [edx], cl
cmp eax, 0x5e
jb 0x1003d9a0
mov byte [esi + 0x5f], 0
pop esi
ret

Function at 0x1003d9c0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x3c], 0
je 0x1003d9e2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x10]
inc eax
xor byte [edx], cl
cmp eax, 0x3b
jb 0x1003d9d0
mov byte [esi + 0x3c], 0
pop esi
ret

Function at 0x1003d9f0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x68], 0
je 0x1003da12
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x10]
inc eax
xor byte [edx], cl
cmp eax, 0x67
jb 0x1003da00
mov byte [esi + 0x68], 0
pop esi
ret

Function at 0x1003da20
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x41], 0
je 0x1003da42
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x10]
inc eax
xor byte [edx], cl
cmp eax, 0x40
jb 0x1003da30
mov byte [esi + 0x41], 0
pop esi
ret

Function at 0x1003da50
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x13], 0
je 0x1003da72
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x10]
inc eax
xor byte [edx], cl
cmp eax, 0x12
jb 0x1003da60
mov byte [esi + 0x13], 0
pop esi
ret
Function at 0x1003da80
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x8b], 0
je 0x1003daa7
xor eax, eax
nop
lea edx, [eax + esi]
lea ecx, [eax + 0x10]
inc eax
xor byte [edx], cl
cmp eax, 0x8a
jb 0x1003da90
mov byte [esi + 0x8b], 0
pop esi
ret

Function at 0x1003dab0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x2b], 0
je 0x1003dad2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x10]
inc eax
xor byte [edx], cl
cmp eax, 0x2a
jb 0x1003dac0
mov byte [esi + 0x2b], 0
pop esi
ret

Function at 0x1003dae0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x15], 0
je 0x1003db02
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x10]
inc eax
xor byte [edx], cl
cmp eax, 0x14
jb 0x1003daf0
mov byte [esi + 0x15], 0
pop esi
ret
Function at 0x1004bc10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10052766
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10067040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x30], 0
mov byte [ebp - 4], 2
mov eax, 0x3f
mov dword [esi + 4], 0x3f800000
mov word [esi + 0x3c], ax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.1004bd40
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1004e2a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.1004e450
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1004e36d
mov edx, dword [ebp - 4]
cmp edx, dword [0x10067090]
jb 0x1004e2ea
mov eax, dword [ebp - 4]
cmp eax, dword [0x10067094]
ja 0x1004e2ea
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1004e2ba
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1004e310
jmp 0x1004e36d
cmp dword [ebp - 0x14], 0x10000
jne 0x1004e353
cmp dword [ebp - 0x18], 0x10000
jb 0x1004e353
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1004e346
mov eax, dword [ebp - 8]
jmp 0x1004e36f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1004e368
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.1004e450
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1004e2ba
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1004e380
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.1004e480
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1004e445
mov edx, dword [ebp - 4]
cmp edx, dword [0x10067090]
jb 0x1004e3c5
mov eax, dword [ebp - 4]
cmp eax, dword [0x10067094]
ja 0x1004e3c5
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1004e395
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1004e3eb
jmp 0x1004e445
cmp dword [ebp - 0x14], 0x10000
jne 0x1004e42e
cmp dword [ebp - 0x18], 0x10000
jb 0x1004e42e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1004e421
mov eax, dword [ebp - 8]
jmp 0x1004e447
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1004e440
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.1004e480
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1004e395
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x40610d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x40611c
pop dword [ebp - 0x30]
mov eax, 0x40611c
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0xd42f7a96
add dword [ebp - 0x40], 0x7a22cab5
mov dword [ebp - 0x3c], 0xa0503f99
sub dword [ebp - 0x3c], 0x6e1cf354
mov dword [ebp - 0x38], 0xfb59725d
add dword [ebp - 0x38], 0x50f2d1d1
mov dword [ebp - 0x34], 0x5009cc54
add dword [ebp - 0x34], 0xaff633ac
lea eax, [ebp - 0x40]
push eax
mov eax, 0x6148e2cb
sub eax, 0x6108726b
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0x90c67a61
add dword [ebp - 0x40], 0xe3abeef5
mov dword [ebp - 0x3c], 0x4a2aba9b
sub dword [ebp - 0x3c], 0x8be5926
mov dword [ebp - 0x38], 0xb0d8e63d
sub dword [ebp - 0x38], 0x4d6979d1
mov dword [ebp - 0x34], 0xf45ff946
add dword [ebp - 0x34], 0xba006ba
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0x82fff5de
sub eax, 0x82bf84de
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x39fab
push 0
call eax
mov ecx, 0x557c
mov esi, eax
mov edx, 0x410000
add edx, dword [ebp - 0x30]
mov ebx, 0x198a5962
sub ebx, 0x44cdcade
add dword [ebp - 0xc], 0x93ac493e
mov edi, dword [edx]
sub edi, ebx
xor dword [ebp - 0x24], ecx
mov dword [esi], edi
add dword [ebp - 0x2c], esi
add esi, 0x8857bd00
sub esi, 0x8857bcfc
add edx, 4
loop 0x40622d
add eax, 0x148c3
xor ebx, ebx
add ebx, eax
add eax, 0xebede871
add eax, 0x14121794
mov ecx, 0xe78626da
add ecx, 0x18b9d926
add ecx, dword [ebp - 0x30]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0xb1f008], 0x8088405
inc edx
mov dword [ebx + 0xb1f008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41cf44
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cf75
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf5d
add dl, dl
jne 0x41cf80
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cfd1
xor eax, eax
add dl, dl
jne 0x41cf8d
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d06e
add dl, dl
jne 0x41cf9c
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfa7
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfb2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfbd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cfc7
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cf6c
mov eax, 1
add dl, dl
jne 0x41cfdf
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfea
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfd6
sub eax, ebx
mov ebx, 1
jne 0x41d01d
mov ecx, 1
add dl, dl
jne 0x41d003
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41d00e
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cffa
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf6c
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41d034
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41d03f
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d02b
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf6c
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41d08f
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41cf6c
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41f0a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0xb0358e
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x41f0ef
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x41f10e
mov ecx, edx
add ecx, ebx
jmp 0x41f10e
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41f10e
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x41f180
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x41f169
test esi, esi
jbe 0x41f180
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088ec
test eax, eax
jne 0x41f15b
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41f180
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41f138
jmp 0x41f180
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x41f180
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb03595
ret
Function at 0x4202d8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0xb048f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x420313
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x42032c
lea eax, [ebp - 0x10]
mov edx, dword [0xb2154c]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x42033f
lea eax, [ebp - 0x10]
mov edx, dword [0xb2154c]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x42034b
adc edx, 0
mov edx, dword [edx*4 + 0xb20378]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x4204c5
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x4204b8
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x4204b8
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x4204b8
mov eax, edi
cmp dword [eax], 0x4550
jne 0x4204b8
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x420456
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x420456
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420456
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420456
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x4204b8
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x4204b8
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x4204b8
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x4204b8
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4204b8
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x4204dd
inc ebx
cmp ebx, 0x19
jne 0x420305
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb048fa
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x401000
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x412004]
xor eax, ebp
mov dword [ebp - 4], eax
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x40]
movlpd qword [ebp - 0x20], xmm0
push eax
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
mov dword [ebp - 8], 0
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], str.open
mov dword [ebp - 0x30], str.wmic
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x3c], 0x40
mov dword [ebp - 0x2c], str.process_where__caption__javaw.exe_and_commandline_like__ZS_Desktop.jar___delete
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 0x5dc
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call fcn.0040335f
int3

Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x4086ca
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x4086d9
pop dword [ebp - 0x38]
mov eax, 0x9d344d94
add eax, 0x630c3945
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x8eaffeb6
sub dword [ebp - 0x48], 0x405db96b
mov dword [ebp - 0x44], 0x6f331afb
sub dword [ebp - 0x44], 0x3cffceb6
mov dword [ebp - 0x40], 0x294ecea3
sub dword [ebp - 0x40], 0xdd028a75
mov dword [ebp - 0x3c], 0x7b071f4a
sub dword [ebp - 0x3c], 0x7b071f4a
lea eax, [ebp - 0x48]
push eax
mov eax, 0x8c311f58
sub eax, 0x8bf04f04
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x22eb1e17
sub dword [ebp - 0x48], 0xae78b4c1
mov dword [ebp - 0x44], 0x83c6e4d4
sub dword [ebp - 0x44], 0x425a835f
mov dword [ebp - 0x40], 0x4118c3b1
add dword [ebp - 0x40], 0x2256a8bb
mov dword [ebp - 0x3c], 0x6f72a25e
add dword [ebp - 0x3c], 0x908d5da2
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0xab6c5d17
add eax, 0x54d47335
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x3cb8d
push 0
call eax
mov ecx, 0x54cf
mov edi, eax
mov edx, 0x5849660b
sub edx, 0x5807b60b
add edx, dword [ebp - 0x38]
mov esi, 0x20a402bf
sub esi, 0xb743d585
xor dword [ebp - 0x20], 0xf2ac5ef4
mov ebx, dword [edx]
add dword [ebp - 0x2c], 0xa3467787
add ebx, esi
mov dword [ebp - 0x30], 0x63cb97f7
mov dword [edi], ebx
add edi, 0xb08442d4
sub edi, 0xb08442d0
add edx, 4
loop 0x4087f5
add eax, 0x1460f
mov ebx, eax
add eax, 0xc7d2dd81
sub eax, 0xc7d2dd7c
mov ecx, 0x400000
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x41a80c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x41a81b
pop dword [ebp - 0x28]
mov eax, 0x41a81b
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xb0ea294f
sub dword [ebp - 0x38], 0x6297e404
mov dword [ebp - 0x34], 0xed9b15d4
add dword [ebp - 0x34], 0x44983671
mov dword [ebp - 0x30], 0x7bbfacb1
sub dword [ebp - 0x30], 0x2f736883
mov dword [ebp - 0x2c], 0xd1c4dbbc
add dword [ebp - 0x2c], 0x2e3b2444
lea eax, [ebp - 0x38]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x100fca4d
add dword [ebp - 0x38], 0x64629f09
mov dword [ebp - 0x34], 0x1a20a4b1
sub dword [ebp - 0x34], 0xd8b4433c
mov dword [ebp - 0x30], 0xdb483a19
add dword [ebp - 0x30], 0x88273253
mov dword [ebp - 0x2c], 0x29c107
add dword [ebp - 0x2c], 0xffd63ef9
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0x40b266c8
add eax, 0xbf9349b8
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x50371
push 0
call eax
mov ecx, 0xb5eb8557
add ecx, 0x4a14ce3e
xor ebx, ebx
add ebx, eax
mov edx, 0xe18b6eac
sub edx, 0xe1440eac
add edx, dword [ebp - 0x28]
mov edi, 0x40329123
add edi, 0x5b591072
add dword [ebp - 4], esi
mov esi, dword [edx]
xor dword [ebp - 0x1c], ecx
sub esi, edi
xor dword [ebp - 4], 0xcc3f9d60
mov dword [ebx], esi
add dword [ebp - 8], 0x8035c427
add ebx, 0x339d69be
add ebx, 0xcc629646
add edx, 0x71d1b346
sub edx, 0x71d1b342
loop 0x41a935
add eax, 0x26d99f85
sub eax, 0x26d85e5e
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x6d4cd18b
Capabilities:
Encode data using xor

Disassembly:
out dx, eax
cli
dec edx
mov esi, 0x386f3a71
dec edi
push 0xffffffffffffffd1
xor al, 0x3c
inc ebx
adc bh, byte [ebx + 0x67]
mov al, byte [0xa92674b9]
fldl2e
outsb dx, byte [esi]
lodsd eax, dword [esi]
lodsb al, byte [esi]
mov ecx, 0xe1e7d3e1
dec byte [edi - 0x37d5e3c9]
dec ebp
inc esi
wait
nop
pushfd
push esp
inc ebx
inc esi
pop ebp
out dx, eax
dec esp
invalid
jo 0x6d4cd1b7
jle 0x6d4cd100
or al, 0xf5
pop ds
adc edi, dword [edi - 0x67]
xchg ecx, eax
rol dword [eax - 0x7c38dc4f], 0x70
call 0x144a42
popfd
movsb byte es:[edi], byte [esi]
pop eax
lodsb al, byte [esi]
jnp 0x6d4cd1b3
in eax, 0x48
mov cl, 0x38
jmp 0x21bbaf25
jge 0x6d4cd179
out dx, eax
invalid
arpl sp, bx
inc esi
cld
neg byte [edx]
add esi, dword [esi + 0x491b8c94]
pop edx
loope 0x6d4cd1c1
sbb ecx, dword [ecx - 0x71]
ret 0xfae1
in al, dx
pop ecx
out 0x64, al
mov edi, 0x883c7698
cmp al, 0xaa
adc esp, dword [eax + 6]
mov ch, 5
pop ecx
xchg esi, eax
and bl, cl
mov ch, 0xdc
imul esi
shr dword [edi - 0x60], 0x77
and esi, eax
pop ebp
mov dword [ecx], ebx
dec esi
and esi, dword [bp + di]
or al, 4
or ebx, ecx
or dword [esi - 0x1c622f71], ecx
and ecx, eax
xchg ebp, eax
sub al, 0x48
push esi
push edi
rol byte [edi + 0x5d], cl
leave
out dx, eax
xchg edx, eax
sal ecx, 1
mov ebx, 0x988431bc
xchg ebp, eax
jnp 0x6d4cd231
sbb byte [ecx], bl
inc dword [edx + 0x6d90731]
xor byte [ecx], 7
fld dword [esi]
inc edx
jb 0x6d4cd211
or esp, ebx
leave
stc
cmp dl, bl
jo 0x6d4cd22b
lds ebp, [esi - 0x43b4f1e5]
cdq
xor byte [ecx + 0x16], 0xdf
xchg ecx, eax
salc
in eax, 0xc
fist word [ecx + 0xce53ed6]
int1
aaa
inc esp
xchg ebx, eax
mov byte [0xf73493be], bl
je 0x6d4cd2b9
or al, dh
add dl, 0x4c
fcomp dword [eax - 0x7f]
sbb dword [ebp + 0x44], esi
pop es
aam 0xe0
pop ss
hlt
aas
xchg esi, eax
ror dword [edi + 0x2314d387], cl
rcr dword [edi - 0x4a1c1634], 1
mov al, 0x6b
mov ah, 0xc5
sar dword [0x3c4d2d0e], 0xb2
mov edi, 0x69794ff0
add dl, byte [esi]
xor dword [edx - 0x6e], eax
and cl, ah
invalid
Function at 0x4027d4
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x402803
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA_1
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403698
jmp 0x402821
call sub.KERNEL32.DLL_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.00402708
mov edi, eax
test ebx, ebx
je 0x402821
cmp dword [esi], 0
je 0x402821
dec ebx
jmp 0x40280a
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4029c4
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x43b03c], 0x8088405
inc edx
mov dword [0x43b03c], edx
mul edx
mov eax, edx
ret

Function at 0x402b28
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402bc0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402ba0
xor eax, eax
push ebp
push 0x402b99
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402bdc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402ba0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret