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

Disassembly:
sbb byte [esp + ebx*8], ah
mov al, 0xd9
push 0xffffffffffffff84
and ebx, ecx
wait
test eax, 0xb75a6cdc
sub dword [ebx - 0x2a746d6], 0x7ab47a5b
mov edx, 0x49782979
push 0x9e59e04b
add al, 0xe9
pop ebp
movsd dword es:[edi], dword [esi]
xchg edx, eax
test al, 0x4f
pop ds
pop ebp
adc byte [eax + edi*2], 0x26
lea ebp, [ebx - 0x4c]
pop es
clc
inc esp
jp 0x498955
mov edi, 0x635728bc
ljmp 0x699c
mov ch, 0xba
lcall 0x4cef, 0x8b141d21
wait
ret 0xc814
cdq
pushal
mov bh, 0xf9
imul ebp, dword [edi + 0x3cd32fd9], 0x60efb5cc
sbb dl, ch
dec ebx
inc edx
jb 0x4989db
aad 0x2d
dec ebp
pop ss
dec ecx
push esi
call 0xd4b15c32
adc dh, 0x53
pop ss
jbe 0x49897f
ja 0x4989c6
inc ebp
xor ah, byte [edx - 0x46]
nop
and eax, 0x3291f99a
cmpsd dword [esi], dword es:[edi]
rol dword [edi], cl
leave
aas
xchg ecx, eax
xor ah, byte [edi + 0x3fc907d3]
xchg ecx, eax
js 0x49899c
ror cl, 1
add byte [ecx - 0x52], bl
sub al, byte [ecx]
mov ebx, 0x4072d283
mov edx, 0xe623004e
inc esp
fsub qword [edx - 0x71]
push 0xfbf5a5
shl byte [eax + 0x5da46458], 8
xor eax, edi
movsb byte es:[edi], byte [esi]
neg byte [esi + edx*8 + 0x29]
dec ecx
inc eax
bound eax, qword [esi - 0x23]
pop es
lcall 0xbd10, 0x623b422a
aam 0xde
or byte [edi + 0x41], ah
sub eax, 0x783d7de1
aad 0x9a
sbb ch, dl
add eax, 0x3779c199
lodsd eax, dword [esi]
xchg esi, eax
loopne 0x4989f6
xchg esi, eax
ja 0x498a93
cmc
movsd dword es:[edi], dword [esi]
daa
add al, 0xa8
les eax, [esi]
mov cs, word [ecx - 0x64165ee4]
dec esp
mov byte [edi], ah
jl 0xc651ff46
fsubr dword [edi + ebp - 0x56316f6c]
invalid
movsd dword es:[edi], dword [esi]
pop edi
inc ecx
fcomp dword [esi + eax*8 + 0x142798b7]
mov dword [ebx + 0x2e], edx
loop 0x498a9a
mov bh, 0x98
daa
adc al, 0x89
push ebx
loop 0x498a9a
lodsb al, byte [esi]
xor eax, 0x1cc429b6
mov al, 0x57
invalid
Function at 0x62b085
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x634420
cmp edx, dword [eax]
je 0x62b0a7
add eax, 8
inc ecx
cmp eax, 0x6344b0
jl 0x62b098
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x634420]
jne 0x62b1d5
mov eax, dword [0x638db0]
cmp eax, 1
je 0x62b1af
test eax, eax
jne 0x62b0d8
cmp dword [0x634348], 1
je 0x62b1af
cmp edx, 0xfc
je 0x62b1d5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x62b10f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0062ba70
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0062bf00
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x62b152
lea eax, [ebp - 0x1a4]
push eax
call fcn.0062bf00
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x630c04
push edi
call fcn.0062ddd0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0062ba70
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0062ba80
lea eax, [ebp - 0xa0]
push 0x630be4
push eax
call fcn.0062ba80
push dword [esi + 0x634424]
lea eax, [ebp - 0xa0]
push eax
call fcn.0062ba80
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062dd44
add esp, 0x2c
pop edi
jmp 0x62b1d5
lea eax, [ebp + 8]
lea esi, [esi + 0x634424]
push 0
push eax
push dword [esi]
call fcn.0062bf00
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 0x4015a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push esi
and eax, 0xffff
push 0x64
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x4015bd
pop esi
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0xc]
push esi
push 0
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
pop esi
ret

Function at 0x4015e0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x210
lea eax, [esp + 4]
push ebx
mov ebx, dword [esp + 0x220]
push esi
mov esi, dword [esp + 0x21c]
push edi
push eax
push esi
mov dword [ebx], 0
call fcn.004015a0
mov edi, eax
add esp, 8
test edi, edi
je 0x4016d5
lea ecx, [esp + 0x118]
push 0x104
push ecx
push esi
push 0x65
call fcn.00401120
add esp, 0x10
test al, al
je 0x4016cf
mov edx, dword [esp + 0x224]
lea eax, [esp + 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x14]
push 0x408048
push ecx
call esi
lea edx, [esp + 0x118]
lea eax, [esp + 0x14]
push edx
push eax
call esi
push 0
push 0x80
push 2
push 0
push 0
lea ecx, [esp + 0x28]
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4016cf
mov eax, dword [esp + 0x10]
lea edx, [esp + 0xc]
push 0
push edx
push eax
push edi
push esi
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4016cf
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
cmp ecx, eax
jne 0x4016cf
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x210
ret
mov dword [ebx], 1
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x210
ret
Function at 0x4016f0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x658
lea eax, [esp + 4]
push eax
push 5
push 0
push 0x40807c
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40174a
push 6
lea ecx, [esp + 0x5c]
call fcn.004010f0
push 2
lea ecx, [esp + 0x15c]
call fcn.004010f0
lea ecx, [esp + 0x158]
push 0
lea edx, [esp + 0x5c]
push ecx
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
add esp, 0x658
ret
lea eax, [esp + 8]
push 0x50
push eax
push 2
push 0x67
mov byte [esp + 0x18], 0
call fcn.00401120
mov eax, dword [esp + 0x14]
add esp, 0x10
lea ecx, [esp]
lea edx, [esp + 8]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x4017bd
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 6
lea ecx, [esp + 0x15c]
call fcn.004010f0
push 2
lea ecx, [esp + 0x5c]
call fcn.004010f0
lea edx, [esp + 0x58]
push 0
lea eax, [esp + 0x15c]
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
add esp, 0x658
ret
mov edx, dword [esp + 0x65c]
push esi
lea ecx, [esp + 0xc]
push edi
push ecx
push edx
lea eax, [esp + 0x268]
push str._sUninstall.exe__s
push eax
call fcn.00401e40
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
mov edx, dword [esp + 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
not ecx
push ecx
lea ecx, [esp + 0x14]
push ecx
push 1
push eax
push str.DisplayName
push edx
call esi
lea edi, [esp + 0x260]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea eax, [esp + 0x260]
push ecx
mov ecx, dword [esp + 0xc]
push eax
push 1
push 0
push str.UninstallString
push ecx
call esi
mov edx, dword [esp + 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call esi
mov eax, dword [esp + 0xc]
push eax
call esi
pop edi
pop esi
add esp, 0x658
ret
Function at 0x407180
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x571d0f05
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x2ca06955
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x668a6396
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x6e466ef7
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x407180
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x100016c0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10085a28
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100a7078]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movaps xmm0, xmmword [0x1009ebb0]
xor ecx, ecx
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x68725e78
mov dword [ebp - 0x28], 0x6f786973
mov byte [ebp - 0x24], 0
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x17
jb 0x10001704
mov byte [ebp - 0x24], 0
mov cl, 0x14
mov dword [ebp - 0x1c], 0x66717f14
xor eax, eax
mov dword [ebp - 0x18], 0x2778717a
mov dword [ebp - 0x14], 0x78703a26
mov word [ebp - 0x10], 0x78
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 0xc
jae 0x10001743
mov cl, byte [ebp - 0x1c]
jmp 0x10001734
lea eax, [ebp - 0x3b]
mov byte [ebp - 0xf], 0
push eax
lea eax, [ebp - 0x1b]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.100193b0
cmp al, 0xe9
jne 0x100017ed
movaps xmm0, xmmword [0x1009e8e0]
xor ecx, ecx
movups xmmword [ebp - 0x20], xmm0
mov word [ebp - 0x10], 0x6b
nop
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0x10
jb 0x10001780
cmp byte [ebp - 0x1f], 0
mov byte [ebp - 0xf], 0
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x3c], 0
jne 0x100017ad
xor ecx, ecx
jmp 0x100017bc
lea ecx, [ebp - 0x1f]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100017b3
sub ecx, edx
push ecx
lea eax, [ebp - 0x1f]
push eax
lea ecx, [ebp - 0x3c]
call fcn.10002770
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0
call fcn.1001ce90
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x100017ed
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.10002650
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x10001800
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10085a58
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100a7078]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov cl, 0x58
mov dword [ebp - 0x1c], 0x35312c58
mov dword [ebp - 0x18], 0x2c3d1f3d
xor eax, eax
mov dword [ebp - 0x14], 0x3d35310c
mov byte [ebp - 0x10], 0
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 0xb
jae 0x10001851
mov cl, byte [ebp - 0x1c]
jmp 0x10001842
mov byte [ebp - 0x10], 0
mov cl, 0x11
mov dword [ebp - 0x34], 0x63747a11
xor eax, eax
mov dword [ebp - 0x30], 0x227d747f
mov dword [ebp - 0x2c], 0x7d753f23
mov word [ebp - 0x28], 0x7d
xor byte [ebp + eax - 0x33], cl
inc eax
cmp eax, 0xc
jae 0x10001883
mov cl, byte [ebp - 0x34]
jmp 0x10001874
lea eax, [ebp - 0x1b]
mov byte [ebp - 0x27], 0
push eax
lea eax, [ebp - 0x33]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.100193b0
cmp al, 0xe9
jne 0x1000192d
movaps xmm0, xmmword [0x1009e530]
xor ecx, ecx
movups xmmword [ebp - 0x38], xmm0
mov word [ebp - 0x28], 0x44
nop
mov al, byte [ebp - 0x38]
xor byte [ebp + ecx - 0x37], al
inc ecx
cmp ecx, 0x10
jb 0x100018c0
cmp byte [ebp - 0x37], 0
mov byte [ebp - 0x27], 0
mov dword [ebp - 0x10], 0xf
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x24], 0
jne 0x100018ed
xor ecx, ecx
jmp 0x100018fc
lea ecx, [ebp - 0x37]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100018f3
sub ecx, edx
push ecx
lea eax, [ebp - 0x37]
push eax
lea ecx, [ebp - 0x24]
call fcn.10002770
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0
call fcn.1001ce90
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x1000192d
inc eax
lea ecx, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
call fcn.10002650
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x10001cf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100a7078]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x1009da30]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
nop dword [eax]
mov cl, byte [ebp - 0x28]
xor byte [ebp + eax - 0x27], cl
inc eax
cmp eax, 0xe
jb 0x10001d10
mov byte [ebp - 0x19], 0
mov cl, 0x7d
mov dword [ebp - 0x18], 0x2f38367d
xor eax, eax
mov dword [ebp - 0x14], 0x4e313833
mov dword [ebp - 0x10], 0x1119534f
mov word [ebp - 0xc], 0x11
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 0xc
jae 0x10001d4f
mov cl, byte [ebp - 0x18]
jmp 0x10001d40
lea eax, [ebp - 0x27]
mov byte [ebp - 0xb], 0
push eax
lea eax, [ebp - 0x17]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push 1
lea ecx, [ebp - 5]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp byte [ebp - 5], 0xe9
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
call fcn.10067955
mov esp, ebp
pop ebp
ret

Function at 0x10001e60
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
ret

Function at 0x10001e70
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100a0db8
push 0x1006c5e0
mov eax, dword fs:[0]
push eax
add esp, 0xffffffc0
mov eax, dword [0x100a7078]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x48], 0
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x40
push 0x3000
mov edx, dword [ebp - 0x44]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10001f09
xor al, al
jmp 0x10001f92
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov byte [ecx], 0xc3
lea edx, [ebp - 0x20]
push edx
push 0x140
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10001f34
xor al, al
jmp 0x10001f92
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
push 0x10001f7f
jmp eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10067955
mov esp, ebp
pop ebp
ret
Function at 0x10002bd0
Capabilities:
Allocate or change rwx memory
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100a7078]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov byte [ebp - 0x18], 0x11
mov al, 0x7f
xor al, byte [ebp - 0x18]
mov bl, 0x7d
mov ah, bl
mov byte [ebp - 0x17], al
mov al, byte [ebp - 0x18]
mov dl, 0x75
mov bh, ah
mov byte [ebp - 9], ah
mov dh, dl
mov byte [ebp - 0xe], 0
xor dl, al
mov byte [ebp - 0xe], 0
xor bl, al
mov byte [ebp - 0x15], dl
xor ah, al
mov byte [ebp - 0x14], bl
xor dh, al
mov byte [ebp - 0x13], ah
xor bh, al
mov byte [ebp - 0x11], dh
mov cl, 0x65
mov byte [ebp - 0x10], bh
xor cl, al
mov ch, 0x3f
xor ch, al
mov byte [ebp - 0x16], cl
mov al, byte [ebp - 9]
xor al, byte [ebp - 0x18]
mov byte [ebp - 0xf], al
lea eax, [ebp - 0x17]
push eax
mov byte [ebp - 0x12], ch
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movaps xmm0, xmmword [str.X_n_4]
mov edx, eax
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0x73d3539
xor eax, eax
mov word [ebp - 0x1c], 0xd
pop ebx
nop dword [eax]
mov cl, byte [ebp - 0x30]
xor byte [ebp + eax - 0x2f], cl
inc eax
cmp eax, 0x14
jb 0x10002c60
lea eax, [ebp - 0x2f]
mov byte [ebp - 0x1b], 0
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ecx
mov edx, 0x100028d0
mov ecx, eax
call fcn.10063760
add esp, 4
mov dword [0x100aa810], eax
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push 0x40
push 5
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10067955
mov esp, ebp
pop ebp
ret

Function at 0x10002d80
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movaps xmm0, xmmword [0x1009eb20]
xor ecx, ecx
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0xc], 0x707a4378
mov dword [ebp - 8], 0x67757857
mov word [ebp - 4], 0x67
mov al, byte [ebp - 0x1c]
xor byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 0x18
jb 0x10002da7
push 0
lea eax, [ebp - 0x1b]
mov byte [ebp - 3], 0
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x10002ddf
push 9
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x10002df0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100a7078]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x1000
push 0x40
mov dword [ebp - 8], 0x1000
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
lea eax, [ebp - 8]
push eax
push esi
push 0x250000
call dword [sym.imp.MPR.dll_WNetGetProviderNameA]
test eax, eax
jne 0x10002e87
movaps xmm0, xmmword [0x1009e910]
xor ecx, ecx
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x5b3d7978
mov dword [ebp - 0x10], 0x78797172
mov word [ebp - 0xc], 0x6e6f
mov byte [ebp - 0xa], al
nop
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x19
jb 0x10002e50
lea eax, [ebp - 0x23]
mov byte [ebp - 0xa], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x10002e87
push 9
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10067955
mov esp, ebp
pop ebp
ret
Function at 0x10005f80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10085ea8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100a7078]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x100060ae
cmp byte [ebx + 0x3d], 0
je 0x100060ae
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x10005fd9
xor al, al
jmp 0x100060b0
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10009000
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x1000603f
sub eax, 1
je 0x10006043
mov ecx, dword [ebp - 0x14]
sub eax, 2
je 0x10006096
xor bl, bl
jmp 0x10006098
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x10006078
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.1006e3a0
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
jne 0x1000603b
cmp byte [ebx + 0x3d], 0
je 0x10006096
test esi, esi
jne 0x10006001
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.10009110
jmp 0x10005ffe
mov bl, 1
cmp ecx, 0x10
jb 0x100060aa
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.10002650
mov al, bl
jmp 0x100060b0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10067955
mov esp, ebp
pop ebp
ret