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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009f86d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
mov eax, dword [0x100bd080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dl, 0x6d
mov dword [ebp - 0x20], 0x4196d
mov dword [ebp - 0x1c], 0x19082a08
xor ecx, ecx
mov dword [ebp - 0x18], 0x8000439
mov byte [ebp - 0x14], 0
lea eax, [ebp - 0x1f]
xor byte [eax + ecx], dl
inc ecx
cmp ecx, 0xb
jae 0x10001797
mov dl, byte [ebp - 0x20]
jmp 0x10001786
mov byte [ebp - 0x14], 0
mov dl, 0x3d
mov dword [ebp - 0x38], 0x4f58563d
xor ecx, ecx
mov dword [ebp - 0x34], 0xe515853
mov dword [ebp - 0x30], 0x5159130f
mov word [ebp - 0x2c], 0x51
nop word [eax + eax]
lea eax, [ebp - 0x37]
xor byte [eax + ecx], dl
inc ecx
cmp ecx, 0xc
jae 0x100017d1
mov dl, byte [ebp - 0x38]
jmp 0x100017c0
lea eax, [ebp - 0x37]
mov byte [ebp - 0x2b], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x1f]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.100196a0
cmp al, 0xe9
jne 0x10001895
movaps xmm0, xmmword [0x100b4420]
xor ecx, ecx
movups xmmword [ebp - 0x3c], xmm0
mov word [ebp - 0x2c], 0x6f
nop dword [eax]
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x10
jb 0x10001810
xorps xmm0, xmm0
mov byte [ebp - 0x2b], 0
lea ecx, [ebp - 0x3b]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001840
sub ecx, edx
lea eax, [ebp - 0x3b]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10002570
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.1001e700
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10001895
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000188b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100018a7
push ecx
push edx
call fcn.1007fa16
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10084b1f
int3

Function at 0x10001d50
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
ret
Function at 0x10001d60
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100b6a88
push 0x10080f00
mov eax, dword fs:[0]
push eax
add esp, 0xffffffc0
mov eax, dword [0x100bd080]
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 0x10001df5
xor al, al
jmp 0x10001e7e
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 0x10001e20
xor al, al
jmp 0x10001e7e
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
push 0x10001e6b
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.1007f9b5
mov esp, ebp
pop ebp
ret
Function at 0x10003f40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x10003f72
jl 0x10003f65
test ecx, ecx
jne 0x10003f72
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x1000404f
mov dword [esp + 0x10], eax
lea eax, [ebx + 0x2c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
test eax, eax
je 0x10003fa2
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
jmp 0x10003fa4
xor eax, eax
cdq
mov dword [esp + 0x1c], edx
mov esi, eax
test edx, edx
jl 0x10003ff8
jg 0x10003fb5
test esi, esi
je 0x10003ff8
mov eax, dword [esp + 0x10]
cmp eax, edx
jg 0x10003fc9
jl 0x10003fc3
cmp ecx, esi
jae 0x10003fc9
mov esi, ecx
mov dword [esp + 0x1c], eax
push esi
push dword [esp + 0x1c]
push edi
call fcn.10081510
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
sub ecx, esi
mov eax, dword [eax]
sbb edx, dword [esp + 0x1c]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov eax, dword [esp + 0x14]
jmp 0x1000401c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x10004038
mov ecx, dword [esp + 0xc]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
lea eax, [ebx + 0x2c]
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
test edx, edx
jg 0x10003f87
jl 0x10004038
test ecx, ecx
jne 0x10003f87
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x2c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x1000408d
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x1000408d
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push dword [esp + 0x14]
call fcn.10081510
mov eax, dword [ebx + 0x2c]
sub edi, esi
add dword [esp + 0x18], esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
lea esi, [ebx + 0x2c]
cmp dword [ebx + 0x4c], 0
je 0x100040f7
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x100040b3
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
cmp edi, 0xfff
jbe 0x100040e2
nop
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.10085e5e
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x100040f7
cmp edi, eax
ja 0x100040c0
test edi, edi
je 0x100040f7
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.10085e5e
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100064f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009fd10
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100bd080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.1007f9c3
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.1007c32e
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.10006490
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10011480
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [0x100bd080]
xor eax, esp
mov dword [esp + 0x24], 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.0x100114a8.0
jmp dword [eax*4 + 0x10011660]
push 0
lea eax, [esp + 0x10]
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 [esp + 0x24]
xor ecx, esp
call fcn.1007f9b5
mov esp, ebp
pop ebp
ret 0xc
push 0
lea eax, [esp + 0x10]
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 [esp + 0x24]
xor ecx, esp
call fcn.1007f9b5
mov esp, ebp
pop ebp
ret 0xc
push 0
lea eax, [esp + 0x10]
mov dword [esp + 0x14], 0
push eax
push 4
lea eax, [esp + 0x1c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
push 0x100ad81c
mov ecx, esi
call fcn.10008be0
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x1001159e
push ecx
push eax
mov ecx, esi
call fcn.100121c0
cmp dword [esi + 0x14], 0xf
jbe 0x1001153f
mov esi, dword [esi]
push 0
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x18]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.1007f9b5
mov esp, ebp
pop ebp
ret 0xc
push 0
lea eax, [esp + 0x10]
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 [esp + 0x24]
xor ecx, esp
call fcn.1007f9b5
mov esp, ebp
pop ebp
ret 0xc
push 0
lea eax, [esp + 0x10]
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 [esp + 0x24]
xor ecx, esp
call fcn.1007f9b5
mov esp, ebp
pop ebp
ret 0xc
push 0x90
push str.C:UsersMONSTERDesktopDreamSoft_v1924DreamSoftN3BaseN3TableBase.hpp
push 0x100ad81c
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0x13
movups xmmword [ecx], xmm0
push str.ERROR____s_n_s:__d_n_n
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10002570
lea eax, [esp + 0x38]
push eax
call fcn.1000dc10
add esp, 0x28
lea eax, [esp + 0x14]
cmp dword [esp + 0x28], 0xf
cmova eax, dword [esp + 0x14]
push 0
push str._ASSERTT_n
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x28]
cmp ecx, 0xf
jbe 0x10011644
mov edx, dword [esp + 0x14]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001163a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011659
push ecx
push edx
call fcn.1007fa16
add esp, 8
mov ecx, dword [esp + 0x2c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.1007f9b5
mov esp, ebp
pop ebp
ret 0xc
call fcn.10084b1f
nop
mov bl, 0x15
add dword [eax], edx
scasd eax, dword es:[edi]
adc al, 1
adc byte [edi - 0x2aeffeec], ch
adc al, 1
adc ch, dl
adc al, 1
adc byte [edi + 0x15], ah
add dword [eax], edx
adc eax, 0x14fb1001
add dword [eax], edx
adc eax, 0x158d1001
add dword [eax], edx
int3
Function at 0x10012c50
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
push 0
push 0
push 0
push 0x1000f420
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.10018860
call fcn.1007e600
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.1007ead0
push 0x100122c0
push 0x100c0ae8
call fcn.1007e310
call fcn.1007e660
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push 0x919fd0
call edi
test eax, eax
jne 0x10012cd2
mov dword [0x100c0ae8], 0x919fd0
call fcn.1007e600
call esi
push eax
call fcn.1007ead0
push 0x100122c0
push 0x100c0ae8
call fcn.1007de80
call fcn.1007e660
call fcn.1007e600
call esi
push eax
call fcn.1007ead0
push 0x100122f0
push 0x100c0ae4
call fcn.1007e310
call fcn.1007e660
mov eax, dword [sym.imp.WS2_32.dll_connect]
push 4
push eax
mov dword [0x100c0ae4], eax
call edi
test eax, eax
jne 0x10012d27
call fcn.1007e600
call esi
push eax
call fcn.1007ead0
push 0x100122f0
push 0x100c0ae4
call fcn.1007de80
call fcn.1007e660
call fcn.1007e600
call esi
push eax
call fcn.1007ead0
push 0x100125f0
push 0x100c0ae0
call fcn.1007e310
call fcn.1007e660
mov eax, dword [sym.imp.WS2_32.dll_WSAConnect]
push 4
push eax
mov dword [0x100c0ae0], eax
call edi
test eax, eax
jne 0x10012d7c
call fcn.1007e600
call esi
push eax
call fcn.1007ead0
push 0x100125f0
push 0x100c0ae0
call fcn.1007de80
call fcn.1007e660
call fcn.1007e600
call esi
push eax
call fcn.1007ead0
push 0x10012920
push 0x100c0adc
call fcn.1007e310
call fcn.1007e660
mov eax, dword [sym.imp.WS2_32.dll_WSAStartup]
push 4
push eax
mov dword [0x100c0adc], eax
call edi
test eax, eax
jne 0x10012dd1
call fcn.1007e600
call esi
push eax
call fcn.1007ead0
push 0x10012920
push 0x100c0adc
call fcn.1007de80
call fcn.1007e660
call fcn.1007e600
call esi
push eax
call fcn.1007ead0
push 0x10012af0
push 0x100c0ad8
call fcn.1007e310
call fcn.1007e660
mov eax, dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 4
push eax
mov dword [0x100c0ad8], eax
call edi
test eax, eax
jne 0x10012e26
call fcn.1007e600
call esi
push eax
call fcn.1007ead0
push 0x10012af0
push 0x100c0ad8
call fcn.1007de80
call fcn.1007e660
pop edi
pop esi
pop ecx
ret
Function at 0x10015aa0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a0ecd
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x100bd080]
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 - 0x150], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
lea eax, [ebp - 0x150]
push eax
push edi
mov dword [ebp - 0x154], edi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x10015be5
nop word [eax + eax]
sub esp, 0x18
lea ecx, [ebp - 0x12c]
mov edx, esp
lea esi, [ecx + 1]
xorps xmm0, xmm0
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10015b32
sub ecx, esi
lea eax, [ebp - 0x12c]
push ecx
push eax
mov ecx, edx
call fcn.10002570
lea ecx, [ebp - 0x28]
call fcn.10015890
mov edi, dword [ebp - 0x14]
lea ecx, [ebp + 8]
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x28]
add esp, 0x18
cmp dword [ebp + 0x1c], 0xf
cmova ecx, dword [ebp + 8]
cmp edi, 0xf
cmova eax, esi
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10015b90
test dl, dl
je 0x10015b8c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10015b90
add eax, 2
add ecx, 2
test dl, dl
jne 0x10015b70
xor eax, eax
jmp 0x10015b95
sbb eax, eax
or eax, 1
test eax, eax
je 0x10015c16
cmp edi, 0xf
jbe 0x10015bc9
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x10015bbf
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015c86
push ecx
push esi
call fcn.1007fa16
add esp, 8
mov edi, dword [ebp - 0x154]
lea eax, [ebp - 0x150]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x10015b10
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x10015c64
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10015c5a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015c81
jmp 0x10015c5a
push dword [ebp - 0x154]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x148]
cmp ecx, 0xf
jbe 0x10015bee
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10015c4e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015c86
push ecx
push edx
call fcn.1007fa16
add esp, 8
jmp 0x10015bee
push ecx
push edx
call fcn.1007fa16
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.1007f9b5
mov esp, ebp
pop ebp
ret
call fcn.10084b1f
call fcn.10084b1f
int3
Function at 0x10015c90
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x100bd080]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x100b4530]
xor eax, eax
push esi
mov esi, ecx
mov dword [ebp - 0x3c], 0x5268696f
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x38], 0x6763746e
mov word [ebp - 0x34], 0x62
mov cl, byte [ebp - 0x4c]
xor byte [ebp + eax - 0x4b], cl
inc eax
cmp eax, 0x18
jb 0x10015cc4
push ebx
mov byte [ebp - 0x30], 0x2e
mov al, 0x40
xor al, byte [ebp - 0x30]
mov bl, 0x42
mov ah, bl
mov byte [ebp - 0x2f], al
mov al, byte [ebp - 0x30]
mov dl, 0x4a
xor ch, ch
mov byte [ebp - 0x21], ah
mov bh, ah
mov byte [ebp - 0x26], ch
mov dh, dl
mov byte [ebp - 0x33], 0
xor dl, al
mov byte [ebp - 0x26], 0
xor bl, al
mov byte [ebp - 0x2d], dl
xor ah, al
mov byte [ebp - 0x2c], bl
xor ch, al
mov byte [ebp - 0x2b], ah
xor dh, al
mov byte [ebp - 0x2a], ch
xor bh, al
mov byte [ebp - 0x29], dh
mov cl, 0x5a
mov byte [ebp - 0x28], bh
xor cl, al
mov al, byte [ebp - 0x21]
xor al, byte [ebp - 0x30]
mov byte [ebp - 0x27], al
lea eax, [ebp - 0x2f]
push eax
mov byte [ebp - 0x2e], cl
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x4b]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop ebx
test eax, eax
je 0x10015d66
push 0
push 0x1c
lea ecx, [ebp - 0x20]
push ecx
push 0
push esi
call eax
test eax, eax
jne 0x10015d66
mov eax, dword [ebp - 0x14]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007f9b5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.1007f9b5
mov esp, ebp
pop ebp
ret
Function at 0x10015d80
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x100bd080]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x100b4050]
xor eax, eax
push esi
mov esi, ecx
mov dword [ebp - 0x24], 0x69535254
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 0x5c584f55
mov word [ebp - 0x1c], 0x59
mov cl, byte [ebp - 0x34]
xor byte [ebp + eax - 0x33], cl
inc eax
cmp eax, 0x18
jb 0x10015db4
push ebx
mov byte [ebp - 0x18], 0x28
mov al, 0x46
xor al, byte [ebp - 0x18]
mov bl, 0x44
mov ah, bl
mov byte [ebp - 0x17], al
mov al, byte [ebp - 0x18]
mov dl, 0x4c
mov bh, ah
mov byte [ebp - 9], ah
mov dh, dl
mov byte [ebp - 0xe], 0
xor dl, al
mov byte [ebp - 0x1b], 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, 0x5c
mov byte [ebp - 0x10], bh
xor cl, al
mov byte [ebp - 0xe], 0
mov ch, 6
mov byte [ebp - 0x16], cl
xor ch, al
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]
lea ecx, [ebp - 0x33]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop ebx
test eax, eax
jne 0x10015e43
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007f9b5
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.1007f9b5
mov esp, ebp
pop ebp
ret

Function at 0x10016100
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 [0x100bdbf4], edx
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x100bdbf4], edx
inc eax
cmp eax, 0x270
jb 0x10016111
mov dword [0x100bdbf0], 0x270
pop ebp
ret 8
Function at 0x10016140
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 0x1001619d
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 0x10016160
mov eax, dword [esi]
jmp 0x1001627b
cmp eax, 0x4e0
jb 0x1001627b
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 0x100161b6
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 0x10016201
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