joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4013c5
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
jmp 0x4077a0
mov eax, dword [ecx + 0x20]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4078a6
push ebx
push ebp
push esi
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ebp, dword [esp + 0x18]
xor eax, eax
test ebp, ebp
jle 0x4077db
mov ecx, dword [esp + 0x14]
mov edx, ebp
mov esi, dword [ecx]
add ecx, 4
dec edx
mov esi, dword [esi - 8]
lea eax, [eax + esi + 2]
jne 0x4077cc
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [esp + 0x14]
mov edx, eax
xor eax, eax
mov edi, dword [ecx]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
cmp ebp, 1
rep movsb byte es:[edi], byte [esi]
jle 0x40788c
mov ecx, dword [esp + 0x14]
dec ebp
mov dword [esp + 0x14], ebp
lea ebx, [ecx + 4]
mov edi, 0x41092c
or ecx, 0xffffffff
xor eax, eax
add ebx, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebx - 4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x14]
mov ecx, ebp
and ecx, 3
dec eax
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x14], eax
jne 0x40782a
mov ebx, dword [esp + 0x18]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x100026c0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100f0f00
push fcn.1008b200
mov eax, dword fs:[0]
push eax
add esp, 0xffffffc0
mov eax, dword [0x100f7040]
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
xor eax, eax
mov dword [ebp - 0x48], 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 0x10002755
xor al, al
jmp 0x100027de
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 0x10002780
xor al, al
jmp 0x100027de
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
push 0x100027cb
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.100892c0
mov esp, ebp
pop ebp
ret
Function at 0x10003c00
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100f7040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push 0
mov dword [ebp - 8], 0
call fcn.10091ea0
mov esi, eax
mov byte [ebp - 0xa], 0
mov al, 0x2a
mov byte [ebp - 0xa], 0
mov cl, 0x58
mov byte [ebp - 0xc], al
xor cl, al
mov dword [ebp - 0x18], 0x6a6b6724
add esp, 4
mov byte [ebp - 0xb], cl
mov dl, 0x24
mov dword [ebp - 0x14], 0x6a6d
xor ecx, ecx
xor byte [ebp + ecx - 0x17], dl
inc ecx
cmp ecx, 6
jae 0x10003c5f
mov dl, byte [ebp - 0x18]
jmp 0x10003c50
push esi
lea eax, [ebp - 0xb]
mov byte [ebp - 0x11], 0
push eax
lea eax, [ebp - 0x17]
push eax
lea eax, [ebp - 8]
push eax
call fcn.10091c50
add esp, 0x10
test eax, eax
jne 0x10003d53
push 1
call fcn.10091ea0
mov esi, eax
mov byte [ebp - 0xa], 0
mov al, 0x67
mov byte [ebp - 0xa], 0
mov cl, 0x10
mov byte [ebp - 0xc], al
xor cl, al
mov dword [ebp - 0x18], 0x7a7b7734
add esp, 4
mov byte [ebp - 0xb], cl
mov dl, 0x34
mov dword [ebp - 0x14], 0x1060617b
mov byte [ebp - 0x10], 0
xor ecx, ecx
xor byte [ebp + ecx - 0x17], dl
inc ecx
cmp ecx, 7
jae 0x10003cc5
mov dl, byte [ebp - 0x18]
jmp 0x10003cb6
push esi
lea eax, [ebp - 0xb]
mov byte [ebp - 0x10], 0
push eax
lea eax, [ebp - 0x17]
push eax
lea eax, [ebp - 8]
push eax
call fcn.10091c50
add esp, 0x10
test eax, eax
jne 0x10003d53
push 2
call fcn.10091ea0
mov esi, eax
mov byte [ebp - 0xa], 0
mov al, 0x17
mov byte [ebp - 0xa], 0
mov cl, 0x60
mov byte [ebp - 0xc], al
xor cl, al
mov dword [ebp - 0x18], 0x51505c1f
add esp, 4
mov byte [ebp - 0xb], cl
mov dl, 0x1f
mov dword [ebp - 0x14], 0x3b4b4a50
mov byte [ebp - 0x10], 0
xor ecx, ecx
xor byte [ebp + ecx - 0x17], dl
inc ecx
cmp ecx, 7
jae 0x10003d27
mov dl, byte [ebp - 0x18]
jmp 0x10003d18
push esi
lea eax, [ebp - 0xb]
mov byte [ebp - 0x10], 0
push eax
lea eax, [ebp - 0x17]
push eax
lea eax, [ebp - 8]
push eax
call fcn.10091c50
add esp, 0x10
test eax, eax
jne 0x10003d53
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100892c0
mov esp, ebp
pop ebp
ret
push 1
call fcn.10091370
int3
Function at 0x10003d60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cc340
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x100f7040]
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 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 fcn.1008c3c0
add esp, 8
lea ecx, [ebp - 0xa8]
call fcn.100098e0
mov dword [ebp - 4], 0
xor eax, eax
movaps xmm0, xmmword [0x100eea00]
movups xmmword [ebp - 0xc4], xmm0
mov dword [ebp - 0xb4], 0x97226
nop word [eax + eax]
mov cl, byte [ebp + eax - 0xc3]
xor cl, byte [ebp - 0xc4]
mov byte [ebp + eax - 0xc3], cl
inc eax
cmp eax, 0x12
jb 0x10003df0
lea edx, [ebp - 0xc3]
mov byte [ebp - 0xb1], 0
lea ecx, [ebp - 0xa8]
call fcn.100075e0
mov esi, eax
push 0
push 8
mov eax, dword [esi]
mov eax, dword [eax + 4]
or dword [eax + esi + 0x14], 4
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi + 0x14]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx + esi + 0x14], eax
lea eax, [ebp - 0xd8]
push eax
call fcn.100856f0
add esp, 0xc
mov edx, eax
mov ecx, esi
call fcn.10007260
mov ecx, eax
push ebx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov byte [eax + ecx + 0x40], 0x30
call fcn.10004880
mov ecx, eax
mov byte [ebp - 0xaa], 0
mov dl, 0x26
mov byte [ebp - 0xaa], 0
mov al, 0x7b
mov byte [ebp - 0xac], dl
xor al, dl
lea edx, [ebp - 0xab]
mov byte [ebp - 0xab], al
call fcn.100075e0
push edi
lea ecx, [ebp - 0xa8]
call fcn.10007150
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xa8], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xac], eax
lea ecx, [ebp - 0xa4]
call fcn.100097c0
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xa8], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xa8]
mov edx, dword [eax + 4]
lea ecx, [edx - 8]
mov dword [ebp + edx - 0xac], ecx
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - 0x58], vtable.std::ios_base.0
call fcn.10085070
add esp, 4
mov eax, edi
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.100892c0
mov esp, ebp
pop ebp
ret
Function at 0x10012c40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100f7040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
cmp eax, 9
ja case.0x10012c64.0
jmp dword [eax*4 + 0x10012df8]
push 0
lea eax, [ebp - 8]
push eax
push 1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100892c0
mov esp, ebp
pop ebp
ret 0xc
push 0
lea eax, [ebp - 8]
push eax
push 2
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100892c0
mov esp, ebp
pop ebp
ret 0xc
push 0
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 0
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
push 0x100e6994
mov ecx, esi
call fcn.10006fe0
mov eax, dword [ebp - 0xc]
test eax, eax
jle 0x10012d4f
push ecx
push eax
mov ecx, esi
call fcn.10014710
cmp dword [esi + 0x18], 0xf
lea eax, [esi + 4]
jbe 0x10012cf6
mov eax, dword [eax]
push 0
lea ecx, [ebp - 8]
push ecx
push dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100892c0
mov esp, ebp
pop ebp
ret 0xc
push 0
lea eax, [ebp - 8]
push eax
push 4
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100892c0
mov esp, ebp
pop ebp
ret 0xc
push 0
lea eax, [ebp - 8]
push eax
push 8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100892c0
mov esp, ebp
pop ebp
ret 0xc
push 0x91
push str.C:UsersMONSTERDesktopDreamSoft_v1924DreamSoftN3BaseN3TableBase.hpp
push 0x100e6994
sub esp, 0x1c
xorps xmm0, xmm0
mov ecx, esp
push 0x13
mov dword [ecx], 0
movups xmmword [ecx + 4], xmm0
push str.ERROR____s_n_s:__d_n_n
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
call fcn.10003370
lea eax, [ebp - 0x28]
push eax
call fcn.1000d7c0
add esp, 0x2c
lea eax, [ebp - 0x24]
cmp dword [ebp - 0x10], 0xf
cmova eax, dword [ebp - 0x24]
push 0
push str._ASSERTT_n
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x28]
call fcn.10002f50
mov eax, dword [ebp - 0x28]
push 8
push eax
mov dword [ebp - 0x28], 0
call fcn.10089370
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
xor al, al
pop edi
pop esi
call fcn.100892c0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10018960
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cd82d
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x100f7040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
mov dword [ebp - 4], 0
push 2
mov dword [ebp - 0x154], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x154]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x10018a8c
sub esp, 0x1c
lea ecx, [ebp - 0x130]
mov edx, esp
lea edi, [ecx + 1]
xorps xmm0, xmm0
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100189f0
sub ecx, edi
lea eax, [ebp - 0x130]
push ecx
push eax
mov ecx, edx
call fcn.10003370
lea ecx, [ebp - 0x2c]
call fcn.10018620
add esp, 0x1c
lea ecx, [ebp + 0xc]
cmp dword [ebp + 0x20], 0xf
lea eax, [ebp - 0x28]
cmova ecx, dword [ebp + 0xc]
cmp dword [ebp - 0x14], 0xf
cmova eax, dword [ebp - 0x28]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10018a50
test dl, dl
je 0x10018a4c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10018a50
add eax, 2
add ecx, 2
test dl, dl
jne 0x10018a30
xor eax, eax
jmp 0x10018a55
sbb eax, eax
or eax, 1
test eax, eax
je 0x10018acf
lea ecx, [ebp - 0x2c]
call fcn.10002f50
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x2c], 0
call fcn.10089370
add esp, 8
lea eax, [ebp - 0x154]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x100189c0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
lea ecx, [ebp + 8]
call fcn.10002f50
mov ecx, dword [ebp + 8]
push 8
push ecx
mov dword [ebp + 8], 0
call fcn.10089370
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100892c0
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x14c]
lea ecx, [ebp - 0x2c]
call fcn.10002f50
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x2c], 0
call fcn.10089370
add esp, 8
jmp 0x10018a95
Function at 0x10018b00
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x100f7040]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x100eea80]
push esi
mov esi, ecx
mov dword [ebp - 0x38], 0x605a5b5d
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], 0x5551465c
xor ecx, ecx
mov word [ebp - 0x30], 0x50
mov al, byte [ebp + ecx - 0x47]
xor al, byte [ebp - 0x48]
mov byte [ebp + ecx - 0x47], al
inc ecx
cmp ecx, 0x18
jb 0x10018b34
mov byte [ebp - 0x2f], 0
mov dl, 0x2a
mov dword [ebp - 0x2c], 0x4e5e442a
xor ecx, ecx
mov dword [ebp - 0x28], 0x4e044646
mov word [ebp - 0x24], 0x4646
mov byte [ebp - 0x22], 0
xor byte [ebp + ecx - 0x2b], dl
inc ecx
cmp ecx, 9
jae 0x10018b74
mov dl, byte [ebp - 0x2c]
jmp 0x10018b65
lea eax, [ebp - 0x2b]
mov byte [ebp - 0x22], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x47]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10018bb4
push 0
push 0x1c
lea ecx, [ebp - 0x20]
push ecx
push 0
push esi
call eax
test eax, eax
jne 0x10018bb4
mov eax, dword [ebp - 0x14]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100892c0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.100892c0
mov esp, ebp
pop ebp
ret

Function at 0x10018bd0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100f7040]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x100ef140]
push esi
mov esi, ecx
mov dword [ebp - 0x20], 0x4b717076
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0x7e7a6d77
xor ecx, ecx
mov word [ebp - 0x18], 0x7b
mov al, byte [ebp + ecx - 0x2f]
xor al, byte [ebp - 0x30]
mov byte [ebp + ecx - 0x2f], al
inc ecx
cmp ecx, 0x18
jb 0x10018c04
mov byte [ebp - 0x17], 0
mov dl, 0x67
mov dword [ebp - 0x14], 0x3130967
xor ecx, ecx
mov dword [ebp - 0x10], 0x3490b0b
mov word [ebp - 0xc], 0xb0b
mov byte [ebp - 0xa], 0
xor byte [ebp + ecx - 0x13], dl
inc ecx
cmp ecx, 9
jae 0x10018c44
mov dl, byte [ebp - 0x14]
jmp 0x10018c35
lea eax, [ebp - 0x13]
mov byte [ebp - 0xa], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x2f]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x10018c70
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100892c0
mov esp, ebp
pop ebp
ret
push 0
push 4
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push 9
push esi
call eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.100892c0
mov esp, ebp
pop ebp
ret

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

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
mov eax, dword [esi]
cmp eax, 0x270
jne 0x1001930d
lea edx, [esi + 8]
mov edi, eax
nop dword [eax]
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 0x100192d0
mov eax, dword [esi]
jmp 0x100193eb
cmp eax, 0x4e0
jb 0x100193eb
lea edi, [esi + 0x9c4]
mov esi, 0xe3
push ebx
mov ebx, dword [edi]
lea edx, [edi]
mov eax, ebx
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, ebx
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 [edx + 0x634]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x10019326
mov edi, dword [ebp - 4]
mov esi, 0x18c
add edi, 0xd50
mov ebx, dword [edi]
mov eax, ebx
lea edx, [edi]
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, eax
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 0x10019371
mov esi, dword [ebp - 4]
pop ebx
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
mov dword [esi + 0x9c0], eax
xor eax, eax
mov dword [esi], 0
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
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001b2b0
Capabilities:
Encode data using xor
Encrypt data using rc4 via winapi
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
movaps xmm0, xmmword [0x100ee6a0]
xor ecx, ecx
movups xmmword [ebp - 0x34], xmm0
push esi
movaps xmm0, xmmword [0x100ee760]
movups xmmword [ebp - 0x24], xmm0
push edi
movaps xmm0, xmmword [0x100ee210]
movups xmmword [ebp - 0x14], xmm0
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x33]
xor al, byte [ebp - 0x34]
mov byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x2e
jb 0x1001b2e0
push 0
push 1
lea eax, [ebp - 0x33]
mov byte [ebp - 5], 0
push eax
push 0
push 0x100fafc4
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1001b3d2
push 0x100fafc0
push 0
push 0
push 0x8004
push dword [0x100fafc4]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1001b3d2
movaps xmm0, xmmword [str.mE.V_t]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x10], 0x55d0b0c
movaps xmm0, xmmword [0x100eefb0]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0xc], 0xf591f2d
movaps xmm0, xmmword [0x100eeb60]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0x4c1d1738
mov word [ebp - 4], 0x10
mov al, byte [ebp + ecx - 0x3f]
xor al, byte [ebp - 0x40]
mov byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x3c
jb 0x1001b372
push 1
push 0x3c
lea eax, [ebp - 0x3f]
mov byte [ebp - 3], 0
push eax
push dword [0x100fafc0]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1001b3d2
push 0x100fafbc
push 0x800000
push dword [0x100fafc0]
push 0x6801
push dword [0x100fafc4]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x1001b3d2
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x100fafb8], eax
call fcn.10087ef0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.100883c0
push 0x1001ae20
push 0x100fafc8
call fcn.10087c00
call fcn.10087f50
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push 0x8f5430
call edi
test eax, eax
jne 0x1001b442
mov dword [0x100fafc8], 0x8f5430
call fcn.10087ef0
call esi
push eax
call fcn.100883c0
push 0x1001ae20
push 0x100fafc8
call fcn.10087770
call fcn.10087f50
call fcn.10087ef0
call esi
push eax
call fcn.100883c0
push 0x1001b200
push 0x100fafb4
call fcn.10087c00
call fcn.10087f50
push 4
push 0x450890
call edi
test eax, eax
jne 0x1001b49b
mov dword [0x100fafb4], 0x450890
call fcn.10087ef0
call esi
push eax
call fcn.100883c0
push 0x1001b200
push 0x100fafb4
call fcn.10087770
call fcn.10087f50
call fcn.10087ef0
call esi
push eax
call fcn.100883c0
push 0x1001b2a0
push 0x100fafb0
call fcn.10087c00
call fcn.10087f50
push 4
push 0x4504c0
call edi
test eax, eax
jne 0x1001b4f4
mov dword [0x100fafb0], 0x4504c0
call fcn.10087ef0
call esi
push eax
call fcn.100883c0
push 0x1001b2a0
push 0x100fafb0
call fcn.10087770
call fcn.10087f50
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100235a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x100f7040]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [str.1uCTP_bWEG]
xor ecx, ecx
mov eax, dword [0x100fb058]
push ebx
push esi
push edi
mov dword [ebp - 0x2c], eax
movups xmmword [ebp - 0x40], xmm0
mov byte [ebp - 0x30], 0
nop dword [eax]
mov al, byte [ebp + ecx - 0x3f]
xor al, byte [ebp - 0x40]
mov byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0xf
jb 0x100235d0
sub esp, 0x1c
mov byte [ebp - 0x30], 0
mov edx, esp
lea ecx, [ebp - 0x3f]
xorps xmm0, xmm0
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10023610
sub ecx, esi
lea eax, [ebp - 0x3f]
push ecx
push eax
mov ecx, edx
call fcn.10003370
lea ecx, [ebp - 0x20]
call fcn.100840d0
add esp, 0x1c
mov dword [ebp - 0x28], 0
cmp dword [0x100fb054], 0
jbe 0x100236ee
mov esi, dword [ebp - 8]
xor edx, edx
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x24], edx
nop
cmp esi, 0xf
lea ecx, [ebp - 0x1c]
cmova ecx, edi
lea ebx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10023660
sub ecx, ebx
mov eax, edx
xor edx, edx
div ecx
mov ebx, edx
cmp ebx, dword [ebp - 0xc]
jbe 0x100236c0
push str.string_subscript_out_of_range
push 0x100e64a8
push 0
push 0x8d0
push 0x100e6658
push 2
call fcn.10090a10
add esp, 0x18
cmp eax, 1
jne 0x1002369c
int3
push 0
push 0x8d0
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120includexstring
push 0x100e65e4
push str._string_subscript_out_of_range_
call fcn.1008fd30
mov esi, dword [ebp - 8]
add esp, 0x14
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
cmp esi, 0xf
cmova eax, edi
mov al, byte [eax + ebx]
xor byte [ecx + edx], al
mov eax, dword [ebp - 0x28]
inc eax
movzx edx, ax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
cmp edx, dword [0x100fb054]
jb 0x10023650
lea ecx, [ebp - 0x20]
call fcn.10002f50
mov eax, dword [ebp - 0x20]
push 8
push eax
mov dword [ebp - 0x20], 0
call fcn.10089370
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.100892c0
mov esp, ebp
pop ebp
ret