joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000d30e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1003e569
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x1004d330]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
cmp byte [ebx], 1
jne 0x1000d345
xor al, al
jmp 0x1000d502
mov byte [ebx], 1
call fcn.10015432
push 0x28
mov dword [ebx + 4], eax
call fcn.10025267
mov esi, eax
pop ecx
mov dword [esp + 0x10], esi
xor edi, edi
mov dword [esp + 0x20], edi
cmp esi, edi
je 0x1000d37d
lea eax, [esi + 8]
push eax
mov dword [esi], vtable.CPatchScanner.0
call fcn.10009d15
mov byte [esi + 4], 0
jmp 0x1000d37f
xor esi, esi
or dword [esp + 0x20], 0xffffffff
push ebx
call fcn.1000d7d0
push 8
call fcn.10025267
pop ecx
cmp eax, edi
je 0x1000d3a2
mov dword [eax], vtable.CGuestScanner.0
mov byte [eax + 4], 0
jmp 0x1000d3a4
xor eax, eax
push ebx
mov esi, eax
call fcn.1000d7d0
push 8
call fcn.10025267
pop ecx
cmp eax, edi
je 0x1000d3c0
mov dword [eax], vtable.CFirewallScanner.0
jmp 0x1000d3c2
xor eax, eax
push ebx
mov esi, eax
call fcn.1000d7d0
push 0x48
call fcn.10025267
mov esi, eax
pop ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x20], 1
cmp esi, edi
je 0x1000d403
lea eax, [esi + 8]
push eax
mov dword [esi], vtable.CServicesScanner.0
call fcn.10009d15
lea eax, [esi + 0x28]
push eax
mov byte [esp + 0x24], 2
call fcn.10009d15
jmp 0x1000d405
xor esi, esi
or dword [esp + 0x20], 0xffffffff
push ebx
call fcn.1000d7d0
push 0x28
call fcn.10025267
pop ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 3
cmp eax, edi
je 0x1000d433
mov edi, eax
call fcn.10007989
xor edi, edi
jmp 0x1000d435
xor eax, eax
or dword [esp + 0x20], 0xffffffff
push ebx
mov esi, eax
call fcn.1000d7d0
push 0x48
call fcn.10025267
pop ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 4
cmp eax, edi
je 0x1000d462
push eax
call fcn.1000b07b
jmp 0x1000d464
xor eax, eax
or dword [esp + 0x20], 0xffffffff
push ebx
mov esi, eax
call fcn.1000d7d0
push 0x40
call fcn.10025267
pop ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 5
cmp eax, edi
je 0x1000d491
push eax
call fcn.10011c08
jmp 0x1000d493
xor eax, eax
or dword [esp + 0x20], 0xffffffff
push ebx
mov esi, eax
call fcn.1000d7d0
push 0x3c
call fcn.10025267
pop ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 6
cmp eax, edi
je 0x1000d4c0
push eax
call fcn.1000d170
jmp 0x1000d4c2
xor eax, eax
or dword [esp + 0x20], 0xffffffff
push ebx
mov esi, eax
call fcn.1000d7d0
push 8
call fcn.10025267
pop ecx
cmp eax, edi
je 0x1000d4e3
mov dword [eax], vtable.CPwdScanner.0
jmp 0x1000d4e5
xor eax, eax
push ebx
mov esi, eax
call fcn.1000d7d0
push edi
push edi
push edi
push 0x1000e65f
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 0x48], eax
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10010196
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1003d6ba
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x1004d330]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
mov eax, dword [0x1004d330]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
mov edx, str.params
mov esi, ecx
call fcn.1001b690
push eax
lea ebx, [esp + 0x38]
call fcn.1001a624
and dword [esp + 0xd0], 0
cmp byte [esp + 0x3c], 7
je 0x10010236
or dword [esp + 0xd0], 0xffffffff
mov esi, ebx
call fcn.1001a7b8
xor al, al
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.100251b7
mov esp, ebp
pop ebp
ret 4
lea eax, [esp + 0x34]
push eax
mov edx, str.services
mov byte [esi + 4], 1
call fcn.1001b6f3
push eax
lea ebx, [esp + 0x20]
call fcn.1001a624
mov byte [esp + 0xd0], 1
cmp byte [esp + 0x24], 6
je 0x1001028a
xor bl, bl
lea esi, [esp + 0x1c]
mov byte [esp + 0xd0], 0
call fcn.1001a7b8
or dword [esp + 0xd0], 0xffffffff
lea esi, [esp + 0x34]
call fcn.1001a7b8
mov al, bl
jmp 0x10010210
lea edi, [esi + 8]
mov dword [esp + 0x14], edi
call fcn.100060a6
add esi, 0x28
mov edi, esi
mov dword [esp + 0x10], esi
call fcn.100060a6
lea eax, [esp + 0x1c]
xor edi, edi
call fcn.1001b177
test eax, eax
je 0x100103c3
push edi
lea eax, [esp + 0x20]
push eax
call fcn.1001b1c7
mov ebx, eax
push ebx
mov edx, str.state
call fcn.1001b690
mov esi, eax
call fcn.1001aa9d
push ebx
mov edx, str.name
mov dword [esp + 0x1c], eax
call fcn.1001b690
push eax
lea ecx, [esp + 0x8c]
call fcn.1001a9a6
push eax
lea ecx, [esp + 0xa8]
mov byte [esp + 0xd4], 2
call fcn.100012c1
pop ecx
push 0
push 1
lea ecx, [esp + 0x90]
mov byte [esp + 0xd8], 4
call fcn.10003fff
lea eax, [esp + 0x60]
lea ecx, [esp + 0xa4]
call fcn.10009ccf
mov esi, eax
lea eax, [esp + 0x58]
lea ecx, [esp + 0xa4]
call fcn.10009cef
mov ebx, eax
lea eax, [esp + 0x68]
lea ecx, [esp + 0xa4]
call fcn.10009ccf
push dword [esi + 4]
push dword [esi]
push dword [ebx + 4]
push dword [ebx]
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x68]
push eax
call fcn.1000a99c
add esp, 0x1c
cmp dword [esp + 0x18], 1
lea eax, [esp + 0xa4]
push eax
jne 0x1001038c
push dword [esp + 0x18]
lea ebx, [esp + 0x84]
jmp 0x10010394
push dword [esp + 0x14]
lea ebx, [esp + 0x78]
call fcn.10003ab3
push 0
push 1
lea esi, [esp + 0xac]
mov byte [esp + 0xd8], 1
call fcn.100041a3
lea eax, [esp + 0x1c]
inc edi
call fcn.1001b177
cmp edi, eax
jne 0x100102b7
mov bl, 1
jmp 0x10010264
Function at 0x100106d6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1003cd67
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push esi
push edi
mov eax, dword [0x1004d330]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp byte [esi + 4], bl
jne 0x10010718
xor al, al
jmp 0x100108f5
lea eax, [esp + 0x58]
push eax
call fcn.100089af
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0xbc], ebx
call fcn.100089af
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x5c]
push eax
mov ecx, esi
mov byte [esp + 0xc0], 1
call fcn.100103ca
cmp dword [esp + 0x70], ebx
jne 0x10010763
cmp dword [esp + 0x54], ebx
jne 0x10010763
mov eax, dword [ebp + 8]
mov dword [eax], 1
jmp 0x10010768
mov eax, dword [ebp + 8]
mov dword [eax], ebx
lea eax, [esp + 0x20]
push eax
call fcn.100089af
mov byte [esp + 0xb8], 2
mov eax, dword [esp + 0x6c]
mov eax, dword [eax]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x58]
lea edi, [esp + 0x18]
lea esi, [esp + 0x10]
mov dword [esp + 0x18], eax
call fcn.10003a6e
test al, al
je 0x100107c3
call fcn.10003e8d
push eax
lea eax, [esp + 0x24]
call fcn.10009e5b
call fcn.100111ee
jmp 0x1001078c
cmp dword [esp + 0x38], ebx
je 0x10010829
push 0x10042e2c
lea esi, [esp + 0x78]
call fcn.10003889
mov eax, esi
push eax
lea edx, [esp + 0x24]
lea ecx, [esp + 0x94]
mov byte [esp + 0xbc], 3
call fcn.100078af
push 0xffffffffffffffff
push dword [ebp + 0xc]
xor ebx, ebx
mov byte [esp + 0xc0], 4
call fcn.1000404a
push ebx
push 1
lea esi, [esp + 0x98]
call fcn.100041a3
push ebx
push 1
lea esi, [esp + 0x7c]
mov byte [esp + 0xc0], 2
call fcn.100041a3
lea edi, [esp + 0x20]
call fcn.100083f3
mov eax, dword [esp + 0x50]
mov eax, dword [eax]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x3c]
lea edi, [esp + 0x18]
lea esi, [esp + 0x10]
mov dword [esp + 0x18], eax
call fcn.10003a6e
test al, al
je 0x1001087b
call fcn.10003e8d
push eax
lea eax, [esp + 0x24]
call fcn.10009e5b
call fcn.100111ee
jmp 0x10010844
cmp dword [esp + 0x38], ebx
je 0x100108d8
push 0x10042e44
lea esi, [esp + 0x78]
call fcn.10003889
mov eax, esi
push eax
lea edx, [esp + 0x24]
lea ecx, [esp + 0x94]
mov byte [esp + 0xbc], 5
call fcn.100078af
mov esi, dword [ebp + 0xc]
push 0xffffffffffffffff
push ebx
mov byte [esp + 0xc0], 6
call fcn.10004c3d
push ebx
push 1
lea esi, [esp + 0x98]
call fcn.100041a3
push ebx
push 1
lea esi, [esp + 0x7c]
call fcn.100041a3
lea eax, [esp + 0x20]
call fcn.10007f7b
lea eax, [esp + 0x3c]
call fcn.10007f7b
lea eax, [esp + 0x58]
call fcn.10007f7b
mov al, 1
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10013e9d
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa94
mov eax, dword [0x1004d330]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x1c]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xa88], ecx
mov ecx, dword [ebp + 0x18]
push edi
mov dword [ebp - 0xa84], eax
mov dword [ebp - 0xa80], ecx
mov dword [ebp - 0xa8c], edx
test esi, esi
je 0x100140c2
test eax, eax
jne 0x10013eee
test ecx, ecx
je 0x100140c2
movzx eax, word [esi + 2]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp ax, 0x3a
je 0x10013f44
cmp ax, 0x5c
je 0x10013f44
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x828], ax
lea eax, [ebp - 0x826]
push eax
call fcn.10028410
add esp, 0xc
lea eax, [ebp - 0x828]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push esi
lea eax, [ebp - 0x828]
push eax
call edi
lea esi, [ebp - 0x828]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100140c2
test al, 0x10
je 0x100140c2
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
lea eax, [ebp - 0x418]
push eax
call ebx
push 0x100419a4
lea eax, [ebp - 0x418]
push eax
call edi
lea eax, [ebp - 0xa78]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xa90], eax
cmp eax, 0xffffffff
je 0x100140c2
mov dword [ebp - 0xa7c], 1
push 0x10042884
lea eax, [ebp - 0xa4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x10014087
push 0x10041e34
lea eax, [ebp - 0xa4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x10014087
cmp dword [ebp - 0xa78], 0xffffffff
je 0x10014087
push esi
lea eax, [ebp - 0x210]
push eax
call ebx
lea eax, [ebp - 0xa4c]
push eax
lea eax, [ebp - 0x210]
push eax
call edi
test byte [ebp - 0xa78], 0x10
je 0x10014067
cmp dword [ebp - 0xa80], 0
je 0x1001402b
push dword [ebp - 0xa8c]
lea eax, [ebp - 0x210]
push eax
call dword [ebp - 0xa80]
test eax, eax
je 0x100140a4
cmp dword [ebp + 0xc], 0
je 0x10014087
push dword [ebp - 0xa8c]
lea eax, [ebp - 0x210]
push dword [ebp - 0xa80]
push dword [ebp - 0xa88]
push dword [ebp - 0xa84]
push dword [ebp + 0xc]
push eax
call fcn.10013e9d
push 2
pop ecx
cmp eax, ecx
jne 0x10014087
mov dword [ebp - 0xa7c], ecx
jmp 0x100140ae
cmp dword [ebp - 0xa84], 0
je 0x10014087
push dword [ebp - 0xa88]
lea eax, [ebp - 0x210]
push eax
call dword [ebp - 0xa84]
test eax, eax
je 0x100140a4
lea eax, [ebp - 0xa78]
push eax
push dword [ebp - 0xa90]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10013fa7
jmp 0x100140ae
mov dword [ebp - 0xa7c], 2
push dword [ebp - 0xa90]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0xa7c]
jmp 0x100140c4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100251b7
leave
ret 0x18
Function at 0x100140d5
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x1004d330]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
cmp edi, ebx
je 0x100141cf
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jge 0x100141cf
xor eax, eax
push 0x206
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.10028410
add esp, 0xc
lea esi, [ebp - 0x210]
mov ecx, edi
call fcn.100146e7
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1001414c
shr eax, 4
not eax
and eax, 1
jmp 0x100141d1
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea esi, [ebp - 0x418]
call fcn.100141df
test eax, eax
je 0x100141cf
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x10000000
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x420], eax
cmp eax, ebx
je 0x100141b1
mov dword [ebp - 0x41c], 1
cmp eax, 0xffffffff
jne 0x100141b7
mov dword [ebp - 0x41c], ebx
lea eax, [ebp - 0x420]
call fcn.1000cd30
xor eax, eax
cmp byte [ebp - 0x41c], bl
setne al
jmp 0x100141d1
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.100251b7
leave
ret
Function at 0x1001466e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x108
mov eax, dword [0x1004d330]
xor eax, ebp
mov dword [ebp + 0x84], eax
push esi
push 0x103
lea eax, [ebp - 0x7f]
push 0
push eax
mov byte [ebp - 0x80], 0
call fcn.10028410
add esp, 0xc
push 0x104
lea esi, [ebp - 0x80]
call fcn.100145e2
mov eax, 0x179b06cc
xor ecx, ecx
movzx edx, byte [ebp + ecx - 0x80]
movzx esi, al
xor edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x1004f238]
inc ecx
cmp ecx, 0x24
jl 0x100146b5
mov ecx, dword [ebp + 0x84]
xor ecx, ebp
not eax
pop esi
call fcn.100251b7
add ebp, 0x88
leave
ret

Function at 0x10014797
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x1004d330]
xor eax, ebp
mov dword [ebp + 0x19c], eax
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], ebx
test edi, edi
je 0x1001486e
test ebx, ebx
je 0x1001486e
mov esi, str.deviceMup_
push esi
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
cmp eax, edi
jne 0x100147f3
push ebx
push 0x10043300
push esi
mov eax, edi
call fcn.100155c6
xor eax, eax
inc eax
jmp 0x10014870
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x80], eax
xor ebx, ebx
xor eax, eax
inc eax
mov ecx, ebx
shl eax, cl
mov ecx, dword [ebp - 0x80]
test ecx, eax
je 0x10014868
push 0x3a
lea eax, [ebx + 0x61]
mov word [ebp + 0x194], ax
pop eax
mov word [ebp + 0x196], ax
xor eax, eax
push 0x206
lea edi, [ebp + 0x198]
push eax
stosd dword es:[edi], eax
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push eax
call fcn.10028410
add esp, 0xc
push 0x104
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x194]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jbe 0x10014868
push dword [ebp - 0x78]
lea esi, [ebp - 0x74]
call fcn.100156c2
test eax, eax
jne 0x10014888
inc ebx
cmp ebx, 0x1a
jl 0x100147fe
xor eax, eax
mov ecx, dword [ebp + 0x19c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100251b7
add ebp, 0x1a0
leave
ret
push dword [ebp - 0x7c]
lea eax, [ebp + 0x194]
push eax
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x78]
jmp 0x100147e9

Function at 0x10014cd9
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x434
mov eax, dword [0x1004d330]
xor eax, esp
mov dword [esp + 0x430], eax
mov eax, fcn.1001521b
push esi
test eax, eax
je 0x10014d66
push 0x424
lea eax, [esp + 0x10]
push 0
push eax
call fcn.10028410
add esp, 0xc
push dword [ebp + 8]
mov dword [esp + 0xc], 0x428
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 4], esi
test esi, esi
je 0x10014d5d
cmp esi, 0xffffffff
je 0x10014d5d
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
jmp 0x10014d59
push edi
lea eax, [esp + 0xc]
push eax
call fcn.1001521b
test eax, eax
je 0x10014d5d
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x10014d3f
lea eax, [esp + 4]
call fcn.1000cd30
mov ecx, dword [esp + 0x434]
pop esi
xor ecx, esp
call fcn.100251b7
mov esp, ebp
pop ebp
ret 4
Function at 0x10014d7b
Capabilities:
Enumerate processes

Disassembly:
push ebp
sub esp, 0x22c
lea ebp, [esp - 4]
mov eax, dword [0x1004d330]
xor eax, ebp
mov dword [ebp + 0x22c], eax
push 8
mov eax, 0x1003a7cd
call fcn.100265e1
mov eax, dword [ebp + 0x238]
mov dword [ebp - 0x14], eax
test edi, edi
je 0x10014e10
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
test esi, esi
je 0x10014e08
cmp esi, 0xffffffff
je 0x10014e08
push 0x228
lea eax, [ebp + 4]
push 0
push eax
mov dword [ebp], 0x22c
call fcn.10028410
add esp, 0xc
lea eax, [ebp]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x10014e04
push dword [ebp - 0x14]
lea eax, [ebp]
push eax
call edi
test eax, eax
je 0x10014e08
lea eax, [ebp]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10014ded
lea eax, [ebp - 0x10]
call fcn.1000cd30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x22c]
xor ecx, ebp
call fcn.100251b7
add ebp, 0x230
leave
ret 4

Function at 0x10014e35
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
xor esi, esi
push edi
cmp dword [ebp + 8], esi
jne 0x10014e48
xor eax, eax
jmp 0x10014ea1
push 0x40
lea eax, [ebp - 0x58]
push esi
push eax
mov dword [ebp - 0x5c], 0x44
call fcn.10028410
mov dword [ebp - 0x14], esi
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
add esp, 0xc
call fcn.10013e63
mov edi, eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x5c]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10014e99
push dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.10013e90
mov eax, esi
pop edi
pop esi
leave
ret 4

Function at 0x1001502b
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1004d330]
xor eax, ebp
mov dword [ebp - 4], eax
test edi, edi
jne 0x10015052
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100251b7
leave
ret 4
push esi
push dword [ebp + 8]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x210], esi
test esi, esi
je 0x10015074
cmp esi, 0xffffffff
jne 0x10015086
xor esi, esi
lea eax, [ebp - 0x210]
call fcn.1000cd30
mov eax, esi
pop esi
jmp 0x10015044
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.10028410
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
jbe 0x10015074
mov edx, edi
lea ecx, [ebp - 0x20c]
call fcn.10014797
xor esi, esi
inc esi
jmp 0x10015076
Function at 0x100150cc
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp + 8], eax
jne 0x100150df
xor eax, eax
inc eax
jmp 0x10015111
push esi
push dword [ebp + 8]
xor esi, esi
push esi
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp + 8], eax
cmp eax, esi
je 0x10015106
cmp eax, 0xffffffff
je 0x10015106
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esi, eax
lea eax, [ebp + 8]
call fcn.1000cd30
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x100159e7
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x10015a46
push 0xf003f
push edi
push edi
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0xc], eax
cmp eax, edi
je 0x10015a3e
push 0x10
push dword [ebp + 8]
lea esi, [ebp - 0xc]
call fcn.10015999
cmp dword [ebp - 0xc], edi
je 0x10015a3e
push edi
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x10015a3b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
jne 0x10015a3e
xor edi, edi
inc edi
lea eax, [ebp - 0xc]
call fcn.100159c7
mov eax, edi
pop edi
pop esi
leave
ret 4

Function at 0x10015a4e
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x10015ac6
push 0xf003f
push ebx
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x10015abe
push esi
push 0xf01ff
push dword [ebp + 8]
lea esi, [ebp - 8]
call fcn.10015999
pop esi
cmp dword [ebp - 8], ebx
je 0x10015abe
push edi
push 6
pop ecx
xor eax, eax
mov dword [ebp - 0x24], ebx
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
pop edi
test eax, eax
je 0x10015abe
lea eax, [ebp - 0x24]
push eax
push 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x10015abe
inc ebx
lea eax, [ebp - 8]
call fcn.100159c7
mov eax, ebx
pop ebx
leave
ret 4
Function at 0x10015acd
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x1004d330]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
push ebx
lea eax, [ebp - 0x80]
push eax
push dword [ebp + 0x198]
xor ebx, ebx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x10015b3e
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
call fcn.10028410
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x10015b3e
push 0x104
lea eax, [ebp - 0x7c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
inc ebx
cmp dword [ebp - 0x80], 0
je 0x10015b4d
push dword [ebp - 0x80]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp + 0x18c]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.100251b7
add ebp, 0x190
leave
ret 4

Function at 0x1002344e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1004d330]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x210], 0
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
mov esi, ecx
call fcn.10028410
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp dword [ebp + 8], 1
jne 0x100234a8
push str.projonepodlp
jmp 0x100234b3
cmp dword [ebp + 8], 2
jne 0x100234db
push str.projonepotcm
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test edi, edi
je 0x100234d2
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
jmp 0x100234e0
push 0x10041984
call fcn.10003889
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.100251b7
leave
ret

Function at 0x10023941
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2028
call fcn.10036cd0
mov eax, dword [0x1004d330]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
call fcn.10023a24
test al, al
je 0x10023a17
xor eax, eax
mov word [ebp - 0x80c], ax
mov word [ebp - 0x100c], ax
push str.__ls__ls
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x10044414
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [ebp - 0x2028]
push eax
call fcn.10023866
cmp dword [eax + 0x18], 8
pop ecx
jb 0x100239b2
mov eax, dword [eax + 4]
jmp 0x100239b5
add eax, 4
push dword [ebp + 8]
push eax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x100c]
push 0x400
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x14
push 0
push 1
lea esi, [ebp - 0x2028]
call fcn.100041a3
xor eax, eax
mov word [ebp - 0x200c], ax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x100c]
push eax
push 0x800
lea eax, [ebp - 0x200c]
push eax
call dword [sym.imp.SHLWAPI.dll_wvnsprintfW]
lea eax, [ebp - 0x200c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.100251b7
leave
ret