joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10038020
Capabilities:
Get routing table

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c2c30
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100f7084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
call fcn.10036fd0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x3c]
call fcn.1004a660
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], 0x3c
mov dword [ebp - 0x1c], 0x7a
cmp dword [ebp - 0x1c], 0x7a
jne 0x100380ad
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.1003c200
lea ecx, [ebp - 0x3c]
call fcn.1006b790
mov dword [ebp - 0x14], eax
push 1
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call sub.IPHLPAPI.DLL_GetIpForwardTable
mov dword [ebp - 0x1c], eax
jmp 0x1003807c
cmp dword [ebp - 0x1c], 0
je 0x100380e8
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.10036fa0
mov ecx, dword [ebp - 0x18]
or ecx, 1
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.10062ab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10037140
mov eax, dword [ebp + 8]
jmp 0x1003815f
mov dword [ebp - 0x10], 0
jmp 0x100380fa
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax]
jae 0x1003812c
imul edx, dword [ebp - 0x10], 0x38
mov eax, dword [ebp - 0x14]
cmp dword [eax + edx + 4], 0
jne 0x1003812a
imul ecx, dword [ebp - 0x10], 0x38
mov edx, dword [ebp - 0x14]
lea eax, [edx + ecx + 0x14]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10036d60
jmp 0x100380f1
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 8]
call fcn.10036fa0
mov eax, dword [ebp - 0x18]
or eax, 1
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.10062ab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10037140
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x10038f50
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c2d90
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x100f7084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x274], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x270], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
call fcn.1002d7f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.1002d970
mov byte [ebp - 4], 1
push fcn.100accb5
lea ecx, [ebp - 0x280]
push ecx
lea ecx, [ebp - 0x40]
call fcn.10032210
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x284]
push eax
lea ecx, [ebp - 0x40]
call fcn.10033780
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x288]
push edx
lea ecx, [ebp - 0x40]
call fcn.10032210
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x28c]
push ecx
call fcn.1002d130
add esp, 0x14
mov dword [ebp - 0x26c], 0x22c
lea edx, [ebp - 0x26c]
push edx
mov eax, dword [ebp - 0x270]
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x1003904e
mov dword [ebp - 0x278], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.1000c290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.1000c290
mov eax, dword [ebp - 0x278]
jmp 0x1003913e
mov ecx, 1
test ecx, ecx
je 0x10039104
mov dword [ebp - 0x26c], 0x22c
lea edx, [ebp - 0x26c]
push edx
mov eax, dword [ebp - 0x270]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10039081
jmp 0x10039104
lea ecx, [ebp - 0x248]
push ecx
lea ecx, [ebp - 0x28]
call fcn.1002e340
push fcn.100accb5
lea edx, [ebp - 0x290]
push edx
lea ecx, [ebp - 0x28]
call fcn.10032210
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x294]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10033780
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x298]
push eax
lea ecx, [ebp - 0x28]
call fcn.10032210
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x29c]
push edx
call fcn.1002d130
add esp, 0x14
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.10035ef0
add esp, 8
movzx edx, al
test edx, edx
je 0x100390ff
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x274], eax
jmp 0x10039104
jmp 0x1003904e
mov ecx, dword [ebp - 0x270]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x274]
mov dword [ebp - 0x27c], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.1000c290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.1000c290
mov eax, dword [ebp - 0x27c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10086b0f
mov esp, ebp
pop ebp
ret
Function at 0x10039160
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
push 0x100ce18c
push 0x100ce1ac
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100391ac
lea ecx, [ebp - 0x2c]
push ecx
call dword [ebp - 4]
jmp 0x100391b6
lea edx, [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [ebp - 0x2c]
cmp eax, 9
jne 0x100391c8
mov dword [ebp - 8], 1
jmp 0x100391cf
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x10039400
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x100f7084]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x234], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0xffffffff
jne 0x1003943a
jmp 0x1003950f
mov dword [ebp - 0x230], 0x22c
push 0x228
push 0
lea eax, [ebp - 0x22c]
push eax
call fcn.1009ee30
add esp, 0xc
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x234]
push edx
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x10039502
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call fcn.10035f20
add esp, 8
movzx edx, al
test edx, edx
je 0x100394e4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x228], eax
je 0x100394e4
mov eax, dword [ebp - 0x228]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x100394e4
push 0
mov ecx, dword [ebp - 0x238]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [ebp - 0x238]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x234]
push ecx
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 0x23c], eax
jmp 0x10039473
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10086b0f
mov esp, ebp
pop ebp
ret
Function at 0x10039f70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c2ee1
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x100f7084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x230]
call fcn.1002d970
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.1009ee30
add esp, 0xc
push 0x104
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x1003a006
mov byte [ebp - 0x262], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.1000c290
mov al, byte [ebp - 0x262]
jmp 0x1003a186
push 0x100cd698
lea ecx, [ebp - 0x230]
call fcn.1002e340
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.1002e890
push 0x100cd69c
lea ecx, [ebp - 0x230]
call fcn.1002e890
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x230]
call fcn.1002e870
mov byte [ebp - 0x261], 0
call fcn.100393a0
movzx edx, al
test edx, edx
je 0x1003a0f7
mov dword [ebp - 0x26c], 0
lea eax, [ebp - 0x26c]
push eax
call fcn.1003a840
add esp, 4
test eax, eax
je 0x1003a0f5
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x248]
call fcn.10007e50
mov byte [ebp - 4], 1
push 1
lea edx, [ebp - 0x248]
push edx
push 0
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x270], esp
lea eax, [ebp - 0x230]
push eax
call fcn.1002d7f0
mov dword [ebp - 0x274], eax
push 0
call fcn.1003a310
add esp, 0x2c
mov byte [ebp - 0x263], al
mov cl, byte [ebp - 0x263]
mov byte [ebp - 0x261], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.1000c290
mov edx, dword [ebp - 0x26c]
push edx
call fcn.1003a880
add esp, 4
jmp 0x1003a162
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x260]
call fcn.10007e50
mov byte [ebp - 4], 2
push 1
lea ecx, [ebp - 0x260]
push ecx
push 0
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x278], esp
lea edx, [ebp - 0x230]
push edx
call fcn.1002d7f0
mov dword [ebp - 0x27c], eax
push 0
call fcn.1003a310
add esp, 0x2c
mov byte [ebp - 0x264], al
mov al, byte [ebp - 0x264]
mov byte [ebp - 0x261], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x260]
call fcn.1000c290
mov cl, byte [ebp - 0x261]
mov byte [ebp - 0x265], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.1000c290
mov al, byte [ebp - 0x265]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10086b0f
mov esp, ebp
pop ebp
ret
Function at 0x1003a310
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 0x68], 0
push 0x40
push 0
lea eax, [ebp - 0x64]
push eax
call fcn.1009ee30
add esp, 0xc
mov dword [ebp - 0x68], 0x44
mov dword [ebp - 0x3c], 1
mov cx, word [ebp + 0x24]
mov word [ebp - 0x38], cx
movzx edx, word [ebp + 0x24]
test edx, edx
jne 0x1003a356
mov eax, dword [ebp + 0x28]
or eax, 0x8000000
mov dword [ebp + 0x28], eax
cmp dword [ebp + 8], 0
je 0x1003a364
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
jmp 0x1003a36a
lea edx, [ebp - 0x24]
mov dword [ebp - 8], edx
mov ecx, dword [ebp + 0x2c]
call fcn.10021b60
movzx eax, al
test eax, eax
je 0x1003a382
mov dword [ebp - 0xc], 0
jmp 0x1003a38d
mov ecx, dword [ebp + 0x2c]
call fcn.10049c40
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
push ecx
lea edx, [ebp - 0x68]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 0x28]
push ecx
push 0
push 0
push 0
lea ecx, [ebp + 0xc]
call fcn.10049c40
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x1003a3ed
cmp dword [ebp + 8], 0
jne 0x1003a3ed
movzx edx, byte [ebp + 0x30]
test edx, edx
je 0x1003a3d9
push 0xffffffffffffffff
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x10], 0
je 0x1003a3fc
mov dword [ebp - 0x14], 1
jmp 0x1003a403
mov dword [ebp - 0x14], 0
mov al, byte [ebp - 0x14]
mov byte [ebp - 1], al
lea ecx, [ebp + 0xc]
call fcn.1000c290
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x1003a740
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x100f7084]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x30], 0
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x1003a788
jmp 0x1003a803
push 0xf01ff
mov ecx, dword [ebp + 8]
call fcn.10049c40
push eax
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x1003a7ad
jmp 0x1003a803
mov dword [ebp - 0x2c], 0
jmp 0x1003a7bf
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 2
jge 0x1003a7ef
lea edx, [ebp - 0x20]
push edx
push 1
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x1003a7e2
mov dword [ebp - 0x30], 1
jmp 0x1003a7ef
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1003a7b6
cmp dword [ebp - 0x30], 0
jne 0x1003a7f9
jmp 0x1003a803
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
cmp dword [ebp - 0x24], 0
je 0x1003a813
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [ebp - 0x28], 0
je 0x1003a823
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10086b0f
mov esp, ebp
pop ebp
ret
Function at 0x10043250
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x10043274
mov dword [ebp - 4], 1
jmp 0x1004327b
mov dword [ebp - 4], 0
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x10043290
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.10043200
test eax, eax
je 0x100432a7
xor eax, eax
jmp 0x100432d5
mov eax, dword [ebp - 4]
add eax, 0x20
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
push 0x10042b40
push 0
push 0
call fcn.100ad205
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1c], eax
mov ecx, dword [ebp - 4]
call fcn.10043200
mov esp, ebp
pop ebp
ret 4

Function at 0x100432e0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x10043304
mov dword [ebp - 4], 1
jmp 0x1004330b
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x10048570
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c3516
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x100f7084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x454], 0
xor eax, eax
mov word [ebp - 0x420], ax
push 0x206
push 0
lea ecx, [ebp - 0x41e]
push ecx
call fcn.1009ee30
add esp, 0xc
push 0x104
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x100485fe
push 0x100d036c
mov ecx, dword [ebp + 8]
call fcn.10007e50
mov eax, dword [ebp - 0x454]
or eax, 1
mov dword [ebp - 0x454], eax
mov eax, dword [ebp + 8]
jmp 0x10048731
push str.drivers_
lea ecx, [ebp - 0x438]
call fcn.10007e50
mov dword [ebp - 4], 0
call fcn.1003ff40
add eax, 0x124
push eax
lea ecx, [ebp - 0x450]
push ecx
call fcn.1002f210
add esp, 8
mov dword [ebp - 0x458], eax
mov edx, dword [ebp - 0x458]
mov dword [ebp - 0x45c], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x45c]
push eax
lea ecx, [ebp - 0x438]
call fcn.1002e870
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x450]
call fcn.1000c290
push 0x100d0384
lea ecx, [ebp - 0x438]
call fcn.1002e890
xor ecx, ecx
mov word [ebp - 0x218], cx
push 0x206
push 0
lea edx, [ebp - 0x216]
push edx
call fcn.1009ee30
add esp, 0xc
push 0x104
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea ecx, [ebp - 0x438]
call fcn.10049c40
push eax
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
jne 0x100486fe
push 0x100d0390
mov ecx, dword [ebp + 8]
call fcn.10007e50
mov eax, dword [ebp - 0x454]
or eax, 1
mov dword [ebp - 0x454], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.1000c290
mov eax, dword [ebp + 8]
jmp 0x10048731
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10007e50
mov edx, dword [ebp - 0x454]
or edx, 1
mov dword [ebp - 0x454], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.1000c290
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10086b0f
mov esp, ebp
pop ebp
ret
Function at 0x10048750
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c2848
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100f7084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x28]
push eax
call fcn.10048570
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10021b60
movzx ecx, al
test ecx, ecx
je 0x100487cb
push 0x100d0364
mov ecx, dword [ebp + 8]
call fcn.10007e50
mov edx, dword [ebp - 0x2c]
or edx, 1
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1000c290
mov eax, dword [ebp + 8]
jmp 0x1004882f
lea ecx, [ebp - 0x28]
call fcn.10049c40
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10048808
push 0x100d0368
mov ecx, dword [ebp + 8]
call fcn.10007e50
mov eax, dword [ebp - 0x2c]
or eax, 1
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1000c290
mov eax, dword [ebp + 8]
jmp 0x1004882f
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp + 8]
call fcn.1000c210
mov edx, dword [ebp - 0x2c]
or edx, 1
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1000c290
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10086b0f
mov esp, ebp
pop ebp
ret
Function at 0x10048e50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c3648
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x100f7084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x28]
call fcn.10005e50
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
push 0x100d03a8
mov ecx, dword [ebp - 0x44]
call fcn.10049c40
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.100aa46e
add esp, 0xc
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x10048ee7
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10005d60
mov edx, dword [ebp - 0x38]
or edx, 1
mov dword [ebp - 0x38], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10005f30
mov eax, dword [ebp + 8]
jmp 0x10048fe2
mov eax, dword [ebp - 0x30]
push eax
call fcn.100ad485
add esp, 4
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.100ad5ea
add esp, 4
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.1000feb0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], 0
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.100ad42f
add esp, 4
test eax, eax
jne 0x10048f6f
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x34]
push eax
push 1
lea ecx, [ebp - 0x28]
call fcn.10007050
add eax, dword [ebp - 0x34]
push eax
call fcn.100aa782
add esp, 0x10
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x10048f64
jmp 0x10048f6f
mov ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x34], ecx
jmp 0x10048f28
mov edx, dword [ebp - 0x34]
push edx
lea ecx, [ebp - 0x28]
call fcn.1000feb0
mov byte [ebp - 0x29], 1
mov eax, dword [ebp - 0x30]
push eax
call fcn.100ad45a
add esp, 4
test eax, eax
je 0x10048f9f
mov byte [ebp - 0x29], 0
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.100ad37f
add esp, 4
mov edx, dword [ebp - 0x30]
push edx
call fcn.100aa536
add esp, 4
movzx eax, byte [ebp - 0x29]
test eax, eax
jne 0x10048fbb
lea ecx, [ebp - 0x28]
call fcn.1001ede0
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10005d60
mov edx, dword [ebp - 0x38]
or edx, 1
mov dword [ebp - 0x38], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10005f30
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10086b0f
mov esp, ebp
pop ebp
ret 4
Function at 0x10049000
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
jne 0x1004900e
jmp 0x10049055
push 0x100d02e4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10049024
jmp 0x1004904b
push str.GetNativeSystemInfo
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1004903e
jmp 0x1004904b
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 8]
jmp 0x10049055
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esp, ebp
pop ebp
ret
Function at 0x10049600
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x100f7084]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x1004963f
jmp 0x1004969a
push 0xf01ff
mov ecx, dword [ebp + 8]
call fcn.10049c40
push eax
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10049662
jmp 0x1004969a
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
lea edx, [ebp - 0x20]
push edx
push 1
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x1004968f
jmp 0x1004969a
mov dword [ebp - 0x2c], 1
xor ecx, ecx
jne 0x10049625
cmp dword [ebp - 0x24], 0
je 0x100496aa
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [ebp - 0x28], 0
je 0x100496ba
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10086b0f
mov esp, ebp
pop ebp
ret

Function at 0x1004b750
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x100f7084]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0xffffffff
jne 0x1004b783
or eax, 0xffffffff
jmp 0x1004b820
mov dword [ebp - 0x230], 0x22c
push 0x228
push 0
lea eax, [ebp - 0x22c]
push eax
call fcn.1009ee30
add esp, 0xc
mov dword [ebp - 0x23c], 0xffffffff
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x234]
push edx
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 0x238], eax
jmp 0x1004b7e1
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x234]
push ecx
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x1004b80d
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1004b80b
mov dword [ebp - 0x23c], 0
jmp 0x1004b80d
jmp 0x1004b7c8
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x23c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10086b0f
mov esp, ebp
pop ebp
ret