joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10031550
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 0x100315ed
push ebx
push esi
call fcn.10031519
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.1002cb09
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1003159a
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100315ec
push edi
push eax
call fcn.1002b640
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100315ba
call fcn.1002aa30
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100315eb
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1002cb09
add esp, 0x20
test eax, eax
jne 0x100315d9
push edi
call fcn.1002aa30
jmp 0x100315e1
push ebx
call fcn.1002aa30
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 0x100315f0
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x10031601
pop esi
ret
push ebx
push edi
push esi
call fcn.10031519
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.1002b640
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x10031629
push ebx
push esi
push edi
call fcn.1001b020
add esp, 0xc
push 0
call fcn.1002aa30
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x100319f8
Capabilities:
Set environment variable

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

Function at 0x1003405f
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.10027dd7
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100340ce
cmp esi, dword [ebp - 4]
je 0x100340c9
cmp dword [ebp + 0xc], 0
je 0x100340c9
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100340a6
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.10033bb4
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x100340d0
xor eax, eax
inc eax
jmp 0x100340d0
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x1003413b
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1004b080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.10027dd7
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.10027dd7
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x100341b2
cmp word [ecx], dx
je 0x100341b2
mov eax, dword [0x1004087c]
push edi
dec eax
push eax
push 0x10040768
call fcn.100340d4
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x10034225
cmp word [eax], dx
je 0x10034225
mov eax, dword [edi]
test eax, eax
je 0x100341d6
cmp word [eax], dx
je 0x100341d6
lea eax, [ebp - 0x10]
push eax
call fcn.10033aba
jmp 0x100341df
lea eax, [ebp - 0x10]
push eax
call fcn.10033b55
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x1003424f
mov eax, dword [0x10040764]
push dword [ebp - 0x14]
dec eax
push eax
push 0x10040458
call fcn.100340d4
add esp, 0xc
test al, al
je 0x1003424f
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x1003421a
cmp word [eax], di
je 0x1003421a
lea eax, [ebp - 0x10]
push eax
call fcn.10033aba
pop ecx
jmp 0x10034251
lea eax, [ebp - 0x10]
push eax
call fcn.10033b55
jmp 0x10034217
mov eax, dword [edi]
test eax, eax
je 0x1003423c
cmp word [eax], dx
je 0x1003423c
lea eax, [ebp - 0x10]
push eax
call fcn.10033a6f
pop ecx
jmp 0x1003424f
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x1003431a
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10033f59
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1003431a
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x1003431a
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1003431a
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100342a7
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.1002b07d
test ebx, ebx
je 0x10034315
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.1002b07d
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1003431a
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1003431a
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.10037ab7
add esp, 0x10
xor eax, eax
inc eax
jmp 0x1003431c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100198a3
leave
ret
Function at 0x10037cd3
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.10037c4f
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x10037e42
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x10037e42
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x10037df7
jg 0x10037d2f
test eax, eax
je 0x10037ded
push 1
push 0x1000
call fcn.1002a9d0
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10037d52
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10037de4
push 0x8000
push ebx
call fcn.10037b7e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x10037d7b
jg 0x10037d76
cmp ecx, 0x1000
jb 0x10037d7b
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.1002e671
add esp, 0x10
cmp eax, 0xffffffff
je 0x10037dc0
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x10037d76
jl 0x10037da7
test ecx, ecx
jne 0x10037d68
push dword [ebp - 0xc]
push ebx
call fcn.10037b7e
push esi
call fcn.1002aa30
add esp, 0xc
xor ebx, ebx
jmp 0x10037e50
cmp byte [edi + 0x24], 0
je 0x10037dd7
cmp dword [edi + 0x20], 5
jne 0x10037dd7
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x10037de2
mov ebx, dword [edi + 0x18]
jmp 0x10037de4
xor ebx, ebx
push esi
call fcn.1002aa30
pop ecx
jmp 0x10037e50
test ecx, ecx
jg 0x10037db9
jl 0x10037df7
test eax, eax
jae 0x10037db9
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1002794f
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x10037e17
cmp byte [edi + 0x1c], 0
je 0x10037db9
jmp 0x10037e48
push ebx
call fcn.10031f23
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x10037db9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10037e50
cmp byte [edi + 0x1c], 0
je 0x10037e4d
mov ebx, dword [edi + 0x18]
jmp 0x10037e50
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1002794f
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10039cc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10039ced
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10039ced
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
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
nop
popal
nop
jmp loc.00401219
Function at 0x100012e0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xc
push 0x10039580
call fcn.1002f930
and dword [ebp - 0x1c], 0
and dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 2]
and eax, 0xff
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
jmp 0x10001321
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10001331
Capabilities:
Check for debugger via api
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x1003e040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov dword [ebp - 0xc], ebx
call fcn.100012e0
test eax, eax
jne 0x100013ec
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [ebp - 8], ebx
jne 0x100013ec
movaps xmm0, xmmword [0x10038660]
mov ecx, ebx
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0x4678797f
mov dword [ebp - 0x20], 0x73757964
mov word [ebp - 0x1c], 0x6565
mov byte [ebp - 0x1a], bl
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x19
jb 0x10001391
lea ecx, [ebp - 0x18]
mov byte [ebp - 0x1a], bl
mov dword [ebp - 0x18], 0x5848523c
mov dword [ebp - 0x14], 0x58125050
mov word [ebp - 0x10], 0x5050
mov byte [ebp - 0xe], bl
call fcn.10001401
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x33]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100013f4
push ebx
push 4
lea ecx, [ebp - 0xc]
push ecx
push 7
push 0xffffffffffffffff
call eax
test eax, eax
je 0x100013f4
cmp dword [ebp - 0xc], ebx
je 0x100013f4
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1002ebd4
leave
ret

Function at 0x10001401
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
lea eax, [ecx + 1]
push 9
mov esi, eax
pop edi
mov dl, byte [ecx]
xor byte [esi], dl
inc esi
sub edi, 1
jne 0x1000140b
pop edi
pop esi
mov byte [ecx + 0xa], 0
ret

Function at 0x1000141c
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movaps xmm0, xmmword [0x100383b0]
xor edx, edx
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x514b6741
mov ecx, edx
mov dword [ebp - 0x18], 0x5641504a
mov byte [ebp - 0x14], dl
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x17
jb 0x10001442
mov byte [ebp - 0x14], dl
mov cl, 0x11
mov dword [ebp - 0x10], 0x63747a11
mov eax, edx
mov dword [ebp - 0xc], 0x227d747f
mov dword [ebp - 8], 0x7d753f23
mov word [ebp - 4], 0x7d
xor byte [ebp + eax - 0xf], cl
inc eax
cmp eax, 0xc
jae 0x10001480
mov cl, byte [ebp - 0x10]
jmp 0x10001471
lea eax, [ebp - 0xf]
mov byte [ebp - 3], dl
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x2b]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.10008f02
cmp al, 0xe9
jne 0x100014ab
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
leave
ret
Function at 0x100016fb
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100395a0
push 0x1002eba5
mov eax, dword fs:[0]
push eax
push ecx
push ecx
sub esp, 0x38
mov eax, dword [0x1003e040]
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
and dword [ebp - 0x50], 0
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x48]
rep stosd dword es:[edi], eax
and dword [ebp - 0x20], 0
and dword [ebp - 0x24], 0
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x40
push 0x3000
push dword [ebp - 0x44]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10001775
xor al, al
jmp 0x100017f5
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov byte [eax], 0xc3
lea eax, [ebp - 0x20]
push eax
push 0x140
push dword [ebp - 0x44]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1000179e
xor al, al
jmp 0x100017f5
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
push 0x100017e3
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.1002ebd4
leave
ret
Function at 0x1000186a
Capabilities:
Encode data using xor

Disassembly:
push 0xcc
mov eax, 0x1002fece
call fcn.1002fc16
mov edi, ecx
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0xb0], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x98
mov ebx, eax
lea eax, [ebp - 0xa8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
pop ecx
pop ecx
lea ecx, [ebp - 0xa8]
call fcn.1000206c
xor edx, edx
mov dword [ebp - 4], edx
mov ecx, edx
movaps xmm0, xmmword [0x10038370]
movups xmmword [ebp - 0xc4], xmm0
mov dword [ebp - 0xb4], 0x700b5f
mov al, byte [ebp - 0xc4]
xor byte [ebp + ecx - 0xc3], al
inc ecx
cmp ecx, 0x12
jb 0x100018ce
mov byte [ebp - 0xb1], dl
lea ecx, [ebp - 0xa8]
lea edx, [ebp - 0xc3]
call fcn.100022b0
push 0x100026fa
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
push 0x100026e0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
push 0
mov esi, eax
lea eax, [ebp - 0xd8]
push 8
push eax
call dword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov ecx, eax
add esp, 0xc
mov eax, dword [esi]
push dword [ecx + 0xc]
mov eax, dword [eax + 4]
push dword [ecx + 8]
add eax, esi
push eax
call dword [ecx]
mov eax, dword [esi]
add esp, 0xc
mov ecx, esi
mov eax, dword [eax + 4]
push ebx
mov byte [eax + esi + 0x40], 0x30
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
mov ecx, eax
mov byte [ebp - 0xaa], 0
mov al, 0x4f
mov byte [ebp - 0xac], 0x12
xor al, 0x12
mov byte [ebp - 0xaa], 0
lea edx, [ebp - 0xab]
mov byte [ebp - 0xab], al
call fcn.100022b0
push edi
lea ecx, [ebp - 0xa4]
call fcn.100021ce
lea ecx, [ebp - 0x58]
call fcn.1000203c
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, edi
call fcn.1002fbd4
ret
Function at 0x10004752
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
lea eax, [ecx + 1]
push 5
mov esi, eax
pop edi
mov dl, byte [ecx]
xor byte [esi], dl
inc esi
sub edi, 1
jne 0x1000475c
pop edi
pop esi
mov byte [ecx + 6], 0
ret

Function at 0x1000476d
Capabilities:
Encode data using xor

Disassembly:
push 0x16c
mov eax, 0x10030462
call fcn.1002fc16
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x158], esi
mov dword [ebp - 0x178], esi
lea eax, [ebp - 0x157]
mov dword [ebp - 0x158], 1
xor ebx, ebx
mov word [ebp - 0x158], 0x62
push eax
mov byte [ebp - 0x157], bl
call fcn.10003ec3
mov dword [ebp - 4], ebx
mov dword [ebp - 0x158], 1
test edi, edi
je 0x100048a5
movaps xmm0, xmmword [0x10038110]
mov ecx, ebx
movups xmmword [ebp - 0x174], xmm0
mov dword [ebp - 0x164], 0x2e26662e
mov dword [ebp - 0x160], 0x432e2b6f
mov dword [ebp - 0x15c], 0x462e31
mov al, byte [ebp - 0x174]
xor byte [ebp + ecx - 0x173], al
inc ecx
cmp ecx, 0x1a
jb 0x100047f6
lea eax, [ebp - 0x173]
mov byte [ebp - 0x159], bl
push eax
lea ecx, [ebp - 0x130]
call fcn.10003ec3
lea eax, [ebp - 0x118]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x154]
mov dword [ebp - 0x118], edi
push eax
mov dword [ebp - 0x114], ebx
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
cmp dword [ebp - 0x11c], 0xf
lea ecx, [ebp - 0x154]
push ecx
lea eax, [ebp - 0x130]
cmova eax, dword [ebp - 0x130]
push eax
lea eax, [ebp - 0x110]
push 0x100
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_strftime]
lea ecx, [ebp - 0x110]
add esp, 0x18
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004882
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
mov ecx, esi
call fcn.10002526
lea ecx, [ebp - 0x130]
call fcn.100026bd
mov eax, esi
call fcn.1002fbd4
ret

Function at 0x100066ea
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x1003e040]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
xor esi, esi
mov dword [esp + 0x10], 0x128
push esi
push 2
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
jmp 0x1000673e
cmp dword [esp + 0x18], ebx
je 0x10006744
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1000672c
jmp 0x10006747
xor esi, esi
inc esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x13c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1002ebd4
mov esp, ebp
pop ebp
ret

Function at 0x1000680e
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
push esi
mov dword [0x1003e0b4], ecx
inc edx
mov esi, 0x270
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [edx*4 + 0x1003e0b4], ecx
inc edx
cmp edx, esi
jb 0x10006823
mov dword [0x1003e0b0], esi
pop esi
pop ebp
ret 8
Function at 0x10006849
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, 0x270
cmp dword [esi], edi
jne 0x10006891
lea edx, [esi + 8]
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x10006859
jmp 0x1000689e
cmp dword [esi], 0x4e0
jb 0x1000689e
call fcn.100068d8
mov eax, dword [esi]
pop edi
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
pop esi
ret

Function at 0x100068d8
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
lea edi, [esi + 0x9c4]
mov esi, 0xe3
mov ebx, dword [edi]
mov eax, ebx
lea edx, [edi]
mov ecx, eax
lea edi, [edx + 4]
mov ebx, dword [edi]
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x634]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x100068f1
mov edi, dword [ebp - 4]
mov esi, 0x18c
add edi, 0xd50
mov ebx, dword [edi]
mov eax, ebx
lea edx, [edi]
mov ecx, eax
lea edi, [edx + 4]
mov ebx, dword [edi]
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx - 0xd4c]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x1000693b
mov esi, dword [ebp - 4]
pop edi
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
and dword [esi], 0
mov dword [esi + 0x9c0], eax
pop esi
pop ebx
leave
ret