joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40905e
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 0xc], 0
jne 0x409075
mov eax, 0x80070057
mov esp, ebp
pop ebp
ret 8
push esi
push edi
lea eax, [ebp - 0xc]
mov byte [ebp - 8], 1
push eax
xor esi, esi
push 0x405646
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4090a0
mov edi, 0x80004005
jmp 0x4090db
lea ecx, [ebp - 4]
push ecx
push 0
push 0x406484
push eax
push method.Ofc::TMap_unsigned_long_int__void__.virtual_8
call fcn.004053eb
mov esi, dword [ebp - 4]
mov edi, eax
test edi, edi
js 0x4090db
push esi
call fcn.004062b4
test al, al
je 0x4090d0
mov edi, 0x80004005
jmp 0x4090db
push dword [ebp + 0xc]
push esi
call fcn.00405fd2
mov edi, eax
test esi, esi
je 0x4090e5
mov ecx, dword [esi]
push esi
call dword [ecx + 8]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x409179
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
lea eax, [ebp - 0x58]
push eax
push 0xffffffffffffffff
call fcn.004095ae
call fcn.0040303e
call fcn.0040303e
push 0
call fcn.00410054
add esp, 4
call fcn.004112d5
push 0x14
call fcn.00409612
call fcn.004095d3
call dword [sym.imp.KERNEL32.dll_GetSystemDEPPolicy]
cmp eax, 2
jne 0x4091c2
push 1
call dword [sym.imp.KERNEL32.dll_SetProcessDEPPolicy]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.00406ca9
test eax, eax
jne 0x4092c0
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.00405322
test al, al
jne 0x409201
mov eax, dword [ebp - 4]
test eax, eax
je 0x4091f8
cmp eax, 0xffffffff
je 0x4091f8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x2c]
and eax, 0x80000000
mov dword [ebp - 0x2c], 0
or eax, 0x80000000
mov dword [ebp - 0x28], 0
push esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], 0xc
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x20], 0x423914
call fcn.00407d59
mov esi, dword [ebp - 4]
test esi, esi
je 0x40926e
cmp esi, 0xffffffff
je 0x40926c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
push 0
push 0x402daf
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], vtable.Ofc::TMap_unsigned_long_int__void__.0
call fcn.0040b7b3
lea ecx, [ebp - 0x20]
call fcn.0040a804
lea ecx, [ebp - 0x2c]
call fcn.0040304c
test esi, esi
je 0x4092a4
cmp esi, 0xffffffff
je 0x4092a4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.004095e6
call fcn.0040303e
call fcn.0040303e
call fcn.0041014c
call fcn.0040957f
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40c3ac
Capabilities:
Link many functions at runtime
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x426a58]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x208
push esi
push 0
push eax
mov dword [ebp - 0x214], 1
call sub.VCRUNTIME140.dll_memset
mov edx, 0x42cc34
mov dword [ebp - 0x210], esi
add esp, 0xc
mov eax, edx
xor ecx, ecx
cmp dword [eax], 0
je 0x40c40d
add eax, 0x14
inc ecx
cmp eax, 0x42cc5c
jl 0x40c3f8
jmp 0x40c564
imul esi, ecx, 0x14
add esi, edx
je 0x40c564
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40c548
cmp dword [ebp - 0x214], 1
jne 0x40c548
cmp word [ebp - 0x20c], ax
je 0x40c548
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x40c548
shr eax, 1
mov dword [ebp - 0x210], eax
cmp eax, 0x104
jae 0x40c48f
add eax, eax
cmp eax, 0x208
jae 0x40c577
xor ecx, ecx
mov word [ebp + eax - 0x20c], cx
jmp 0x40c495
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x20c]
push eax
call fcn.0040c981
mov dword [esi], eax
test eax, eax
je 0x40c548
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str._GetPerfhostHookVersion_0
push eax
call edi
test eax, eax
jne 0x40c4c2
mov eax, dword [ebp + 0x10]
jmp 0x40c4c4
call eax
mov dword [esi + 4], eax
cmp eax, 1
jne 0x40c4e8
push str._InitPerf_4
push dword [esi]
call edi
push str._PerfCodeMarker_12
push dword [esi]
mov dword [esi + 8], eax
call edi
push str._UnInitPerf_4
jmp 0x40c51c
cmp eax, 2
jne 0x40c4fd
push str._InitPerf_4
push dword [esi]
call edi
push str._PerfCodeMarker_8
jmp 0x40c4da
cmp eax, 3
jne 0x40c526
push str._InitPerf_v3_4
push dword [esi]
call edi
push str._PerfCodeMarker_v3_8
push dword [esi]
mov dword [esi + 8], eax
call edi
push str._UnInitPerf_v3_4
push dword [esi]
mov dword [esi + 0x10], eax
call edi
mov dword [esi + 0xc], eax
cmp dword [esi + 8], 0
je 0x40c548
cmp dword [esi + 0x10], 0
je 0x40c548
cmp dword [esi + 0xc], 0
je 0x40c548
push dword [0x42cc94]
push esi
call fcn.0040c373
test eax, eax
jns 0x40c564
cmp dword [esi], 0
je 0x40c555
push dword [esi]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
and dword [esi], 0
and dword [esi + 8], 0
and dword [esi + 0xc], 0
and dword [esi + 0x10], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041c61a
mov esp, ebp
pop ebp
ret 0xc
call fcn.0041ce2e
int3
Function at 0x40f3e2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x18]
push ebx
push esi
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test eax, eax
jne 0x40f3fa
mov eax, dword [edi]
mov ebx, dword [ebp + 0x14]
lea ecx, [ebp + 0x18]
push ecx
push ebx
lea ecx, [ebp + 0xc]
push ecx
push 0xffff
push dword [ebp + 0x10]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov edx, dword [ebp + 0x18]
mov esi, eax
mov ecx, dword [ebp + 0xc]
push 2
pop eax
cmp edx, eax
jae 0x40f431
cmp ecx, 1
je 0x40f42f
cmp ecx, eax
jne 0x40f431
mov esi, eax
push esi
call fcn.0040f0e1
test eax, eax
je 0x40f448
push edi
mov ecx, 0x42cde8
call fcn.0040efae
jmp 0x40f47b
test esi, esi
jne 0x40f475
cmp ecx, 2
je 0x40f456
cmp ecx, 1
jne 0x40f462
shr edx, 1
xor eax, eax
mov word [ebx + edx*2 - 2], ax
mov ecx, dword [ebp + 0xc]
movzx eax, byte [ebp + 0x1c]
push eax
push ecx
call fcn.0040f2a4
test eax, eax
push 2
pop eax
cmove esi, eax
push edi
call fcn.0040f763
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0x18

Function at 0x40f4ad
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
or esi, 0xffffffff
test edi, edi
jne 0x40f4d3
cmp dword [0x42d0fc], edi
je 0x40f5c4
push 2
pop esi
jmp 0x40f4ec
cmp edi, 1
jne 0x40f5c4
push ebx
call fcn.0040f0b7
test al, al
je 0x40f5c4
xor esi, esi
lea ecx, [ebp + 0xb]
mov dword [ebp - 0xc], esi
call fcn.0040e529
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
push eax
movzx eax, word [ebx + 0x10]
shr eax, 1
and eax, 0x10
or eax, esi
jmp 0x40f573
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
test eax, eax
jne 0x40f521
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
push ecx
push 0
push dword [ebp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
push esi
call fcn.0040f0e1
push dword [ebp - 4]
test eax, eax
je 0x40f58c
mov eax, dword [ebx + 0xc]
xor esi, esi
mov ecx, 0x42cde8
movzx eax, word [eax + 6]
and eax, 0xf
imul eax, eax, 0xc
mov dword [eax + 0x42c248], esi
call fcn.0040efae
movzx eax, word [ebx + 0x10]
shr eax, 1
and eax, 0x10
mov dword [ebp - 4], esi
or eax, dword [ebp - 0xc]
push esi
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebx + 0xc]
call fcn.0040e626
mov esi, eax
test esi, esi
je 0x40f50d
jmp 0x40f5bc
call fcn.0040f763
test esi, esi
jne 0x40f5bc
movzx ecx, word [ebx + 0x10]
mov eax, ecx
and eax, 0xf
cmp dword [ebp - 0x10], eax
je 0x40f5d9
cmp dword [ebp - 0x10], 3
jne 0x40f5b9
mov eax, dword [ebp + 0x14]
cmp dword [eax], 4
jne 0x40f5b9
and cl, 0xf
cmp cl, 4
je 0x40f5d9
push 2
pop esi
lea ecx, [ebp + 0xb]
call fcn.0040e56e
inc edi
cmp edi, 2
jl 0x40f4bb
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebp + 0x1c]
lea ecx, [ebp + 0xb]
mov dword [eax], 1
call fcn.0040e56e
xor eax, eax
jmp 0x40f5d0
Function at 0x4129e9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp byte [0x42d3f4], 0
je 0x412a01
mov eax, dword [0x42d3f8]
jmp 0x412ad1
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push 0x20019
push esi
push str.SoftwarePoliciesMicrosoftSecurity
push reloc.AppVIsvSubsystems32.dll_Ordinal_1
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x412a50
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
push 0x42d3f8
push esi
push esi
push dword [0x42c338]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x412a50
cmp dword [ebp - 8], 4
je 0x412aaa
mov eax, dword [ebp - 4]
mov dword [ebp - 4], esi
test eax, eax
je 0x412a61
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 0x20019
push esi
push str.SoftwareMicrosoftSecurity
push reloc.AppVIsvSubsystems32.dll_Ordinal_1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x412ab2
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
push 0x42d3f8
push esi
push esi
push dword [0x42c338]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x412ab2
cmp dword [ebp - 8], 4
jne 0x412ab2
mov esi, dword [0x42d3f8]
jmp 0x412ab8
mov dword [0x42d3f8], esi
cmp dword [ebp - 4], 0
mov byte [0x42d3f4], 1
je 0x412ace
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x412ad5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 8]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.CLSID
push Ordinal_1
mov dword [ebp - 8], ebx
call edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x412b67
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push 0x20019
push ebx
push dword [ebp + 8]
push dword [ebp - 8]
call edi
test eax, eax
jne 0x412b5d
push 4
pop edi
lea eax, [ebp + 8]
mov dword [ebp + 8], edi
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push 0x426234
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x412b5d
cmp dword [ebp + 8], edi
jne 0x412b5d
mov edi, dword [ebp - 0xc]
cmp edi, 3
ja 0x412b5d
cmp dword [ebp - 4], ebx
je 0x412b69
push dword [ebp - 4]
call esi
jmp 0x412b69
cmp dword [ebp - 4], ebx
je 0x412b67
push dword [ebp - 4]
call esi
mov edi, ebx
cmp dword [ebp - 8], ebx
je 0x412b73
push dword [ebp - 8]
call esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41c627
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
push ebx
mov ebx, 0xbb40e64e
cmp dword [0x426a58], eax
je 0x41c649
cmp dword [0x426a58], ebx
jne 0x41c6dd
push edi
push eax
push eax
push 1
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov edi, dword [ebp - 8]
xor edi, dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edi, eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 0x14]
xor edi, eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x426a58
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
test edi, edi
push eax
push dword [ebp - 4]
cmovne ebx, edi
mov edi, 0x426a58
push 4
push edi
mov dword [0x426a58], ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 4
push edi
call sub.KERNEL32.dll_WerRegisterMemoryBlock
mov eax, dword [0x426a58]
not eax
mov dword [0x42c38c], eax
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41c918
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x429d78
call fcn.0041d551
push 1
call fcn.0041caeb
pop ecx
test al, al
jne 0x41c7c1
push 7
call fcn.0041d775
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.0041cab6
mov byte [ebp - 0x24], al
mov eax, dword [0x42f724]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x41c7ba
test eax, eax
jne 0x41c82b
mov dword [0x42f724], ecx
push 0x4232d8
push 0x4232c0
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x41c80e
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x41c912
push 0x4232bc
push 0x42326c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x42f724], 2
jmp 0x41c830
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0041cc48
pop ecx
call fcn.0041d769
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x41c860
push esi
call fcn.0041cbbb
pop ecx
test al, al
je 0x41c860
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.0041d9a4
call esi
call fcn.0041d76f
mov esi, eax
cmp dword [esi], edi
je 0x41c87e
push esi
call fcn.0041cbbb
pop ecx
test al, al
je 0x41c87e
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
push edi
call sub.VCRUNTIME140.dll___telemetry_main_invoke_trigger
pop ecx
call fcn.0041d88a
movzx eax, ax
push eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_narrow_winmain_command_line
push eax
push edi
push 0x400000
call main
mov esi, eax
push edi
call sub.VCRUNTIME140.dll___telemetry_main_return_trigger
pop ecx
call fcn.0041d8bd
test al, al
jne 0x41c8b7
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
test bl, bl
jne 0x41c8c0
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.0041cc65
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x41c912
call fcn.0041d597
ret
call fcn.0041c627
jmp 0x41c7a2
Function at 0x1016a060
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax + 0x14]
xor edx, edx
push 0xa
mov eax, edi
pop ecx
div ecx
xor ebx, ebx
mov dword [ebp - 4], 0x811c9dc5
mov esi, eax
inc esi
cmp esi, edi
jae 0x1016a088
sub edi, esi
test edi, edi
jbe 0x1016a0ac
mov ecx, dword [ebp + 8]
push ebx
call fcn.1016c4dd
mov ecx, dword [ebp - 4]
movzx eax, word [eax]
imul ecx, ecx, 0x1000193
xor ecx, eax
add ebx, esi
mov dword [ebp - 4], ecx
cmp ebx, edi
jb 0x1016a08c
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x1016bad3
Capabilities:
Get user security identifier

Disassembly:
push 0x14
mov eax, 0x10334bff
call fcn.102f77e7
mov edi, dword [ebp + 0xc]
xor esi, esi
cmp edi, esi
jne 0x1016baf2
mov eax, 0x80004003
jmp 0x1016bbc8
cmp dword [ebp + 8], esi
jne 0x1016bb01
mov eax, 0x80070057
jmp 0x1016bbc8
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push esi
push dword [ebp + 8]
mov dword [edi], esi
push esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1016bbbe
mov eax, dword [ebp - 0x18]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
mov dword [ebp - 4], esi
neg ecx
or ecx, eax
push ecx
call fcn.102f7fef
pop ecx
mov dword [ebp - 0x14], eax
jmp 0x1016bb5e
cmp dword [ebp - 0x14], esi
je 0x1016bbb7
push dword [ebp - 0x1c]
call fcn.102f7f23
pop ecx
mov dword [edi], eax
cmp eax, esi
je 0x1016bba7
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push ecx
push eax
push dword [ebp + 8]
push esi
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x1016bb94
xor ebx, ebx
jmp 0x1016bbac
call fcn.1016b69f
push dword [edi]
mov ebx, eax
call fcn.102f7e46
pop ecx
mov dword [edi], esi
jmp 0x1016bbac
mov ebx, 0x8007000e
push dword [ebp - 0x14]
call fcn.102f72fe
pop ecx
jmp 0x1016bbc6
mov ebx, 0x8007000e
jmp 0x1016bbc6
push eax
call fcn.1016b6b4
mov ebx, eax
mov eax, ebx
call fcn.102f788c
ret 8

Function at 0x1016bf6b
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x811c9dc5
jmp 0x1016bf85
movzx edx, word [ecx]
imul eax, eax, 0x1000193
xor eax, edx
inc ecx
inc ecx
cmp ecx, dword [ebp + 0xc]
jne 0x1016bf78
pop ebp
ret 8
Function at 0x1019d596
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
lea eax, [ebp - 4]
push eax
xor edi, edi
push 0x10012324
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call fcn.102d5dc6
test eax, eax
je 0x1019d5ba
xor al, al
jmp 0x1019d605
push edi
lea eax, [ebp - 8]
push eax
push edi
push 2
push edi
push edi
push edi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1019d5b6
push ebx
push esi
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push edi
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
call esi
push dword [ebp - 8]
call esi
cmp ebx, edi
pop esi
sete al
pop ebx
pop edi
leave
ret 0xc

Function at 0x1019debb
Capabilities:
Get common file path

Disassembly:
push 0x244
mov eax, 0x1033a584
call fcn.102f781d
mov esi, dword [ebp + 8]
push 0x104
lea eax, [ebp - 0x218]
push eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1019def3
lea eax, [ebp - 0x218]
push eax
call fcn.1019d6e5
mov edi, eax
push 0
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x21c], 7
call fcn.101610ee
and dword [ebp - 4], 0
lea eax, [ebp - 0x234]
push eax
push esi
call fcn.1019d8a8
cmp dword [ebp - 0x21c], 8
mov eax, dword [ebp - 0x230]
jae 0x1019df30
lea eax, [ebp - 0x230]
push eax
call fcn.1019d6e5
mov esi, eax
shl edi, 0x10
push 0x100124cc
lea ecx, [ebp - 0x250]
add esi, edi
call fcn.10161547
push esi
push eax
mov byte [ebp - 4], 1
call fcn.1019db34
push 0
push 1
lea ecx, [ebp - 0x250]
call fcn.10161215
push 0
push 1
lea ecx, [ebp - 0x234]
call fcn.10161215
call fcn.102f78a0
ret 4
Function at 0x101bb541
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 1
xor esi, esi
push esi
push 0x1001a618
mov ebx, 0x1001a604
push ebx
push 1
call fcn.101fd552
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], esi
cmp eax, 0x80070422
jne 0x101bb6b1
call fcn.101c5069
test al, al
je 0x101bb589
push esi
push esi
push 0x1001a598
push 4
call fcn.101bb26d
call fcn.101c5069
test al, al
je 0x101bb5a0
push esi
push esi
push 0x1001a550
push 4
call fcn.101bb2bc
push 1
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
call edi
mov dword [ebp - 4], eax
cmp dword [ebp - 0xc], esi
jne 0x101bb5e1
call fcn.101c5069
test al, al
je 0x101bb6bd
push esi
push esi
lea eax, [ebp - 4]
push eax
push 0x1001a4b8
push 4
call fcn.101baeee
jmp 0x101bb6bd
push 2
push 0x1001a4b0
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 8], eax
call edi
mov dword [ebp - 4], eax
cmp dword [ebp - 8], esi
jne 0x101bb622
call fcn.101c5069
test al, al
je 0x101bb6a8
push esi
push esi
lea eax, [ebp - 4]
push eax
push 0x1001a458
push 4
call fcn.101baf46
jmp 0x101bb6a8
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push 3
push 0xffffffffffffffff
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
jne 0x101bb65e
call fcn.101c5069
test al, al
je 0x101bb69f
call edi
push esi
push esi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0x1001a408
push 4
call fcn.101bb30b
jmp 0x101bb69f
call fcn.101c5069
test al, al
je 0x101bb675
push esi
push esi
push 0x1001a3b0
push 4
call fcn.10178432
call fcn.101c5069
test al, al
je 0x101bb68c
push esi
push esi
push 0x1001a374
push 4
call fcn.101bb363
push 1
push esi
push 0x1001a618
push ebx
push 1
call fcn.101fd552
mov dword [ebp - 0x10], eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [ebp - 0x10], esi
jl 0x101bb6bd
mov byte [0x103a46e8], 1
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x101c5202
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x218
cmp dword [ecx + 4], eax
jl 0x101c52be
push ebx
xor ebx, ebx
push esi
push edi
cmp byte [ecx + 0x83], bl
jne 0x101c5258
push 0x1001e144
lea eax, [ebp - 0x218]
push 0x26
push eax
call fcn.10161ac8
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x103495b0
lea eax, [ebp - 0x10c]
lea edi, [ebp - 0x10c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.102f72b2
cmp word [ebp + 0x10], bx
jne 0x101c5267
movzx edi, word [ecx + 0x84]
jmp 0x101c526b
movzx edi, word [ebp + 0x10]
mov esi, dword [ebp + 0x14]
cmp esi, ebx
jne 0x101c5278
mov esi, dword [ecx + 0x88]
xor edx, edx
dec eax
je 0x101c528c
dec eax
je 0x101c5288
dec eax
jne 0x101c528f
push 4
pop edx
jmp 0x101c528f
push 2
jmp 0x101c5285
xor edx, edx
inc edx
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 8
jb 0x101c529d
mov eax, dword [eax + 4]
jmp 0x101c52a0
add eax, 4
push ebx
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push ebx
push 1
push ebx
push esi
push edi
push edx
push dword [ecx + 0x8c]
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x101c7552
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [0x103a4e8c], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersion]
push esi
jne 0x101c7596
call ebx
test eax, eax
jns 0x101c758c
push 0x1001e830
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0x1001e824
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x103a4e88], eax
mov dword [0x103a4e8c], 1
mov eax, dword [0x103a4e88]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x101c75b2
push dword [ebp + 0x10]
push eax
call esi
mov dword [ebp - 4], eax
test eax, eax
jne 0x101c75e2
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
test eax, eax
jne 0x101c75d8
call ebx
test eax, eax
mov eax, dword [ebp + 8]
jns 0x101c75cd
push dword [eax + 0xc]
call dword [eax + 8]
jmp 0x101c75d2
push dword [eax + 4]
call dword [eax]
test eax, eax
je 0x101c75e1
mov dword [edi], eax
push dword [ebp + 0x10]
push eax
call esi
mov dword [ebp - 4], eax
pop edi
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 0xc

Function at 0x101c7fdc
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx + 0x24]
sub esp, 0x218
push esi
push edi
test ecx, ecx
jne 0x101c8022
push 0x1001ecd0
lea eax, [ebp - 0x218]
push 0x3a
push eax
call fcn.10161ac8
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x103495b0
lea eax, [ebp - 0x10c]
lea edi, [ebp - 0x10c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.102f72b2
mov edi, dword [ebp + 8]
cmp dword [edi + 0x18], 8
lea esi, [edi + 4]
jb 0x101c8032
mov eax, dword [esi]
jmp 0x101c8034
mov eax, esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x101c8066
cmp byte [ebp + 0xc], 0
je 0x101c8066
cmp dword [edi + 0x18], 8
jb 0x101c804e
mov esi, dword [esi]
push esi
push 0x1001ec68
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.101b70ff
add esp, 0x10
jmp 0x101c8004
pop edi
pop esi
leave
ret 8