joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001eb0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movaps xmm0, xmmword [0x1013b160]
push ebx
push esi
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x170d2107
xor esi, esi
mov dword [ebp - 0x18], 0x1007160c
mov byte [ebp - 0x14], 0
cmp esi, 0x18
jb 0x10001ef3
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10064930
add esp, 0xc
mov bl, byte [ebp + esi - 0x2b]
xor bl, byte [ebp - 0x2c]
cmp esi, 0x18
jb 0x10001f16
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10064930
add esp, 0xc
mov byte [ebp + esi - 0x2b], bl
inc esi
cmp esi, 0x17
jb 0x10001ed7
mov byte [ebp - 0x14], 0
xor esi, esi
mov dword [ebp - 0x10], 0xc1b157e
mov dword [ebp - 0xc], 0x4d121b10
mov dword [ebp - 8], 0x121a504c
mov word [ebp - 4], 0x12
cmp esi, 0xd
jb 0x10001f5d
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10064930
add esp, 0xc
mov bl, byte [ebp + esi - 0xf]
xor bl, byte [ebp - 0x10]
cmp esi, 0xd
jb 0x10001f80
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10064930
add esp, 0xc
mov byte [ebp + esi - 0xf], bl
inc esi
cmp esi, 0xc
jb 0x10001f41
lea eax, [ebp - 0x2b]
mov byte [ebp - 3], 0
push eax
lea eax, [ebp - 0xf]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.10019fa0
pop esi
pop ebx
cmp al, 0xe9
jne 0x10001fb8
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x10001fc0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov dword [ebp - 0x10], 0x80c1165
xor esi, esi
mov dword [ebp - 0xc], 0x11002200
mov dword [ebp - 8], 0x80c31
mov byte [ebp - 4], 0
cmp esi, 0xc
jb 0x10001fff
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10064930
add esp, 0xc
mov bl, byte [ebp + esi - 0xf]
xor bl, byte [ebp - 0x10]
cmp esi, 0xc
jb 0x10002022
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10064930
add esp, 0xc
mov byte [ebp + esi - 0xf], bl
inc esi
cmp esi, 0xb
jb 0x10001fe3
mov byte [ebp - 4], 0
xor esi, esi
mov dword [ebp - 0x20], 0x43545a31
mov dword [ebp - 0x1c], 0x25d545f
mov dword [ebp - 0x18], 0x5d551f03
mov word [ebp - 0x14], 0x5d
nop dword [eax]
cmp esi, 0xd
jb 0x1000206c
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10064930
add esp, 0xc
mov bl, byte [ebp + esi - 0x1f]
xor bl, byte [ebp - 0x20]
cmp esi, 0xd
jb 0x1000208f
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10064930
add esp, 0xc
mov byte [ebp + esi - 0x1f], bl
inc esi
cmp esi, 0xc
jb 0x10002050
lea eax, [ebp - 0xf]
mov byte [ebp - 0x13], 0
push eax
lea eax, [ebp - 0x1f]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.10019fa0
pop esi
pop ebx
cmp al, 0xe9
jne 0x100020c7
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x100020d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov dword [ebp - 0x10], 0x2a3b195e
xor esi, esi
mov dword [ebp - 0xc], 0x353d370a
mov dword [ebp - 8], 0x302b311d
mov word [ebp - 4], 0x2a
cmp esi, 0xd
jb 0x10002111
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10064930
add esp, 0xc
mov bl, byte [ebp + esi - 0xf]
xor bl, byte [ebp - 0x10]
cmp esi, 0xd
jb 0x10002134
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10064930
add esp, 0xc
mov byte [ebp + esi - 0xf], bl
inc esi
cmp esi, 0xc
jb 0x100020f5
mov byte [ebp - 3], 0
xor esi, esi
mov dword [ebp - 0x20], 0x5a4d4328
mov dword [ebp - 0x1c], 0x1b444d46
mov dword [ebp - 0x18], 0x444c061a
mov word [ebp - 0x14], 0x44
nop
cmp esi, 0xd
jb 0x1000217c
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10064930
add esp, 0xc
mov bl, byte [ebp + esi - 0x1f]
xor bl, byte [ebp - 0x20]
cmp esi, 0xd
jb 0x1000219f
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10064930
add esp, 0xc
mov byte [ebp + esi - 0x1f], bl
inc esi
cmp esi, 0xc
jb 0x10002160
lea eax, [ebp - 0xf]
mov byte [ebp - 0x13], 0
push eax
lea eax, [ebp - 0x1f]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.10019fa0
pop esi
pop ebx
cmp al, 0xe9
jne 0x100021d7
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x100023a0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1013fa70
push 0x10079d30
mov eax, dword fs:[0]
push eax
add esp, 0xffffffc0
mov eax, dword [0x1014b084]
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 0x10002439
xor al, al
jmp 0x100024c2
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 0x10002464
xor al, al
jmp 0x100024c2
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
push 0x100024af
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.10074510
mov esp, ebp
pop ebp
ret
Function at 0x10003450
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x400
push 0
push 0x101502f0
call fcn.10079b70
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 4], ecx
push ebx
nop
xor eax, eax
test cl, 1
je 0x1000347b
bts eax, 7
shr ecx, 1
test cl, 1
je 0x10003486
bts eax, 6
shr ecx, 1
test cl, 1
je 0x10003491
bts eax, 5
shr ecx, 1
test cl, 1
je 0x1000349c
bts eax, 4
shr ecx, 1
test cl, 1
je 0x100034a7
bts eax, 3
shr ecx, 1
test cl, 1
je 0x100034b2
bts eax, 2
shr ecx, 1
test cl, 1
je 0x100034bd
bts eax, 1
test cl, 2
je 0x100034c6
bts eax, 0
shl eax, 0x18
mov ecx, eax
add eax, eax
sar ecx, 0x1f
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov ebx, ecx
sar ebx, 0x1f
and ebx, 0x4c11db7
lea eax, [ecx + ecx]
xor ebx, eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax*4 + 0x101502f0], ebx
lea ecx, [edx + 1]
test bl, 1
je 0x10003566
mov eax, 0x20
sub eax, ecx
bts edx, eax
inc ecx
shr ebx, 1
cmp ecx, 0x21
jl 0x10003557
mov ecx, dword [ebp - 4]
mov dword [ecx*4 + 0x101502f0], edx
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, 0xff
jle 0x10003470
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10003590
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x1014b084]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push 0x1012d17c
push eax
lea eax, [ebp - 0x408]
mov dword [ebp - 0x408], 0
push eax
or ebx, 0xffffffff
call fcn.1007b270
add esp, 0xc
test eax, eax
jne 0x10003670
mov eax, dword [ebp - 0x408]
test eax, eax
je 0x10003670
push eax
push 0x400
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.1007b9f0
mov edx, eax
add esp, 0x10
test edx, edx
je 0x1000364d
push esi
nop dword [eax]
lea esi, [ebp - 0x404]
test edx, edx
je 0x1000362a
nop word [eax + eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x101502f0]
sub edx, 1
jne 0x10003610
push dword [ebp - 0x408]
lea eax, [ebp - 0x404]
push 0x400
push 1
push eax
call fcn.1007b9f0
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x10003600
pop esi
push dword [ebp - 0x408]
call fcn.1007bd30
add esp, 4
not ebx
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10074510
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
xor ecx, ebp
pop ebx
call fcn.10074510
mov esp, ebp
pop ebp
ret 4
Function at 0x10007a00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f7d0a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1014b084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2c], esi
call fcn.10064ed0
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x10007ac0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.10078260
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x10148f20
push eax
call fcn.100785d0
push edi
push esi
call fcn.100656c0
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.10074510
mov esp, ebp
pop ebp
ret 4

Function at 0x1000a710
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
call fcn.10003450
call fcn.10002570
test al, al
je 0x1000a73e
call fcn.10002e80
test al, al
je 0x1000a73e
call fcn.10002f80
test al, al
jne 0x1000a7d8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.10011df0
call fcn.10011ed0
call fcn.1001f5b0
mov dword [0x101507e4], eax
test eax, eax
je 0x1000a765
mov ecx, eax
call fcn.1001f7d0
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x1000a2b0
push 0
push 0
mov dword [0x10150700], eax
mov dword [0x10150704], edx
mov dword [0x10150708], eax
mov dword [0x1015070c], edx
call esi
mov ebx, eax
test ebx, ebx
je 0x1000a7df
push 0
push 0
push 0
push 0x1000a560
push 0
push 0
call esi
mov edi, eax
test edi, edi
je 0x1000a7e6
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x64
push ebx
call esi
push 0x64
push edi
call esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call esi
push edi
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 1
call fcn.10089920
push 1
call fcn.10089920
push 1
call fcn.10089920
int3
Function at 0x1000d540
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f7e16
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1014b084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x4a
push 0x1012d670
push 2
push 8
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1008bcd0
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x1000d58a
call fcn.10064e00
xorps xmm0, xmm0
movq qword [edi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.10065490
mov dword [edi + 4], eax
lea ecx, [esi + 8]
lea eax, [esi + 4]
mov dword [esi + 0x34], edi
mov dword [esi + 0xc], eax
add esp, 4
lea eax, [esi + 0x14]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10011df0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1014b084]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
push esi
push edi
test eax, eax
jne 0x10011e0e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 1
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, 0xffffffff
je 0x10011eb1
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0x28
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x10011eb1
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push eax
push str.SeSecurityPrivilege
push 0
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x10011eb1
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x10011eb1
push ecx
mov ecx, dword [ebp - 0x18]
mov edx, str.SeDebugPrivilege
call fcn.10011d80
add esp, 4
test al, al
je 0x10011eb1
push dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10074510
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.10074510
mov esp, ebp
pop ebp
ret
Function at 0x10016a10
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x1014b084]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x10016a5a
mov dword [edi], 0
mov eax, edi
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.10074510
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x1c], 0
jg 0x10016a6a
jl 0x10016a39
cmp dword [esp + 0x18], 0
jbe 0x10016a39
mov ebx, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 0x10]
push eax
xor esi, esi
call ebx
test eax, eax
jne 0x10016a91
nop dword [eax]
inc esi
cmp esi, 3
ja 0x10016a39
lea eax, [esp + 0x10]
push eax
call ebx
test eax, eax
je 0x10016a80
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
call fcn.10075d90
mulsd xmm0, qword [0x1013ae18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
movsd qword [esp + 0x10], xmm0
call fcn.10075d90
movsd xmm1, qword [esp + 0x10]
divsd xmm1, xmm0
movaps xmm0, xmm1
call fcn.10075c3f
mov ecx, dword [esp + 0x24]
mov dword [edi], eax
mov eax, edi
mov dword [edi + 4], edx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10074510
mov esp, ebp
pop ebp
ret

Function at 0x10016ef0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x1014b084]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov edi, ecx
mov dword [ebp - 0x130], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x130]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x10016f4c
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
cmp dword [ebp - 0x128], edi
je 0x10016f66
lea eax, [ebp - 0x130]
push eax
push esi
call ebx
test eax, eax
jne 0x10016f36
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10074510
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10074510
mov esp, ebp
pop ebp
ret

Function at 0x100170d0
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 [0x1014baec], edx
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x1014baec], edx
inc eax
cmp eax, 0x270
jl 0x100170e1
mov dword [0x1014bae8], 0x270
pop ebp
ret 8
Function at 0x10017200
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
lea eax, [ecx + 8]
mov esi, 0x270
nop dword [eax]
mov edx, dword [eax - 4]
lea eax, [eax + 4]
xor edx, dword [eax - 4]
and edx, 0x7fffffff
xor edx, dword [eax - 8]
mov ecx, edx
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [eax + 0x62c]
xor ecx, edx
mov dword [eax + 0x9b8], ecx
sub esi, 1
jne 0x10017210
pop esi
ret

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

Disassembly:
push ebx
mov ebx, ecx
mov ecx, 0xe3
push esi
push edi
lea edi, [ebx + 0x9c4]
mov edx, dword [edi + 4]
lea edi, [edi + 4]
xor edx, dword [edi - 4]
and edx, 0x7fffffff
xor edx, dword [edi - 4]
mov eax, edx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr edx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, edx
mov dword [edi - 0x9c4], eax
sub ecx, 1
jne 0x10017260
lea esi, [ebx + 0xd50]
mov edi, 0x18c
mov ecx, dword [esi + 4]
lea esi, [esi + 4]
xor ecx, dword [esi - 4]
and ecx, 0x7fffffff
xor ecx, dword [esi - 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi - 0xd50]
xor eax, ecx
mov dword [esi - 0x9c4], eax
sub edi, 1
jne 0x100172a2
mov ecx, dword [ebx + 0x1380]
xor ecx, dword [ebx + 4]
and ecx, 0x7fffffff
xor ecx, dword [ebx + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx + 0x9c0], eax
mov dword [ebx], edi
pop edi
pop esi
pop ebx
ret
Function at 0x1001a810
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov dword [ebp - 0x1c], 0x6f0e0a5d
xor esi, esi
mov dword [ebp - 0x18], 0x736f6e02
mov dword [ebp - 0x14], 0x313139
cmp esi, 0xb
jb 0x1001a84c
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10064930
add esp, 0xc
mov bl, byte [ebp + esi - 0x1b]
xor bl, byte [ebp - 0x1c]
cmp esi, 0xb
jb 0x1001a86f
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10064930
add esp, 0xc
mov byte [ebp + esi - 0x1b], bl
inc esi
cmp esi, 0xa
jb 0x1001a830
lea eax, [ebp - 0x1b]
mov byte [ebp - 0x11], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
mov dword [ebp - 4], edi
test edi, edi
jne 0x1001a898
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 0x10], 0x101b0d7e
xor esi, esi
mov word [ebp - 0xc], 0x1a
cmp esi, 5
jb 0x1001a8c3
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10064930
add esp, 0xc
mov bl, byte [ebp + esi - 0xf]
xor bl, byte [ebp - 0x10]
cmp esi, 5
jb 0x1001a8e6
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10064930
add esp, 0xc
mov byte [ebp + esi - 0xf], bl
inc esi
cmp esi, 4
jb 0x1001a8a7
lea eax, [ebp - 0xf]
mov byte [ebp - 0xb], 0
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call edi
test eax, eax
je 0x1001a890
mov ecx, eax
call fcn.10019fa0
cmp al, 0xe9
je 0x1001a890
mov dword [ebp - 0x10], 0x23313562
xor esi, esi
mov dword [ebp - 0xc], 0x60c0731
mov byte [ebp - 8], 0
cmp esi, 8
jb 0x1001a940
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10064930
add esp, 0xc
mov bl, byte [ebp + esi - 0xf]
xor bl, byte [ebp - 0x10]
cmp esi, 8
jb 0x1001a963
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10064930
add esp, 0xc
mov byte [ebp + esi - 0xf], bl
inc esi
cmp esi, 7
jb 0x1001a924
lea eax, [ebp - 0xf]
mov byte [ebp - 8], 0
push eax
push dword [ebp - 4]
call edi
pop edi
pop esi
pop ebx
test eax, eax
je 0x1001a98c
mov ecx, eax
call fcn.10019fa0
cmp al, 0xe9
jne 0x1001a994
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret