joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001300
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x80
mov dword [esp + 0x7c], 0
jmp 0x10001422
mov eax, esp
mov dword [eax], 0x41acd0
mov eax, dword [sym.imp.GDI32.dll_GetROP2]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx + 0x10], 0xe23
mov dword [ecx + 0xc], 0x8b8
mov dword [ecx + 8], 0x8b8
mov dword [ecx + 4], 0x2f2
mov dword [ecx], 0x192986
mov ecx, dword [sym.imp.GDI32.dll_SetRectRgn]
mov dword [esp + 0x5c], eax
call ecx
sub esp, 0x14
mov dword [esp + 0x58], eax
jmp 0x1000153f
mov eax, esp
mov dword [eax], 0xb6a3d6
mov eax, dword [sym.imp.KERNEL32.dll_FreeResource]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx + 4], 0x189
mov dword [ecx], 0xb995ea
mov ecx, dword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov dword [esp + 0x54], eax
call ecx
sub esp, 8
mov dword [esp + 0x78], 0
mov dword [esp + 0x50], eax
jmp 0x10001435
jmp 0x10001452
mov eax, dword [esp + 0x78]
mov ecx, 0x4ec4ec4f
mov dword [esp + 0x4c], eax
mul ecx
shr edx, 2
imul eax, edx, 0xd
mov ecx, dword [esp + 0x4c]
sub ecx, eax
mov eax, ecx
sub eax, 3
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], eax
je 0x100013a8
jmp 0x100013d9
mov eax, dword [esp + 0x48]
sub eax, 0xa
mov dword [esp + 0x40], eax
je 0x10001452
jmp 0x1000147f
mov eax, dword [esp + 0x74]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
add eax, 1
mov dword [esp + 0x74], eax
cmp dword [esp + 0x74], 0xa
jne 0x100014df
jmp 0x1000153d
mov eax, dword [esp + 0x7c]
add eax, 1
mov dword [esp + 0x7c], eax
jmp 0x10001422
cmp dword [esp + 0x7c], 0xfb
jne 0x10001367
jmp 0x10001544
cmp dword [esp + 0x78], 0x251
setne al
mov byte [esp + 0x3b], al
mov al, byte [esp + 0x3b]
test al, 1
jne 0x100013ad
jmp 0x10001490
mov eax, esp
mov dword [eax + 0xc], 0xc4a
mov dword [eax + 8], 0xffc
mov dword [eax + 4], 0x6ab63a
mov dword [eax], 0x6ab63a
mov eax, dword [sym.imp.KERNEL32.dll_SignalObjectAndWait]
call eax
sub esp, 0x10
mov dword [esp + 0x34], eax
jmp 0x1000147f
jmp 0x10001481
mov eax, dword [esp + 0x78]
add eax, 1
mov dword [esp + 0x78], eax
jmp 0x10001435
mov eax, 0x141
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x30], eax
mov eax, ecx
xor edx, edx
mov ecx, dword [esp + 0x30]
div ecx
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x2c]
sub eax, 7
mov dword [esp + 0x28], eax
je 0x10001319
jmp 0x100014be
mov eax, dword [esp + 0x2c]
sub eax, 0x4b
mov dword [esp + 0x24], eax
jne 0x100014d2
jmp 0x100014cd
jmp 0x10001319
mov dword [esp + 0x74], 0
jmp 0x10001400
mov eax, esp
mov dword [eax], 0x16d418
mov eax, dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
call eax
sub esp, 4
mov ecx, esp
lea edx, [esp + 0x60]
mov dword [ecx], edx
mov dword [ecx + 4], 0x809
mov ecx, dword [sym.imp.USER32.dll_MonitorFromRect]
mov dword [esp + 0x20], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 8], 0xba5ec1
mov dword [ecx + 4], 0xca0a4b
mov dword [ecx], 0x3d8207
mov ecx, dword [sym.imp.GDI32.dll_FillRgn]
mov dword [esp + 0x1c], eax
call ecx
sub esp, 0xc
mov dword [esp + 0x18], eax
jmp 0x100013eb
jmp 0x1000153f
jmp 0x10001413
mov esp, ebp
pop ebp
ret
Function at 0x10102920
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [fcn.10102920]
mov dword [0x101dd9e4], 0x83f
mov dword [ebp - 8], eax
mov dword [0x101dd9e4], 0x19e4
jmp 0x10102971
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0x4550
je 0x10102980
jmp 0x10102988
mov dword [0x101dd9e4], 0x24f
mov dword [ebp - 4], 0
jmp 0x101029ac
mov eax, dword [ebp - 8]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x10102945
jmp 0x1010298a
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x101029ac
jmp 0x1010298a
mov eax, dword [ebp - 8]
sub eax, 0x1000
and eax, 0xfffff000
mov dword [ebp - 8], eax
mov dword [0x101dd9e8], 0x773
mov al, 1
test al, 1
jne 0x10102971
jmp 0x1010295e
mov eax, dword [ebp - 4]
add esp, 0xc
pop ebp
ret

Function at 0x101029c0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [0x101dd9e8], 0x3cb
mov dword [ebp - 8], 0
mov dword [0x101dd9e8], 0x4f5
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [0x101dd9e4], 0x650
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], 0
jmp 0x10102a38
jmp 0x10102a2e
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
movzx eax, word [ecx + eax*2 - 0x18]
cmp eax, 0x6f
je 0x10102a8f
jmp 0x10102a33
jmp 0x10102a12
jmp 0x10102a33
jmp 0x10102a69
jmp 0x10102b45
jmp 0x10102b4a
cmp dword [ebp - 0x10], 0x104
jge 0x10102a69
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
movzx eax, word [ecx + eax*2]
cmp eax, 0
je 0x10102a2c
mov dword [0x101dd9e8], 0xab6
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x10102a38
mov eax, dword [0x101dd9e8]
sub eax, 0x21b9
mov dword [0x101dd9e8], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x1a]
cmp eax, 0x6c
je 0x10102a14
jmp 0x10102b4a
mov eax, dword [0x101dd9e8]
add eax, 0x20dc
mov dword [0x101dd9e4], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x16]
cmp eax, 0x61
jne 0x10102a2a
mov dword [0x101dd9e4], 0xe50
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
shl ecx, 1
add eax, ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax - 0x14]
cmp ecx, 0x64
jne 0x10102b45
mov eax, dword [0x101dd9e4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add eax, 0x5c9
mov dword [0x101dd9e4], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x12]
cmp eax, 0x64
jne 0x10102a2e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x10]
cmp eax, 0x6c
jne 0x10102a12
mov dword [0x101dd9e8], 0x7a0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0xe]
cmp eax, 0x6c
jne 0x10102a28
mov dword [ebp - 4], 1
jmp 0x10102b5b
jmp 0x10102a2a
mov dword [0x101dd9e8], 0x1280
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add esp, 0x1c
pop ebp
ret
Function at 0x1004c83
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
push 4
pop eax
call fcn.01002df0
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1004ce9
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x10062b8]
mov esi, dword [ebp - 0x40]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
lea edx, [esi - 1]
and ecx, 0x103
not edx
and edx, ebx
inc ecx
sub edx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0xfffffff1
add eax, 0x11
imul eax, esi
add eax, edi
cmp edx, eax
jae 0x1004ced
xor eax, eax
jmp 0x1004cfa
lea eax, [ebp - 4]
push eax
push ecx
push esi
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x50]
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x431072
nop
nop
mov ebx, 0x40915c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x641476ff
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x431060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4310d2
nop
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x5aef300b
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x9e7440
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
je 0x9e748c
mov cl, byte [ebx + esi]
mov dl, cl
mov al, cl
shr dl, 1
and al, 0xfe
not dl
movzx eax, al
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
or cl, 1
test dl, 2
movzx ecx, cl
cmove ecx, eax
mov byte [ebx + esi], cl
inc esi
cmp esi, edi
jb 0x9e7452
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x9e74f0
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x9e7542
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x9e7548
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esi], 0
pop edi
xor eax, eax
pop esi
pop ebp
ret
pop edi
mov eax, 1
pop esi
pop ebp
ret

Function at 0x9ffa35
Capabilities:
Set environment variable

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

Function at 0xa0482f
Capabilities:
Read file on windows

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

Function at 0xa09de0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0xa09e0d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0xa09e0d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
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
call 0x43300c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
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
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x401d12
Capabilities:
Clear file content
Get common file path

Disassembly:
sub esp, 0x800
push esi
push edi
xor esi, esi
xor edi, edi
cmp edi, 0xacc
jge 0x401d2c
call dword [sym.imp.USER32.dll_GetCaretBlinkTime]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp edi, 0x45be411
jg 0x401d46
inc edi
cmp edi, 0x3330601
jl 0x401d1e
cmp dword [0x20f5894], 0x400
jne 0x401d77
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
push esi
push esi
call dword [sym.imp.USER32.dll_SetCursorPos]
push esi
call fcn.004044c1
call fcn.00403f61
push esi
call fcn.0040473f
pop ecx
pop ecx
xor edi, edi
cmp edi, 0x16c76
jge 0x401d89
push esi
push esi
call dword [sym.imp.USER32.dll_SetCaretPos]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_LocalCompact]
cmp edi, 0x12e5c52
jg 0x401daf
inc edi
cmp edi, 0x3003f
jl 0x401d79
mov eax, dword [0x4a88b4]
mov dword [0x20f5894], eax
call fcn.00401a58
mov edi, 0x3078f
cmp dword [0x20f5894], 0x51f
jne 0x401ddb
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
dec edi
jne 0x401dc3
pop edi
xor eax, eax
pop esi
add esp, 0x800
ret 0x10

Function at 0x402949
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x4a10bd
call fcn.004a0f40
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00403706
xor edi, edi
push 4
mov dword [ebp - 4], edi
call fcn.0040474e
mov ebx, eax
pop ecx
cmp ebx, edi
je 0x402991
call fcn.004034ba
mov dword [ebx], eax
call fcn.00403279
mov ecx, eax
call fcn.004011a5
mov eax, ebx
jmp 0x402993
xor eax, eax
mov dword [esi + 0x38], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea ecx, [esi + 0x1c]
mov dword [esi + 0x24], ecx
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x2c]
mov dword [esi + 0x34], ecx
mov dword [eax], edi
mov eax, dword [esi + 0x24]
mov dword [eax], edi
mov eax, dword [esi + 0x34]
mov dword [eax], edi
mov eax, dword [esi + 0x10]
mov dword [eax], edi
mov eax, dword [esi + 0x20]
mov dword [eax], edi
mov eax, dword [esi + 0x30]
mov dword [eax], edi
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
pop edi
mov dword [esi], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x405299
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a7364]
jne 0x4052a3
repz ret
jmp fcn.00409aec
Function at 0x40e072
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a7364]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00408036
and dword [ebp - 0x14], 0
cmp dword [0x4b3a8c], 0
mov dword [ebp - 0x18], eax
jne 0x40e125
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40e1cd
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40e1cd
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4b3a8c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4b3a90], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4b3a94], eax
call edi
push eax
call esi
mov dword [0x4b3a9c], eax
test eax, eax
je 0x40e125
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4b3a98], eax
mov eax, dword [0x4b3a98]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40e17e
cmp dword [0x4b3a9c], ecx
je 0x40e17e
push eax
call esi
push dword [0x4b3a9c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40e17e
test ebx, ebx
je 0x40e17e
call edi
test eax, eax
je 0x40e175
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40e175
test byte [ebp - 8], 1
jne 0x40e17e
or dword [ebp + 0x10], 0x200000
jmp 0x40e1b1
mov eax, dword [0x4b3a90]
cmp eax, dword [ebp - 0x18]
je 0x40e1b1
push eax
call esi
test eax, eax
je 0x40e1b1
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40e1b1
mov eax, dword [0x4b3a94]
cmp eax, dword [ebp - 0x18]
je 0x40e1b1
push eax
call esi
test eax, eax
je 0x40e1b1
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4b3a8c]
call esi
test eax, eax
je 0x40e1cd
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40e1cf
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405299
leave
ret
Function at 0xf25323
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov byte [ebp - 0x13], 0
mov byte [ebp - 0x12], 0
mov byte [ebp - 0x11], 0
mov byte [ebp - 0x10], 7
mov byte [ebp - 0xf], 0x73
mov byte [ebp - 0xe], 0x73
mov byte [ebp - 0xd], 0x68
mov byte [ebp - 0xc], 0x2d
mov byte [ebp - 0xb], 0x72
mov byte [ebp - 0xa], 0x73
mov byte [ebp - 9], 0x61
mov byte [ebp - 0x1e], 0
mov byte [ebp - 0x1d], 0
mov byte [ebp - 0x1c], 0
mov byte [ebp - 0x1b], 7
mov byte [ebp - 0x1a], 0x73
mov byte [ebp - 0x19], 0x73
mov byte [ebp - 0x18], 0x68
mov byte [ebp - 0x17], 0x2d
mov byte [ebp - 0x16], 0x64
mov byte [ebp - 0x15], 0x73
mov byte [ebp - 0x14], 0x73
cmp dword [ebp + 0xc], 0xa
ja 0xf2538e
mov eax, 0
jmp 0xf253dd
mov dword [esp + 8], 0xb
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
lea eax, [ebp - 0x13]
mov dword [esp], eax
call fcn.00f7b6cd
test eax, eax
jne 0xf253b3
mov eax, 1
jmp 0xf253dd
mov dword [esp + 8], 0xb
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
lea eax, [ebp - 0x1e]
mov dword [esp], eax
call fcn.00f7b6cd
test eax, eax
jne 0xf253d8
mov eax, 2
jmp 0xf253dd
mov eax, 0
leave
ret
Function at 0x10127cd
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push esi
push ebx
mov ebx, ecx
sub esp, 0x24
mov esi, dword [esp + 0x30]
mov dword [esp], 0x87c754
mov ecx, esi
call fcn.00fb1c0d
sub esp, 4
test eax, eax
je 0x1012853
mov esi, dword [esi]
lea eax, [esp + 0x1c]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00f7b5e5
cmp byte [esi], 0
mov ecx, eax
je 0x101285a
mov eax, dword [esp + 0x1c]
cmp byte [eax], 0
jne 0x101285a
mov dword [ebx], ecx
mov edx, 1
jmp 0x1012824
mov ecx, dword [ebx + edx*4 - 4]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul eax, eax, 0x6c078965
add eax, edx
mov dword [ebx + edx*4], eax
add edx, 1
cmp edx, 0x270
jne 0x1012820
mov dword [ebx + 0x9c0], 0x270
add esp, 0x24
pop ebx
pop esi
ret 4
mov ecx, 0x1571
jmp 0x1012817
mov dword [esp], 0x87c75c
call fcn.0109228d
nop
nop
nop
nop
nop
nop
nop
push esi
push ebx
mov ebx, ecx
sub esp, 0x24
mov esi, dword [esp + 0x30]
mov dword [esp], 0x87c39c
mov ecx, esi
call fcn.00fa75bd
sub esp, 4
test eax, eax
mov ecx, 0x1571
jne 0x10128d0
mov dword [ebx], ecx
mov edx, 1
jmp 0x10128a1
mov ecx, dword [ebx + edx*4 - 4]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul eax, eax, 0x6c078965
add eax, edx
mov dword [ebx + edx*4], eax
add edx, 1
cmp edx, 0x270
jne 0x101289d
mov dword [ebx + 0x9c0], 0x270
add esp, 0x24
pop ebx
pop esi
ret 4
mov esi, dword [esi]
lea eax, [esp + 0x1c]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00f7b5e5
cmp byte [esi], 0
mov ecx, eax
je 0x10128fa
mov eax, dword [esp + 0x1c]
cmp byte [eax], 0
je 0x1012892
mov dword [esp], 0x87c368
call fcn.0109228d
nop
nop
nop
nop
nop
nop
nop
jmp 0x1023e5d
mov eax, dword [ecx + 0x9c0]
push ebx
mov ebx, ecx
cmp eax, 0x26f
jbe 0x1023e78
call fcn.01023c3d
mov eax, dword [ecx + 0x9c0]
lea edx, [eax + 1]
mov eax, dword [ebx + eax*4]
mov dword [ebx + 0x9c0], edx
mov edx, eax
shr edx, 0xb
xor edx, eax
mov eax, edx
shl eax, 7
and eax, 0x9d2c5680
xor edx, eax
mov eax, edx
shl eax, 0xf
and eax, 0xefc60000
xor eax, edx
mov edx, eax
shr edx, 0x12
xor eax, edx
pop ebx
ret

Function at 0x10856ed
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push edi
push esi
push ebx
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
xor eax, ebx
cmp ebx, 3
jbe 0x1085732
lea edx, [ebx - 4]
shr edx, 2
lea esi, [ecx + edx*4 + 4]
imul edi, dword [ecx], 0x5bd1e995
add ecx, 4
mov edx, edi
shr edx, 0x18
xor edx, edi
imul edi, eax, 0x5bd1e995
imul eax, edx, 0x5bd1e995
xor eax, edi
cmp ecx, esi
jne 0x108570d
and ebx, 3
cmp ebx, 2
je 0x1085766
cmp ebx, 3
je 0x108575d
cmp ebx, 1
je 0x108576f
mov edx, eax
shr edx, 0xd
xor eax, edx
imul eax, eax, 0x5bd1e995
pop ebx
pop esi
mov edx, eax
shr edx, 0xf
xor eax, edx
pop edi
ret
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
movzx edx, byte [ecx]
xor eax, edx
imul eax, eax, 0x5bd1e995
jmp 0x1085741
Function at 0x125db78
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
xor edi, edi
mov esi, 0x811c9dc5
test edx, edx
je 0x125db96
movzx eax, byte [edi + ecx]
xor eax, esi
imul esi, eax, 0x1000193
inc edi
cmp edi, edx
jb 0x125db85
pop edi
mov eax, esi
pop esi
ret
Function at 0x12b8eec
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x425f72
call fcn.012cf5c1
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
mov dword [esi + 0x1c], eax
mov byte [esi + 0x20], al
mov byte [esi + 0x21], al
call fcn.012ae001
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.012b8f46
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x12b8ef7
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x425f72
call fcn.012cf5c1
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
mov dword [esi + 0x1c], eax
mov byte [esi + 0x20], al
mov byte [esi + 0x21], al
call fcn.012ae001
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.012b8f46
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x12b8f98
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x425fbd
call fcn.012cf5c1
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 3
call fcn.012badf5
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.012aca8c
push dword [esi + 0x24]
call fcn.012ae70f
and byte [ebp - 4], 0
pop ecx
lea ecx, [esi + 0xc]
call fcn.012acd7f
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.012b94a6
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x12b8fa3
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x425fbd
call fcn.012cf5c1
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 3
call fcn.012badf5
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.012aca8c
push dword [esi + 0x24]
call fcn.012ae70f
and byte [ebp - 4], 0
pop ecx
lea ecx, [esi + 0xc]
call fcn.012acd7f
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.012b94a6
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret