joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c5b0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45cc28
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x47c1b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], 0
cmp dword [ebp + 0x10], 0
je 0x40c611
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0x4718c8
mov ecx, dword [ebp - 0x10]
add ecx, 0x68
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [edx], vtable.CefBaseRefCounted.0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
or eax, 1
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x10]
mov dword [edx], vtable.CefResponseFilter.1.0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x10]
mov dword [eax + edx + 4], vtable.CefResponseFilter.0
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
mov dword [ecx], vtable.CElibResourceFile.1.0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov dword [edx + ecx + 4], vtable.CElibResourceFile.0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
sub edx, 0x64
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 4]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + eax], edx
mov edx, dword [ebp - 0x10]
add edx, 8
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov dword [eax], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x14]
mov byte [edx + 8], 0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
add eax, 0x30
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
mov edx, dword [ebp - 0x18]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x18]
mov byte [eax + 8], 0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov dword [edx], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + 8], 0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x10]
add edx, 0x48
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
mov dword [eax], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x20]
mov byte [edx + 8], 0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x54], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x5c], 0
mov edx, dword [ebp - 0x10]
add edx, 0x60
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call fcn.00408220
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x2c], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40cb60
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 8
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp dword [ecx + 4], 0
je 0x40cb88
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
jmp 0x40cb8f
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 4]
add eax, 8
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 4], 0
je 0x40cbb8
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
jmp 0x40cbbf
mov dword [ebp - 0x14], 0
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x24], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x24], 0
jne 0x40cbee
xor al, al
jmp 0x40cbfa
mov eax, dword [ebp - 4]
mov dword [eax + 0x28], 0
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x455824
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004554be
Function at 0x10003368
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x10003377
pop dword [ebp - 0x38]
mov eax, 0x8cca9389
sub eax, 0x7cca6012
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x3e699171
sub dword [ebp - 0x48], 0xf0174c26
mov dword [ebp - 0x44], 0xd90f8c28
sub dword [ebp - 0x44], 0xa6dc3fe3
mov dword [ebp - 0x40], 0x7ccdd78c
sub dword [ebp - 0x40], 0x3081935e
mov dword [ebp - 0x3c], 0xaddcf65b
add dword [ebp - 0x3c], 0x522309a5
lea eax, [ebp - 0x48]
push eax
mov eax, 0x167d90e4
sub eax, 0x67d509c
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0xbdb89691
sub dword [ebp - 0x48], 0x49462d3b
mov dword [ebp - 0x44], 0xd938ac1b
sub dword [ebp - 0x44], 0x97cc4aa6
mov dword [ebp - 0x40], 0xde06cad6
add dword [ebp - 0x40], 0x8568a196
mov dword [ebp - 0x3c], 0xee47d746
add dword [ebp - 0x3c], 0x11b828ba
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0x1667c6c4
sub eax, 0x6678648
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x37b07
push 0
call eax
mov ecx, 0xaf08adf4
add ecx, 0x50f79e61
mov edi, eax
mov esi, 0x10009600
add esi, dword [ebp - 0x38]
mov ebx, 0xb2e4c565
add dword [ebp - 0x18], 0x46a5320a
mov edx, dword [esi]
mov dword [ebp - 0x10], 0xb4565140
xor edx, ebx
mov dword [edi], edx
sub dword [ebp - 0x14], 0x193909bc
add edi, 0x8b3036c4
sub edi, 0x8b3036c0
add esi, 0xcc68ea23
sub esi, 0xcc68ea1f
loop 0x1000348d
add eax, 0x664f59be
add eax, 0x99b1ca69
xor ebx, ebx
add ebx, eax
add eax, 0xe298eac0
add eax, 0x1d671545
mov ecx, 0x10000000
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x57f770
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x122000]
push edi
jmp 0x57f78a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x57f791
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57f780
mov eax, 1
add ebx, ebx
jne 0x57f7a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x57f7b4
jne 0x57f7d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57f7d3
dec eax
add ebx, ebx
jne 0x57f7c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x57f798
add ebx, ebx
jne 0x57f7cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x57f825
xor ecx, ecx
sub eax, 3
jb 0x57f7eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x57f85a
sar eax, 1
mov ebp, eax
jmp 0x57f7f6
add ebx, ebx
jne 0x57f7f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57f7c4
inc ecx
add ebx, ebx
jne 0x57f804
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57f7c4
add ebx, ebx
jne 0x57f811
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x57f806
jne 0x57f822
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x57f806
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x57f844
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x57f836
jmp 0x57f786
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x57f844
add edi, ecx
jmp 0x57f786
pop esi
mov edi, esi
mov ecx, 0x40d6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x57f862
cmp byte [edi], 0x11
jne 0x57f862
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x57f867
lea edi, [esi + 0x178000]
mov eax, dword [edi]
or eax, eax
je 0x57f8df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x219688]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x219804]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x57f894
mov ecx, edi
jns 0x57f8c3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x219808]
or eax, eax
je 0x57f8d9
mov dword [ebx], eax
add ebx, 4
jmp 0x57f8b1
call dword [esi + 0x219818]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x57f910
cmp al, 0xef
ja 0x57f903
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x57f8e5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x57f8f2
mov ebp, dword [esi + 0x21980c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x57f944
sub esp, 0xffffff80
jmp 0x4204f7
Function at 0x100129ec
Capabilities:
Enumerate processes

Disassembly:
push 0x238
mov eax, 0x1002cef1
call fcn.10014f28
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x10012a09
xor eax, eax
jmp 0x10012adf
xor edi, edi
push edi
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0x10012add
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push esi
call sub.kernel32.dll_Process32FirstW
jmp 0x10012ab3
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x244]
call fcn.100125e1
push ebx
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], edi
call fcn.100125e1
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 1
call fcn.10012b61
lea ecx, [ebp - 0x240]
call fcn.10012b61
push dword [ebp - 0x244]
lea ecx, [ebp - 0x240]
call main
mov ecx, dword [ebp - 0x240]
lea ecx, [ecx - 0x10]
test eax, eax
je 0x10012abd
call fcn.10012c52
mov ecx, dword [ebp - 0x244]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.10012c52
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.kernel32.dll_Process32NextW
test eax, eax
jne 0x10012a36
jmp 0x10012ad6
mov edi, dword [ebp - 0x234]
call fcn.10012c52
mov ecx, dword [ebp - 0x244]
add ecx, 0xfffffff0
call fcn.10012c52
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, edi
call fcn.10014ed2
ret

Function at 0x100166d4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x100166e3
pop dword [ebp - 0x44]
mov eax, 0x7a16888f
add eax, 0x95eade54
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x43d4b
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0x507a
mov edx, eax
mov edi, 0x10049800
add edi, dword [ebp - 0x44]
mov esi, 0xdd139657
add dword [ebp - 0x18], eax
mov ebx, dword [edi]
mov dword [ebp - 0x24], 0x980b8598
add ebx, esi
mov dword [ebp - 0x3c], 0xf1d4e187
mov dword [edx], ebx
xor dword [ebp - 0x30], 0x7b318ce
add edx, 4
add edi, 0x2d1d0497
add edi, 0xd2e2fb6d
loop 0x1001672b
add eax, 0xa04886a5
add eax, 0x5fb8ae16
mov ebx, eax
add eax, 0xa295ca9e
sub eax, 0xa295ca99
mov ecx, 0x5cf99a7d
add ecx, 0xb3066583
add ecx, dword [ebp - 0x44]
call ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x100030c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001ec6a
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x10029740]
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 edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x18], esi
call fcn.1000707e
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 0x10003166
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], str.bad_locale_name
push eax
lea ecx, [ebp - 0x24]
call fcn.10008222
push 0x100285fc
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.std::runtime_error.0
push eax
call fcn.1000a05b
push edi
push esi
call fcn.10007314
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.10007930
mov esp, ebp
pop ebp
ret 4

Function at 0x10003640
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1001ecf8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x10029740]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
push dword [ebp + 0x10]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.10002500
push dword [ebp + 0xc]
lea eax, [esp + 0x28]
push dword [ebp + 8]
push eax
call fcn.10003570
add esp, 0x24
mov dword [esp + 0x30], 0
cmp dword [eax + 0x14], 0x10
jb 0x100036b1
mov eax, dword [eax]
mov dword [esp + 8], eax
mov ecx, esi
lea eax, [esp + 8]
push eax
call fcn.10008222
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.std::runtime_error.0
jb 0x100036da
push dword [esp + 0xc]
call fcn.1000793f
add esp, 4
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [esi], vtable.std::_System_error.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10005fa0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001f13f
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10029740]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], 0
mov dword [edi], 0x10026988
mov dword [edi + 0x60], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
mov eax, dword [edi]
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov esi, dword [eax + 4]
add esi, edi
mov ecx, esi
call fcn.100038a0
lea eax, [ebp - 0x14]
mov dword [esi + 0x3c], 0
lea ebx, [edi + 4]
mov ecx, esi
push eax
mov dword [esi + 0x38], ebx
call fcn.10003880
push eax
mov dword [ebp - 4], 2
call fcn.10004580
mov byte [ebp - 4], 1
add esp, 4
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1000605c
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x1000605c
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [ebp - 0x18]
push 0x20
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], al
jne 0x10006081
mov eax, dword [esi + 0xc]
mov ecx, esi
or eax, 4
push 0
push eax
call fcn.100037c0
mov dword [ebp - 4], 3
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ecx + edi - 4], eax
mov ecx, ebx
call fcn.10004290
lea eax, [ebx + 4]
mov dword [ebx], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [ebx + 0xc], eax
lea ecx, [ebx + 8]
lea eax, [ebx + 0x14]
mov byte [ebx + 0x4c], 0
mov dword [ebx + 0x1c], eax
lea eax, [ebx + 0x18]
mov dword [ebx + 0x20], eax
lea eax, [ebx + 0x24]
mov dword [ebx + 0x2c], eax
lea eax, [ebx + 0x28]
mov dword [ebx + 0x30], eax
mov byte [ebx + 0x45], 0
mov dword [ebx + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [ebx + 0x20]
mov dword [eax], 0
mov eax, dword [ebx + 0x30]
mov dword [eax], 0
mov eax, dword [ebx + 0xc]
mov dword [eax], 0
mov eax, dword [ebx + 0x1c]
mov dword [eax], 0
mov eax, dword [ebx + 0x2c]
mov dword [eax], 0
mov dword [ebx + 0x50], 0
mov eax, dword [0x1002bc7c]
mov dword [ebx + 0x48], eax
mov eax, edi
mov dword [ebx + 0x40], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10006500
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1001f198
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10029740]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x10029740]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x10006654
cmp byte [ebx + 0x45], 0
je 0x10006654
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x10006560
xor al, al
jmp 0x10006656
mov ecx, 0xf
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
mov dword [esp + 0x2c], ecx
cmp ecx, 0x10
movq qword [esp + 0x18], xmm0
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 8
cmovae eax, dword [esp + 0x18]
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
jmp 0x100065a0
cmp dword [esp + 0x2c], 0x10
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0x40]
lea edi, [esp + 0x18]
cmovae edi, dword [esp + 0x18]
lea esi, [esp + 0x18]
cmovae esi, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x100065e1
dec eax
je 0x100065e5
sub eax, 2
je 0x1000663b
xor bl, bl
jmp 0x1000663d
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x1000661c
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.10008fcf
add esp, 0x10
cmp esi, eax
jne 0x100065dd
cmp byte [ebx + 0x45], 0
je 0x1000663b
test esi, esi
jne 0x100065a0
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.10004490
jmp 0x100065a0
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x10006650
push dword [esp + 0x18]
call fcn.1000793f
add esp, 4
mov al, bl
jmp 0x10006656
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.10007930
mov esp, ebp
pop ebp
ret
Function at 0x10006a00
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001f210
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x10029740]
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 esi, ecx
push 0
mov dword [ebp - 4], 0
mov eax, dword [esi]
push 0x100267df
push dword [ebp + 0x18]
mov dword [esi + 4], eax
push ecx
lea ecx, [ebp + 8]
call fcn.10006250
test eax, eax
je 0x10006ba7
lea edx, [ebp + 8]
lea ecx, [ebp - 0x28]
call fcn.10003af0
push 0
push 2
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x288], 0x22c
lea eax, [ebp - 0x288]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x10006b7d
lea edx, [ebp - 0x264]
lea ecx, [ebp - 0x58]
call fcn.10003a40
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.10003af0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x40]
call fcn.10006250
test eax, eax
jne 0x10006b2d
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x280]
cmp ecx, eax
jae 0x10006b0d
mov ecx, dword [esi]
lea edx, [ebp - 0x280]
cmp ecx, edx
ja 0x10006b0d
mov edi, edx
sub edi, ecx
sar edi, 2
cmp eax, dword [esi + 8]
jne 0x10006aff
push ecx
mov ecx, esi
call fcn.10006ce0
mov ecx, dword [esi + 4]
mov eax, dword [esi]
test ecx, ecx
je 0x10006b29
mov eax, dword [eax + edi*4]
jmp 0x10006b27
cmp eax, dword [esi + 8]
jne 0x10006b1a
push ecx
mov ecx, esi
call fcn.10006ce0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x10006b29
mov eax, dword [ebp - 0x280]
mov dword [ecx], eax
add dword [esi + 4], 4
lea eax, [ebp - 0x288]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp dword [ebp - 0x2c], 0x10
mov edi, eax
jb 0x10006b4e
push dword [ebp - 0x40]
call fcn.1000793f
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x44], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x10006b75
push dword [ebp - 0x58]
call fcn.1000793f
add esp, 4
test edi, edi
jne 0x10006a92
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 0x10
jb 0x10006b95
push dword [ebp - 0x28]
call fcn.1000793f
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp dword [ebp + 0x1c], 0x10
jb 0x10006bb8
push dword [ebp + 8]
call fcn.1000793f
add esp, 4
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.10007930
mov esp, ebp
pop ebp
ret
Function at 0x10006be0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001f250
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x10029740]
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 dword [ebp - 4], 0
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
lea eax, [ebp + 8]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.10002500
lea ecx, [ebp - 0x1c]
call fcn.10006a00
mov eax, dword [ebp - 0x18]
add esp, 0x18
mov ebx, dword [ebp - 0x1c]
xor edi, edi
sub eax, ebx
sar eax, 2
mov dword [ebp - 0x20], eax
test eax, eax
je 0x10006ca5
lea esp, [esp]
push dword [ebx + edi*4]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [ebp - 0x20]
jb 0x10006c80
test ebx, ebx
je 0x10006cb2
push ebx
call fcn.1000793f
add esp, 4
cmp dword [ebp + 0x1c], 0x10
jb 0x10006cc3
push dword [ebp + 8]
call fcn.1000793f
add esp, 4
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.10007930
mov esp, ebp
pop ebp
ret