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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x1000e5f2
pop dword [ebp - 0x1c]
mov eax, 0x8d5fa4c6
add eax, 0x82a1412c
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x451fd102
sub dword [ebp - 0x2c], 0xf6cd8bb7
mov dword [ebp - 0x28], 0x663f0c14
add dword [ebp - 0x28], 0xcbf44031
mov dword [ebp - 0x24], 0xa1a77370
add dword [ebp - 0x24], 0xaaa4d0be
mov dword [ebp - 0x20], 0x7e7fafa1
sub dword [ebp - 0x20], 0x7e7fafa1
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x6557fa93
add eax, 0xaaa9354d
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x2704cb3d
add dword [ebp - 0x2c], 0x4d6d9e19
mov dword [ebp - 0x28], 0x5ad44d41
add dword [ebp - 0x28], 0xe6981434
mov dword [ebp - 0x24], 0xe39e6f1
add dword [ebp - 0x24], 0x5535857b
mov dword [ebp - 0x20], 0xa79845e3
add dword [ebp - 0x20], 0x5867ba1d
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0x81bd9f1f
add eax, 0x8e4390c9
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x393d4
push 0
call eax
mov ecx, 0x52b4
xor esi, esi
add esi, eax
mov edx, 0xdf5cc4c
sub edx, 0xfdf4424c
add edx, dword [ebp - 0x1c]
mov ebx, 0xd6810fd8
add ebx, 0x47e660d8
xor dword [ebp - 4], 0xb6d18318
mov edi, dword [edx]
xor dword [ebp - 4], ecx
sub edi, ebx
xor dword [ebp - 4], 0xb3ad1a
mov dword [esi], edi
sub dword [ebp - 0xc], ecx
add esi, 0x6355770d
sub esi, 0x63557709
add edx, 4
loop 0x1000e710
add eax, 0x13da3
xor ebx, ebx
add ebx, eax
add eax, 0x85bc353
sub eax, 0x85bc34e
mov ecx, 0x10000000
add ecx, dword [ebp - 0x1c]
call ebx
leave
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, 0x408e84
nop
mov ecx, 0x32f0279
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x645d52ce
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x40689a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4068be
xor eax, eax
test eax, eax
je 0x4068d1
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4068d1
xor ecx, ecx
jmp 0x4068d4
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x4069f7
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43190c], 0
push esi
jne 0x406a2e
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406a08
mov dword [ecx*4 + 0x431908], eax
inc ecx
cmp ecx, 0x100
jl 0x406a03
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406a5f
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431908]
xor eax, esi
inc ecx
dec edx
jne 0x406a41
pop edi
not eax
pop esi
ret 0xc

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
nop
pop eax
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x401d1e
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [esp + 0x14]
lea eax, [esp + 0x18]
mov edi, ecx
push eax
call fcn.00401dfb
xor ebp, ebp
pop ecx
pop ecx
mov ebx, dword [eax]
mov dword [eax], ebp
cmp dword [esp + 0x14], ebp
je 0x401d4d
push 4
push dword [esp + 0x18]
call fcn.004065a6
pop ecx
pop ecx
lea esi, [edi + 4]
push esi
push ebp
push ebx
push 0x401981
push ebp
push ebp
call fcn.0040de3b
add esp, 0x18
mov dword [edi], eax
test eax, eax
je 0x401d6f
pop edi
pop esi
pop ebp
pop ebx
ret 4
push 6
mov dword [esi], ebp
call fcn.00404746
int3

Function at 0x4071ad
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4071ec
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4071ec
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4071ec
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4071ec
cmp dword [ecx + 0x74], 0xe
jbe 0x4071ec
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x41614d
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42830c
push 0x428304
push str.FlsAlloc
push 0x1e
call fcn.00415f7a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x416181
push dword [ebp + 8]
mov ecx, esi
call dword [0x424158]
call esi
jmp 0x416187
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4161cb
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42831c
push 0x428314
push str.FlsGetValue
push 0x20
call fcn.00415f7a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x416202
push dword [ebp + 8]
mov ecx, esi
call dword [0x424158]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4179b6
Capabilities:
Read file on windows

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

Function at 0x4179c1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004177e7
Function at 0x41902c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00407320
mov eax, dword [0x42f040]
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.00415986
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41906e
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4191ca
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00422760
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 + 0x430b20]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00419452
mov ecx, dword [esi*4 + 0x430b20]
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 0x4191c3
cmp eax, dword [edi + ecx + 0x24]
jne 0x4191c3
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 0x4191c3
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00419452
add esp, 0x14
test edx, edx
jl 0x4191c3
jg 0x419139
test eax, eax
jb 0x4191c3
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4191c3
jl 0x419153
cmp dword [ebp - 0x1008], eax
ja 0x4191c3
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x419171
test ebx, ebx
je 0x4191aa
cmp ecx, edi
jae 0x4191aa
mov al, byte [ecx]
cmp al, 0xd
jne 0x41918b
lea eax, [edi - 1]
cmp ecx, eax
jae 0x419197
cmp byte [ecx + 1], 0xa
jne 0x419197
inc ecx
jmp 0x419197
movzx eax, al
movsx eax, byte [eax + 0x42f9b8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x419171
cmp edx, ebx
jne 0x419171
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4191c8
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004065b4
leave
ret
Function at 0x41a972
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x41aa0f
push ebx
push esi
call fcn.0041a93b
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.004195c0
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41a9bc
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41aa0e
push edi
push eax
call fcn.00414ae0
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x41a9dc
call fcn.004148b6
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41aa0d
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004195c0
add esp, 0x20
test eax, eax
jne 0x41a9fb
push edi
call fcn.004148b6
jmp 0x41aa03
push ebx
call fcn.004148b6
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x41f574
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 + 0x430b20]
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 0x41f5b4
cmp byte [ebx], 0xa
jne 0x41f5b4
or byte [eax + edi + 0x28], 4
jmp 0x41f5b9
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41f6b7
mov al, byte [edx]
cmp al, 0x1a
je 0x41f699
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41f5e8
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41f60d
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41f617
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 0x41f5ca
jmp 0x41f6b7
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 0x41f694
cmp dword [ebp - 0xc], 0
je 0x41f694
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x430b20]
test byte [eax + edi + 0x28], 0x48
je 0x41f66e
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41f659
mov byte [esi], dl
jmp 0x41f66a
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x430b20]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41f6b7
cmp byte [ebp - 1], 0xa
jne 0x41f67d
cmp esi, ebx
jne 0x41f67d
mov byte [esi], 0xa
jmp 0x41f6b6
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00419470
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41f6b7
mov byte [esi], 0xd
jmp 0x41f6b6
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x430b20]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41f6b3
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41f6b7
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41f6c0
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 + 0x430b20]
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 0x41f703
cmp word [esi], dx
jne 0x41f703
or byte [edi + eax + 0x28], 4
jmp 0x41f708
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 0x41f85b
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 0x41f83b
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41f74a
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41f780
cmp eax, edx
jae 0x41f78c
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 0x41f722
jmp 0x41f85b
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 0x41f837
cmp dword [ebp - 0x14], 0
je 0x41f837
mov eax, dword [ebx*4 + 0x430b20]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41f80f
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41f7d8
mov word [esi], cx
jmp 0x41f80b
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x430b20]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x430b20]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x430b20]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41f85b
pop ebx
cmp word [ebp - 4], bx
jne 0x41f820
cmp esi, dword [ebp + 0xc]
jne 0x41f820
mov word [esi], bx
jmp 0x41f858
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00419470
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41f85b
push 0xd
jmp 0x41f854
mov ecx, dword [ebx*4 + 0x430b20]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41f852
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41f85b
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 0x422560
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42258d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42258d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4233c3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
xor esi, esi
cmp dword [esp + 0x10], esi
jbe 0x423413
push ebx
mov ebx, dword [esp + 0x14]
and ebx, 1
mov al, byte [esi + ebp]
mov ecx, 0x430260
xor al, 0x73
sub al, 0x58
push ebx
mov byte [esi + ebp], al
call fcn.004024ea
push eax
call fcn.00401dd2
mov al, byte [esi + ebp]
sub al, 0x14
xor al, 0x74
add al, 0x4e
xor al, 0x70
sub al, 0x65
xor al, 0x22
sub al, 0x73
xor al, 0x2a
mov byte [esi + ebp], al
inc esi
pop ecx
cmp esi, dword [esp + 0x14]
jb 0x4233d9
pop ebx
pop esi
pop ebp
ret

Function at 0x423416
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x42f040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.006:107_4:_00007:277_0:_004:_04:_008:_08:_08:_8:_7:2_3:_9:193_4:_
lea ecx, [ebp - 0x1c]
call fcn.00401fdd
push 0xc
call fcn.00406576
pop ecx
test eax, eax
je 0x42344d
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, eax
call section..bss
jmp 0x42344f
xor eax, eax
mov eax, dword [eax + 4]
shl eax, 2
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 0x40
push 0x4ac
push 0x465038
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call dword [sym.imp.KERNEL32.dll_FreeConsole]
push 0x42339a
lea ecx, [ebp - 0x28]
call fcn.00401d1e
lea ecx, [ebp - 0x28]
call fcn.004040aa
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, 0x465038
add edx, 0x188
mov esi, 0x431038
push esi
call edx
cmp dword [ebp - 0x24], 0
jne 0x4234c4
lea ecx, [ebp - 0x1c]
call fcn.004033ef
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004065b4
leave
ret
call fcn.0040dc7b
int3
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x401c66
pop dword [ebp - 0x1c]
mov eax, 0x401c66
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x71db57b9
sub dword [ebp - 0x2c], 0x2389126e
mov dword [ebp - 0x28], 0x32e85465
add dword [ebp - 0x28], 0xff4af7e0
mov dword [ebp - 0x24], 0xdf891438
add dword [ebp - 0x24], 0x6cc32ff6
mov dword [ebp - 0x20], 0xb9e6cbf6
sub dword [ebp - 0x20], 0xb9e6cbf6
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x16f00d2
add eax, 0xfed12f82
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x5b666d14
add dword [ebp - 0x2c], 0x190bfc42
mov dword [ebp - 0x28], 0x2a01cd9
sub dword [ebp - 0x28], 0xc133bb64
mov dword [ebp - 0x24], 0xd665f911
sub dword [ebp - 0x24], 0x72f68ca5
mov dword [ebp - 0x20], 0x39b4d735
sub dword [ebp - 0x20], 0x39b4d735
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0x6ab26f54
sub eax, 0x6a723f28
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x37a8a
push 0
call eax
mov ecx, 0x84a8846c
sub ecx, 0x84a837b6
mov edx, eax
mov edi, 0x407000
add edi, dword [ebp - 0x1c]
mov esi, 0x1137e3b0
sub esi, 0x7dc08426
xor dword [ebp - 0xc], 0x1ea074ea
mov ebx, dword [edi]
xor dword [ebp - 0x18], ebx
sub ebx, esi
mov dword [ebp - 0x18], 0xc20b37ea
mov dword [edx], ebx
xor dword [ebp - 4], 0xd33bb285
add edx, 4
add edi, 0x363d54f2
sub edi, 0x363d54ee
loop 0x401d7d
add eax, 0x686119f2
sub eax, 0x685ff447
mov ebx, eax
add eax, 5
mov ecx, 0xd1b0e92f
sub ecx, 0xd170e92f
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret

Function at 0x401995
Capabilities:
Encode data using xor

Disassembly:
xchg ch, ah
imul edi, edi, 0xbd836629
mov esi, ebx
xchg dh, cl
mov al, 0x51
imul ebx, ebx
mov ch, dh
lea edi, [edx]
mov eax, 0xc2314b52
cmp eax, 0x2309706f
xor esi, edi
mov ecx, 0x37da5d71
mov al, 0x91
lea edx, [0x868fdccf]
and cl, ah
call 0x401a0e
cmp ebp, ebx
je 0x4019d6
mov eax, eax
test bl, cl
sub esi, ebp
cmp ecx, 0x6287
ja 0x4019e0
bswap edx
cmp edx, edi
jbe 0x4019e5
dec esi
lea ecx, [0xeb]
dec dl
add ecx, 0x3e4
mov dl, bh
sub ecx, 0xfffffa4a
sub ecx, 0x5b7
xor al, 0xa
inc eax
dec al
cmp ecx, 0x170
jae 0x4019f3
jb 0x401a12
test ecx, edi
and eax, ecx
lea eax, [0x218d8744]
lea edx, [0xf9c4]
mov eax, esi
xor edx, 0x50a2
test ch, 0x87
add ebp, edx
mov dh, 0xae
sub ebp, 0x3d8c
pop edx
movd mm4, edx
mov edi, 0x9ad9e395
inc ch
jae 0x401a46
Function at 0x4038a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x4038af
pop dword [ebp - 0x44]
mov eax, 0x4038af
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x73533281
add dword [ebp - 0x54], 0xdaff12ca
mov dword [ebp - 0x50], 0xf91f6857
sub dword [ebp - 0x50], 0xc6ec1c12
mov dword [ebp - 0x4c], 0xbb86af49
sub dword [ebp - 0x4c], 0x6f3a6b1b
mov dword [ebp - 0x48], 0x3c4f6810
add dword [ebp - 0x48], 0xc3b097f0
lea eax, [ebp - 0x54]
push eax
mov eax, 0xd576b0
sub eax, 0x941618
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0xc7816878
sub dword [ebp - 0x54], 0x530eff22
mov dword [ebp - 0x50], 0x676c27dd
add dword [ebp - 0x50], 0xda003998
mov dword [ebp - 0x4c], 0xff1db082
add dword [ebp - 0x4c], 0x6451bbea
mov dword [ebp - 0x48], 0xb1913afd
add dword [ebp - 0x48], 0x4e6ec503
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0x63fbf3bc
sub eax, 0x63ba9348
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x36de6
push 0
call eax
mov ecx, 0xb2e6dc8c
sub ecx, 0xb2e6a591
mov edi, eax
mov esi, 0x42a600
add esi, dword [ebp - 0x44]
mov ebx, 0x5f2edd6a
sub ebx, 0x2abee7f6
mov edx, dword [esi]
add dword [ebp - 0x30], edi
sub edx, ebx
mov dword [ebp - 0x18], 0xf05440ed
mov dword [edi], edx
xor dword [ebp - 0xc], edi
add edi, 0x8190b003
sub edi, 0x8190afff
add esi, 0x1816385b
add esi, 0xe7e9c7a9
loop 0x4039c6
add eax, 0xbe1c430a
sub eax, 0xbe1b744b
xor ebx, ebx
add ebx, eax
add eax, 0x56ae9304
add eax, 0xa9516d01
mov ecx, 0x3f77d5fd
add ecx, 0xc0c82a03
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x10031aa5
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x74c
mov eax, 0x1005ef63
call fcn.10044e15
mov edi, ecx
cmp dword [edi + 0x24], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x758], eax
jne 0x10031afa
push 0x10004af8
push 0x3a
lea ecx, [ebp - 0x73c]
call fcn.10048ae2
mov esi, eax
push 0x10061eac
lea eax, [ebp - 0x3b4]
mov ecx, 0xe2
lea edi, [ebp - 0x3b4]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.10048ae2
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x744], 7
mov dword [ebp - 0x740], 1
jb 0x10031b18
mov eax, dword [esi]
jmp 0x10031b1a
mov eax, esi
lea ecx, [ebp - 0x740]
push ecx
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x744]
push ecx
push ebx
push eax
push dword [edi + 0x24]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov ecx, eax
cmp ecx, 2
je 0x10031c70
cmp dword [ebp - 0x744], 7
jne 0x10031c70
test ecx, ecx
je 0x10031b6f
push esi
lea eax, [edi + 8]
push eax
push 0x100049c8
push ecx
push 0xf
lea ecx, [ebp - 0x73c]
call fcn.10048ae2
jmp 0x10031ada
mov eax, dword [ebp - 0x740]
add eax, 2
mov dword [ebp - 0x740], eax
mov dword [ebp - 0x754], ebx
mov dword [ebp - 0x750], ebx
mov dword [ebp - 0x74c], ebx
push eax
lea ecx, [ebp - 0x754]
mov dword [ebp - 4], ebx
call fcn.10048ae2
mov ebx, dword [ebp - 0x750]
sub ebx, dword [ebp - 0x754]
mov dword [ebp - 4], 1
mov eax, ebx
neg eax
sbb eax, eax
and eax, dword [ebp - 0x754]
cmp dword [esi + 0x14], 8
jb 0x10031bc8
mov ecx, dword [esi]
jmp 0x10031bca
mov ecx, esi
lea edx, [ebp - 0x740]
push edx
push eax
lea eax, [ebp - 0x744]
push eax
push 0
push ecx
push dword [edi + 0x24]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
je 0x10031bf9
push esi
lea ecx, [edi + 8]
push ecx
push 0x100049c8
push eax
jmp 0x10031b5d
mov edi, dword [ebp - 0x758]
xor esi, esi
mov eax, ebx
neg eax
sbb eax, eax
and eax, dword [ebp - 0x754]
and dword [ebp - 0x1c], 0
xor ecx, ecx
lea eax, [eax + esi*2]
mov word [ebp - 0x2c], cx
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
call fcn.10048ae2
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.10048ae2
mov eax, dword [ebp - 0x1c]
push 0
inc eax
push 1
lea ecx, [ebp - 0x2c]
add esi, eax
mov byte [ebp - 4], 1
call fcn.10048ae2
mov ecx, ebx
neg ecx
sbb ecx, ecx
and ecx, dword [ebp - 0x754]
cmp byte [ecx + esi*2], 0
jne 0x10031c01
lea ecx, [ebp - 0x754]
call fcn.1005e30d
mov al, 1
jmp 0x10031c72
xor al, al
call fcn.10044e98
ret 8