joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10009bd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 0x20], 0xf
lea edx, [ebp - 4]
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
cmova eax, dword [ebp + 0xc]
push edx
push 0x20019
push 0
push eax
push ecx
mov dword [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10009c2a
cmp dword [ebp + 0x38], 0xf
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], 4
push ecx
push 0
lea eax, [ebp + 0x24]
cmova eax, dword [ebp + 0x24]
push 0
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x20]
mov esi, dword [ebp - 8]
cmp ecx, 0xf
jbe 0x10009c67
mov edx, dword [ebp + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10009c5d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009cb0
push ecx
push edx
call fcn.1008c554
add esp, 8
mov ecx, dword [ebp + 0x38]
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 0xf
mov byte [ebp + 0xc], 0
cmp ecx, 0xf
jbe 0x10009ca9
mov edx, dword [ebp + 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10009c9f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009cb0
push ecx
push edx
call fcn.1008c554
add esp, 8
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.10091b9f
int3
Function at 0x10009fd0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5be5
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x100dcd80]
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
lea eax, [ebp - 0x40]
mov byte [ebp - 0x44], 0
push 0x1be
push eax
call fcn.1002f1b0
add esp, 8
cmp dword [esi + 0x14], 0xf
mov eax, esi
mov ecx, dword [esi + 0x28]
mov dword [ebp - 4], 0
jbe 0x1000a025
mov eax, dword [esi]
push 0
push 0
push 0
push 1
push eax
call ecx
cmp dword [ebp - 0x2c], 0xf
lea ecx, [ebp - 0x40]
mov edx, dword [esi + 0x2c]
cmova ecx, dword [ebp - 0x40]
push 0
push 0
push 3
push 0
push 0
push 0x1bb
push ecx
push eax
mov dword [esi + 0x1c], eax
call edx
mov edx, eax
mov dword [esi + 0x20], edx
test edx, edx
je 0x1000a061
mov byte [esi + 0x18], 1
cmp byte [esi + 0x18], 0
je 0x1000a19e
mov ax, word [0x100ba6cc]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x30]
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x28], ax
mov al, byte [0x100ba6ce]
mov dword [ebp - 0x18], 3
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x26], al
mov byte [ebp - 0x25], 0
push 0
push 0x4883000
push 0
push 0
push str.HTTP_1.0
push 0x100ba6f4
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
push edx
call ecx
mov ecx, dword [ebp - 0x14]
mov edi, eax
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x1000a0f3
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a0e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a1ec
push ecx
push edx
call fcn.1008c554
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test edi, edi
je 0x1000a184
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 4
push eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [esi + 0x34]
push 0x1f
push edi
call eax
or dword [ebp - 0x48], 0x180
lea eax, [ebp - 0x48]
push 4
push eax
mov eax, dword [esi + 0x38]
push 0x1f
push edi
call eax
mov eax, dword [esi + 0x3c]
push 0
push 0
push 0
push 0
push edi
call eax
push 0
lea eax, [ebp - 0x54]
mov dword [ebp - 0x4c], 0
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x54], 4
push eax
mov eax, dword [esi + 0x4c]
push 0x20000013
push edi
call eax
mov eax, dword [ebp - 0x44]
mov ecx, 1
cmp dword [ebp - 0x4c], 0xc8
movzx eax, al
cmove eax, ecx
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x44]
push edi
call eax
cmp byte [esi + 0x18], 0
je 0x1000a19e
push dword [esi + 0x20]
mov eax, dword [esi + 0x44]
call eax
push dword [esi + 0x1c]
mov eax, dword [esi + 0x44]
call eax
mov byte [esi + 0x18], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x1000a1ce
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a1c4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a1f1
push ecx
push edx
call fcn.1008c554
add esp, 8
mov al, byte [ebp - 0x44]
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.1008c562
mov esp, ebp
pop ebp
ret
call fcn.10091b9f
call fcn.10091b9f
int3
Function at 0x1000d0a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5f3d
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x100dcd80]
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
push 0
call fcn.100971b4
add esp, 4
mov dword [ebp - 0x54], eax
mov edi, eax
mov ecx, edx
lea eax, [ebp - 0x50]
mov dword [ebp - 0x58], ecx
sub edi, 0xf53700
mov ebx, ecx
push eax
push 0x20119
push 0
push 0
push reloc.WS2_32.dll_bind
sbb ebx, 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000d19a
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x40]
push 0x10f
push eax
mov dword [ebp - 0x4c], 4
mov dword [ebp - 0x48], 4
call fcn.1002f4a0
add esp, 8
mov esi, eax
cmp dword [esi + 0x14], 7
mov dword [ebp - 4], 0
jbe 0x1000d13d
mov esi, dword [esi]
lea eax, [ebp - 0x28]
push 0x195
push eax
call fcn.1002f4a0
add esp, 8
cmp dword [eax + 0x14], 7
jbe 0x1000d156
mov eax, dword [eax]
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x4c]
push ecx
push esi
push eax
push dword [ebp - 0x50]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.10007690
lea ecx, [ebp - 0x40]
call fcn.10007690
test esi, esi
jne 0x1000d19a
mov ecx, dword [ebp - 0x44]
xor eax, eax
add ecx, dword [ebp - 0x54]
push esi
adc eax, dword [ebp - 0x58]
push 2
push eax
push ecx
call fcn.1008caf0
jmp 0x1000d19e
mov eax, edi
mov edx, ebx
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.1008c562
mov esp, ebp
pop ebp
ret
Function at 0x10011540
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 0x5a4d
push ebx
push esi
push edi
mov ecx, dword [edx]
cmp word [ecx], ax
jne 0x1001159e
mov esi, dword [ecx + 0x3c]
add esi, ecx
cmp dword [esi], 0x4550
jne 0x1001159e
mov edx, dword [edx + 4]
mov edi, dword [esi + 0xa8]
sub edx, ecx
cmp edi, edx
ja 0x1001159e
mov ebx, dword [esi + 0xac]
lea eax, [ebx + edi]
cmp eax, edx
ja 0x1001159e
push ebx
lea eax, [ecx + edi]
push 0
push eax
call fcn.1008e490
add esp, 0xc
mov dword [esi + 0xac], 0
mov al, 1
pop edi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret

Function at 0x100115b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b658d
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x100dcd80]
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, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jne 0x100115f2
xor al, al
jmp 0x10011689
push 0x100ba764
push ecx
lea eax, [ebp - 0x40]
xor bl, bl
push eax
call fcn.1000c070
push edi
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.1000e7a0
add esp, 0x18
lea ecx, [ebp - 0x40]
call fcn.10007690
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
push 0
cmova eax, dword [ebp - 0x28]
push 0
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1001167f
mov edx, dword [esi]
lea eax, [ebp - 0x44]
mov ecx, dword [esi + 4]
push 0
push eax
sub ecx, edx
mov dword [ebp - 0x44], 0
push ecx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esi + 4]
mov eax, 1
sub ecx, dword [esi]
cmp dword [ebp - 0x44], ecx
movzx ebx, bl
cmove ebx, eax
lea ecx, [ebp - 0x28]
call fcn.10007690
mov al, bl
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.1008c562
mov esp, ebp
pop ebp
ret
Function at 0x100116b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b65db
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x100dcd80]
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, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x450], esi
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jne 0x100116fb
xor al, al
jmp 0x10011898
push 0x100ba764
push ecx
lea eax, [ebp - 0x440]
xor bl, bl
push eax
call fcn.1000c070
push edi
push eax
lea eax, [ebp - 0x428]
mov dword [ebp - 4], 0
push eax
call fcn.1000e7a0
add esp, 0x18
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 2
call fcn.10007690
cmp dword [ebp - 0x414], 7
lea eax, [ebp - 0x428]
push 0
cmova eax, dword [ebp - 0x428]
push 0
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edx, eax
mov dword [ebp - 0x448], edx
cmp edx, 0xffffffff
je 0x1001188b
mov eax, dword [esi + 4]
mov ecx, dword [esi]
sub eax, ecx
je 0x100118b4
add ecx, dword [ecx + 0x3c]
mov eax, 0x8664
mov ebx, dword [ebp + 0x14]
cmp word [ecx + 4], ax
jne 0x100117a9
cmp dword [ecx], 0x4550
jne 0x100117a9
mov eax, dword [ecx + 0xac]
test eax, eax
je 0x100117a9
add eax, ebx
mov dword [ecx + 0xac], eax
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [ebp - 0x444], 0
sub eax, ecx
je 0x100118b4
push 0
lea edi, [ebp - 0x444]
push edi
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.1008e490
add esp, 0xc
test ebx, ebx
je 0x10011871
mov eax, 0x400
nop word [eax + eax]
cmp ebx, 0x400
mov dword [ebp - 0x44c], 0
mov edi, ebx
push 0
cmova edi, eax
call fcn.100971b4
push eax
call fcn.10097233
add esp, 8
xor esi, esi
test edi, edi
je 0x10011845
nop dword [eax + eax]
call fcn.10097212
and al, 0x7f
add al, 0x80
mov byte [ebp + esi - 0x410], al
inc esi
cmp esi, edi
jb 0x10011830
push 0
lea eax, [ebp - 0x44c]
push eax
push edi
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x448]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, 0x400
sub ebx, edi
jne 0x10011800
mov esi, dword [ebp - 0x450]
mov eax, dword [esi + 4]
sub eax, dword [esi]
cmp dword [ebp - 0x444], eax
push dword [ebp - 0x448]
sete bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x428]
call fcn.10007690
mov al, bl
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.1008c562
mov esp, ebp
pop ebp
ret
call fcn.10011940
int3
Function at 0x10012460
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b66b5
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x100dcd80]
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 - 0x38], edi
mov eax, dword [edi]
test eax, eax
je 0x100125c3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
mov dword [ebp - 0x34], esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
mov ebx, eax
push 0
push ebx
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x100125c3
push 0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
push dword [ebp - 0x34]
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100125b9
mov ecx, dword [esi + 0x3c]
add ecx, esi
je 0x100125b9
movzx eax, word [ecx + 0x14]
xor ebx, ebx
add eax, 0x28
add eax, ecx
movzx ecx, word [ecx + 6]
test ecx, ecx
je 0x10012514
mov ebx, dword [eax + 4]
lea eax, [eax + 0x28]
add ebx, dword [eax - 0x28]
sub ecx, 1
jne 0x10012506
push esi
push 0
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor esi, esi
cmp byte [edi + 0x1c], 0
je 0x100125b4
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.1002f1b0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.10013050
add esp, 0x10
push ebx
sub esp, 0xc
mov byte [ebp - 4], 1
mov esi, esp
mov dword [ebp - 0x2c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x44]
je 0x1001259b
push eax
mov ecx, esi
call fcn.10002400
mov edi, dword [esi]
mov esi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x44]
sub esi, eax
push esi
push eax
push edi
call fcn.1008df10
mov ecx, dword [ebp - 0x2c]
lea eax, [esi + edi]
mov edi, dword [ebp - 0x38]
add esp, 0xc
mov dword [ecx + 4], eax
mov ecx, edi
call fcn.10012e00
lea ecx, [ebp - 0x44]
mov esi, eax
call fcn.100024b0
lea ecx, [ebp - 0x28]
call fcn.100013f0
lea eax, [esi + ebx]
jmp 0x100125c6
push esi
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_HeapFree]
or eax, 0xffffffff
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.1008c562
mov esp, ebp
pop ebp
ret
Function at 0x10013190
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
je 0x100131cc
cmp dword [esi + 0x18], 0xf
lea eax, [esi + 4]
jbe 0x100131ab
mov eax, dword [eax]
push 0
push 0
push 3
push 0
push 1
push accept
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x10013342
mov ecx, esi
call fcn.10012460
mov ecx, dword [esi]
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
jns 0x100131ed
cmp ecx, 0xffffffff
je 0x10013342
push ecx
jmp 0x10013336
mov byte [ebp - 1], 0
cmp ecx, 0xffffffff
je 0x1001332e
push 0
push 0
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1001332e
cmp dword [ebp - 8], 1
jne 0x1001332e
mov eax, dword [ebp + 8]
inc ebx
mov cl, byte [ebp - 1]
lea edx, [eax + 4]
push edi
movzx edi, cl
mov byte [eax], cl
inc edi
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ebp + 8], ecx
sub ecx, eax
sar ecx, 2
mov byte [ebp - 2], 0
mov dword [ebp - 0xc], edx
cmp edi, ecx
jae 0x10013264
lea eax, [eax + edi*4]
mov dword [edx + 4], eax
jmp 0x1001329e
jbe 0x1001329e
mov eax, dword [edx + 8]
sub eax, dword [edx]
sar eax, 2
cmp edi, eax
jbe 0x10013280
lea eax, [ebp + 0xb]
mov ecx, edx
push eax
push edi
call fcn.10011ce0
jmp 0x1001329e
sub edi, ecx
shl edi, 2
push edi
push 0
push dword [ebp + 8]
call fcn.1008e490
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, edi
mov dword [ecx + 4], eax
xor edi, edi
mov eax, dword [esi]
mov dword [ebp - 8], 0
cmp eax, 0xffffffff
je 0x1001330a
push 0
push 0
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push 4
lea eax, [ebp - 8]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1001330a
cmp dword [ebp + 8], 4
jne 0x1001330a
mov eax, dword [ebp - 0xc]
add ebx, 4
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [eax + edi*4], ecx
inc edi
movzx eax, byte [ebp - 1]
cmp edi, eax
jbe 0x100132a0
mov bl, byte [ebp - 2]
pop edi
xor bl, 1
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi]
mov bl, 1
cmp eax, 0xffffffff
je 0x10013320
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0xffffffff
pop edi
xor bl, 1
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x10013342
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0xffffffff
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100299b0
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0xf003f
push 0
push 0
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call esi
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov dword [eax], 1
test edi, edi
je 0x10029a4a
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 7
jbe 0x100299ef
mov eax, dword [eax]
push 0x10
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 4], eax
call esi
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov dword [eax], 2
mov eax, dword [ebp - 4]
test eax, eax
je 0x10029a43
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0xc]
test esi, esi
setne bl
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov dword [eax], 3
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002a080
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b87fd
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x100dcd80]
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
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x274], eax
cmp eax, 0xffffffff
jne 0x1002a0c8
xor al, al
jmp 0x1002a25b
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x26c], 0x22c
push ecx
push eax
mov dword [ebp - 0x278], 0
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1002a249
mov esi, dword [ebp + 8]
nop dword [eax]
nop dword [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x248]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1002a120
sub eax, edx
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.10007450
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10029c00
add esp, 8
cmp dword [eax + 0x14], 7
mov edi, dword [eax + 0x10]
jbe 0x1002a161
mov eax, dword [eax]
cmp dword [esi + 0x14], 7
mov edx, esi
mov ecx, dword [esi + 0x10]
jbe 0x1002a16e
mov edx, dword [esi]
cmp ecx, edi
jne 0x1002a188
push ecx
push eax
push edx
call fcn.1002a280
add esp, 0xc
mov byte [ebp - 0x26d], 1
test eax, eax
je 0x1002a18f
mov byte [ebp - 0x26d], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x1002a1c9
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002a1bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a276
push ecx
push edx
call fcn.1008c554
add esp, 8
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 0xffffffff
cmp ecx, 7
jbe 0x1002a21a
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002a210
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a276
push ecx
push edx
call fcn.1008c554
add esp, 8
cmp byte [ebp - 0x26d], 0
jne 0x1002a23f
lea eax, [ebp - 0x26c]
push eax
push dword [ebp - 0x274]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1002a100
jmp 0x1002a249
mov dword [ebp - 0x278], 1
push dword [ebp - 0x274]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x278]
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.1008c562
mov esp, ebp
pop ebp
ret
call fcn.10091b9f
int3
Function at 0x1002a310
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
not eax
push esi
mov esi, dword [ebp + 0x10]
cmp esi, 4
jb 0x1002a387
push edi
mov edi, esi
shr edi, 2
nop word [eax + eax]
movzx ecx, byte [edx]
sub esi, 4
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x100bae30]
movzx ecx, byte [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x100bae30]
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x100bae30]
movzx ecx, byte [edx + 3]
add edx, 4
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x100bae30]
sub edi, 1
jne 0x1002a330
pop edi
test esi, esi
je 0x1002a3aa
nop dword [eax + eax]
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x100bae30]
sub esi, 1
jne 0x1002a390
not eax
pop esi
pop ebp
ret
Function at 0x1002e260
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, ecx
xor ecx, ecx
mov dword [ebp - 0x10], ecx
cmp dword [esi], ecx
jle 0x1002e3b5
mov edx, dword [ebp + 8]
push ebx
push edi
nop dword [eax + eax]
mov edi, dword [edx]
add edi, ecx
mov al, byte [edi]
mov byte [ebp - 0x14], al
mov eax, dword [edx + 4]
mov al, byte [ecx + eax]
mov byte [ebp - 0xc], al
mov eax, dword [edx + 8]
mov al, byte [ecx + eax]
mov byte [ebp - 8], al
mov eax, dword [edx + 0xc]
mov al, byte [ecx + eax]
mov ecx, esi
mov byte [ebp - 4], al
push dword [ebp - 4]
push 9
call fcn.1002e8a0
push dword [ebp - 8]
mov ecx, esi
mov bl, al
push 0xd
call fcn.1002e8a0
push dword [ebp - 0xc]
mov ecx, esi
xor bl, al
push 0xb
call fcn.1002e8a0
push dword [ebp - 0x14]
mov ecx, esi
xor bl, al
push 0xe
call fcn.1002e8a0
push dword [ebp - 4]
xor bl, al
mov ecx, esi
push 0xd
mov byte [edi], bl
call fcn.1002e8a0
push dword [ebp - 8]
mov ecx, esi
mov bl, al
push 0xb
call fcn.1002e8a0
push dword [ebp - 0xc]
mov ecx, esi
xor bl, al
push 0xe
call fcn.1002e8a0
mov edi, dword [ebp - 0x14]
mov ecx, esi
push edi
push 9
xor bl, al
call fcn.1002e8a0
mov ecx, dword [ebp - 0x10]
xor bl, al
mov eax, dword [ebp + 8]
push dword [ebp - 4]
push 0xb
mov eax, dword [eax + 4]
mov byte [ecx + eax], bl
mov ecx, esi
call fcn.1002e8a0
push dword [ebp - 8]
mov ecx, esi
mov bl, al
push 0xe
call fcn.1002e8a0
push dword [ebp - 0xc]
mov ecx, esi
xor bl, al
push 9
call fcn.1002e8a0
push edi
push 0xd
mov ecx, esi
xor bl, al
call fcn.1002e8a0
xor bl, al
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 0x10]
push dword [ebp - 4]
push 0xe
mov byte [ecx + eax], bl
mov ecx, esi
call fcn.1002e8a0
push dword [ebp - 8]
mov ecx, esi
mov bl, al
push 9
call fcn.1002e8a0
push dword [ebp - 0xc]
mov ecx, esi
xor bl, al
push 0xd
call fcn.1002e8a0
push edi
push 0xb
mov ecx, esi
xor bl, al
call fcn.1002e8a0
mov edx, dword [ebp + 8]
xor bl, al
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
mov byte [ecx + eax], bl
inc ecx
mov dword [ebp - 0x10], ecx
cmp ecx, dword [esi]
jl 0x1002e280
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4