joyce8/EMBER2024-capa huggingface dataset:
Function at 0x700d29f
Capabilities:
Set current directory

Disassembly:
push 8
mov eax, 0x70120f1
call fcn.07001cf8
mov edi, ecx
mov dword [ebp - 0x14], edi
mov esi, dword [ebp + 8]
push esi
call fcn.0700d491
xor ebx, ebx
mov dword [edi], vtable.FileSharedStream.0
mov dword [edi + 0xc], ebx
mov byte [edi + 0x10], bl
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
lea eax, [edi + 0x18]
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0700dd8a
lea ecx, [ebp - 0x10]
call fcn.0700d23c
mov eax, dword [edi + 0x14]
mov byte [ebp - 4], 2
push dword [eax + 0x14]
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x700d30c
mov eax, dword [eax + 0x14]
jmp 0x700d311
mov eax, 0x70138c2
push 0x7015240
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov dword [edi + 0xc], eax
pop ecx
pop ecx
test eax, eax
je 0x700d343
mov ecx, dword [edi + 4]
call fcn.070076d1
lea ecx, [ebp - 0x10]
mov dword [edi + 8], eax
call fcn.07003567
mov eax, edi
call fcn.07001ea7
ret 4
push str.file_does_not_exist
push ebx
call fcn.07003567
int3

Function at 0x700de90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x700def4
cmp byte [esi + 0x10], 0
je 0x700deb2
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov eax, dword [esi + 0xc]
pop ecx
mov byte [esi + 0x10], 0
push edi
push eax
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push dword [esi + 0xc]
mov edi, eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
add esp, 0x14
test eax, eax
je 0x700dee2
push dword [esi + 0xc]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
pop ecx
test eax, eax
je 0x700defb
push dword [esi + 0xc]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
pop ecx
mov dword [esi + 8], eax
mov eax, edi
pop edi
jmp 0x700def6
xor eax, eax
pop esi
pop ebp
ret 8
push str.stream_read_error
push 0
call fcn.07003567
int3

Function at 0x700e170
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
cmp byte [eax + 8], 0
jne 0x700e1c3
cmp dword [esi + 0xc], 0
je 0x700e1be
push dword [esi + 0xc]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push dword [esi + 0xc]
mov byte [esi + 0x10], 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
add esp, 0x14
test eax, eax
je 0x700e1b1
push str.stream_write_error
jmp 0x700e1c8
push dword [esi + 0xc]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
pop ecx
mov dword [esi + 8], eax
pop esi
pop ebp
ret 8
push str.Attempt_to_write_read_only_stream
push 0
call fcn.07003567
int3
Function at 0x401000
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
push str._JAVA_LAUNCHER_DEBUG
call fcn.00408d33
pop ecx
test eax, eax
je 0x401046
push str.Windows_original_main_args:_n
call fcn.00408bef
xor esi, esi
pop ecx
cmp dword [0x425628], esi
jle 0x401046
mov eax, dword [0x42562c]
push dword [eax + esi*4]
push esi
push str.wwwd_args__d____s_n
call fcn.00408bef
add esp, 0xc
inc esi
cmp esi, dword [0x425628]
jl 0x401027
call dword [sym.imp.kernel32.dll_GetCommandLineA]
push eax
call fcn.0040692c
call fcn.0040392e
mov edi, eax
lea eax, [edi*4 + 4]
push eax
call fcn.004039b0
pop ecx
pop ecx
mov esi, eax
call fcn.00403934
xor ecx, ecx
test edi, edi
jle 0x401080
mov edx, dword [eax + ecx*8]
mov dword [esi + ecx*4], edx
inc ecx
cmp ecx, edi
jl 0x401075
mov eax, dword [0x424010]
and dword [esi + ecx*4], 0
mov ebx, eax
test eax, eax
jne 0x401091
mov ebx, dword [esi]
mov ecx, dword [0x42400c]
test ecx, ecx
jne 0x40109d
mov ecx, dword [esi]
mov eax, dword [0x425420]
push 0
push 0
push 1
test eax, eax
setne dl
movzx edx, dl
push edx
push ebx
push ecx
push 0x41c24c
push 0x41c23c
push dword [0x425424]
push 1
push eax
push 1
push esi
push edi
call fcn.00403472
add esp, 0x38
pop edi
pop esi
pop ebx
ret
Function at 0x403e2f
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x424070]
xor eax, ebp
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0xa4]
push ebx
push esi
push edi
mov edi, dword [sym.imp.advapi32.dll_RegEnumKeyA]
mov esi, 0x104
push esi
lea ecx, [ebp - 0x6c]
push ecx
xor ebx, ebx
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0xa8]
push ebx
push eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ebx
call edi
test eax, eax
jne 0x403ed2
mov eax, dword [ebp - 0x80]
push dword [eax + 8]
inc dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
push eax
call fcn.0040692c
pop ecx
pop ecx
test eax, eax
je 0x403ebb
test ebx, ebx
je 0x403eaf
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.0040692c
pop ecx
pop ecx
test eax, eax
jle 0x403ebb
push ebx
call fcn.00403a18
pop ecx
lea eax, [ebp - 0x6c]
push eax
call fcn.004039f7
pop ecx
mov ebx, eax
push esi
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x74]
push dword [ebp - 0x78]
call edi
test eax, eax
je 0x403e7c
xor edi, edi
cmp ebx, edi
jne 0x403ed6
xor eax, eax
jmp 0x403f42
lea eax, [ebp - 0x70]
push eax
push 0x20019
push edi
push ebx
push dword [ebp - 0x78]
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
push ebx
test eax, eax
je 0x403f05
call fcn.00403a18
pop ecx
cmp dword [ebp - 0x70], edi
je 0x403ed2
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x403ed2
call fcn.00403a18
pop ecx
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push edi
push edi
push str.JavaHome
push dword [ebp - 0x70]
mov dword [ebp - 0x7c], esi
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x403ef5
cmp dword [ebp - 0x70], edi
je 0x403f38
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
lea eax, [ebp - 0x6c]
push eax
call fcn.004039f7
pop ecx
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004098e8
add ebp, 0x9c
leave
ret
Function at 0x408f37
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x422550
call fcn.0040dcb0
xor esi, esi
cmp dword [0x4274a8], esi
jne 0x408df7
push esi
push esi
push 1
push esi
call dword [sym.imp.kernel32.dll_HeapSetInformation]
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x408e0a
mov dword [ebp - 0x1c], esi
jmp 0x408e40
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x408e05
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x408e05
cmp dword [eax + 0x400074], 0xe
jbe 0x408e05
xor ecx, ecx
cmp dword [eax + 0x4000e8], esi
setne cl
mov dword [ebp - 0x1c], ecx
call fcn.0040f80c
test eax, eax
jne 0x408e51
push 0x1c
call fcn.0040692c
pop ecx
call fcn.0040d831
test eax, eax
jne 0x408e62
push 0x10
call fcn.0040692c
pop ecx
call fcn.0040dae6
mov dword [ebp - 4], esi
call fcn.0040692c
test eax, eax
jns 0x408e7b
push 0x1b
call fcn.0040692c
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x4274a4], eax
call fcn.0040692c
mov dword [0x42565c], eax
call fcn.0040692c
test eax, eax
jns 0x408ea1
push 8
call fcn.0040692c
pop ecx
call fcn.0040f1ff
test eax, eax
jns 0x408eb2
push 9
call fcn.0040692c
pop ecx
push 1
call fcn.0040692c
pop ecx
cmp eax, esi
je 0x408ec5
push eax
call fcn.0040692c
pop ecx
mov eax, dword [0x425634]
mov dword [0x425638], eax
push eax
push dword [0x42562c]
push dword [0x425628]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], esi
jne 0x408ef2
push eax
call fcn.0040692c
call fcn.00408bb3
jmp 0x408f27
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.0040dcf5
ret
call fcn.0040692c
jmp 0x408dd6

Function at 0x4098e8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x424070]
jne 0x4098f2
repz ret
jmp fcn.004114ed
Function at 0x66210d2c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x65d], 0x88
mov byte [ebp - 0x65c], 0xb9
mov byte [ebp - 0x65b], 0x94
mov byte [ebp - 0x65a], 0x94
mov byte [ebp - 0x659], 0x97
mov byte [ebp - 0x658], 0x9b
mov byte [ebp - 0x657], 0xf8
lea eax, [ebp - 0x664]
push eax
call fcn.662101fe
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.662101b3
add esp, 0xc
mov dword [ebp - 0x67c], eax
and byte [ebp - 0x524], 0
and byte [ebp - 0x523], 0
mov byte [ebp - 0x522], 0x15
and byte [ebp - 0x521], 0
mov byte [ebp - 0x520], 0xa2
mov byte [ebp - 0x51f], 0x8f
mov byte [ebp - 0x51e], 0x8b
mov byte [ebp - 0x51d], 0x9a
cli
invalid
call [edx - 0x51b7a3a]
invalid
jmp [esi + eax*8 - 0x51a7b]
call [eax - 0x5197a3a]
invalid
dec dword [edi - 0x5187a3a]
invalid
dec dword [edi - 0x5177a3a]
invalid
invalid
ljmp 0xffff
push eax
call fcn.662101fe
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.662101b3
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.662101ee
cdq
fmul dword [edx - 0x19]
and byte [ebp - 0x514], 0
and byte [ebp - 0x513], 0
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
jns 0x66210e19
test edi, esi
cli
invalid
dec dword [edi - 0x3a]
test eax, edi
cli
invalid
push dword [ebp - 0x3a]
test ecx, edi
cli
invalid
jmp dword [esi - 0x3a]
test edx, edi
cli
invalid
invalid
jns 0x66210e35
test ebx, edi
cli
invalid
call [ecx*4 - 0x5137b]
call dword [eax - 0x18]
jge 0x66210e72
invalid
invalid
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.662101b3
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.662101ee
Function at 0x14a03b70
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x14a36198]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test byte [edi - 8], 2
mov dword [ebp - 0x10], 0x80004005
je 0x14a03b9b
push 0xfffffffffffffffe
pop eax
jmp 0x14a03c46
lea eax, [ebp - 0xc]
push eax
xor esi, esi
push esi
push esi
push esi
push dword [edi + 0x1c]
call fcn.14a17690
cmp dword [ebp - 0xc], 1
jne 0x14a03bb7
xor eax, eax
inc eax
jmp 0x14a03bca
cmp dword [ebp - 0xc], 2
jne 0x14a03bc2
push 2
pop eax
jmp 0x14a03bca
push 3
pop eax
cmp dword [ebp - 0xc], eax
jne 0x14a03c38
lea ecx, [ebp - 8]
push ecx
push esi
push 1
push eax
push dword [edi + 0x1c]
mov dword [ebp - 8], esi
call fcn.14a17c50
push dword [ebp - 8]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jbe 0x14a03c2f
mov ebx, dword [ebp - 8]
cmp ebx, esi
je 0x14a03c00
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x14a03c04
xor eax, eax
jmp 0x14a03c1c
lea esi, [eax + eax]
mov eax, esi
call fcn.14a22e40
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.14a0106e
xor esi, esi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
test eax, eax
jne 0x14a03c2f
mov dword [ebp - 0x10], esi
push dword [ebp - 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [edi - 0xc]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x20]
mov eax, dword [ebp - 0x10]
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.14a22c16
leave
ret 4
Function at 0x14a0ac8a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
and dword [esi], 0
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14a0ace4
cmp dword [ebp + 0x10], 1
je 0x14a0acc9
cmp dword [ebp + 0x10], 2
je 0x14a0acc9
push 0xd
pop eax
jmp 0x14a0ace4
mov eax, dword [ebp - 4]
test edi, edi
je 0x14a0ace0
test eax, eax
je 0x14a0acdd
cmp byte [eax + edi - 1], 0
je 0x14a0ace0
jmp 0x14a0acc4
mov byte [edi], 0
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
leave
ret 0xc
Function at 0x14a0d11e
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x14a36198]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0xc]
xor esi, esi
push 0x14a26b04
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x64], esi
call fcn.14a01cef
push 0x14a35910
lea ecx, [ebp - 0x70]
call fcn.14a01cef
push esi
push esi
push esi
push esi
mov ebx, 0x14a286ac
push ebx
mov edi, 0x14a2864c
push edi
push esi
push str.CHPCUECtxMgr::get_PCFriendlyName
lea ecx, [ebp - 0x60]
call fcn.14a17030
cmp dword [ebp - 0x74], esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
jne 0x14a0d1d3
push str.Thu_Apr_28_20:13:53_2011
push 0x4f6
push str..CtxMgr.cpp
push ebx
push edi
mov edi, 0x80004003
push edi
push 0x14a26959
call fcn.14a16880
add esp, 0x1c
lea ecx, [ebp - 0x60]
call fcn.14a17110
push dword [ebp - 0x70]
call esi
push dword [ebp - 0x6c]
call esi
push dword [ebp - 0x64]
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.14a22c16
leave
ret 8
mov edi, dword [ebp - 0x68]
cmp dword [edi + 0x1c], 0
jne 0x14a0d1ef
lea ecx, [edi - 0x60]
call fcn.14a0d00a
test eax, eax
jge 0x14a0d1ef
mov edi, 0x80004005
jmp 0x14a0d1a9
push str.CtxMgr
lea ecx, [ebp - 0x68]
call fcn.14a01cef
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x6c]
call fcn.14a01401
push dword [ebp - 0x68]
call esi
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x70]
push dword [ebp - 0x6c]
push 1
push dword [edi + 0x28]
call fcn.14a18100
push dword [ebp - 0x64]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
ja 0x14a0d25c
push dword [ebp - 0x64]
mov dword [ebp - 0x68], 0x10
call esi
and dword [ebp - 0x64], 0
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x14a0d25c
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x64]
call fcn.14a01d1f
push dword [ebp - 0x74]
lea eax, [ebp - 0x64]
push eax
call fcn.14a13639
mov edi, eax
jmp 0x14a0d1a9

Function at 0x14a0f1a5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x14a0f1be
cmp dword [esi], 2
jae 0x14a0f1be
push 0x7a
pop eax
jmp 0x14a0f20e
mov eax, dword [esi]
and dword [esi], 0
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14a0f20e
cmp dword [ebp + 0x10], 7
je 0x14a0f1ea
push 0xd
jmp 0x14a0f1bb
mov ecx, dword [ebp + 0xc]
test edi, edi
je 0x14a0f20a
cmp ecx, 1
jb 0x14a0f1e6
lea eax, [ecx + edi]
cmp byte [eax - 1], 0
jne 0x14a0f1e6
cmp ecx, 1
jbe 0x14a0f20a
cmp byte [eax - 2], 0
jne 0x14a0f1e6
mov dword [esi], ecx
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x14a0f214
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8
Function at 0x14a0f22e
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x14a0f23f
push 0xd
pop eax
jmp 0x14a0f269
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x14a0f242
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x14a0faf8
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x14a36198]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push 0xff
push 0x100
push eax
call dword [sym.imp.MSVCR90.dll__vsnprintf_s]
xor ebx, ebx
add esp, 0x14
lea eax, [ebp - 0x104]
mov byte [ebp - 5], bl
mov dword [ebp - 0x108], eax
cmp dword [esi + 0x160], ebx
jne 0x14a0fb52
push eax
call dword [sym.imp.MSVCR90.dll_puts]
pop ecx
add esi, 0x40
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
cmp esi, ebx
je 0x14a0fb81
push ebx
lea eax, [ebp - 0x108]
push eax
push ebx
push 1
push ebx
push ebx
push ebx
push 4
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.14a22c16
leave
ret

Function at 0x14a0fd6c
Capabilities:
Query service status
Stop service

Disassembly:
sub esp, 0x1c
push ebp
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebp, eax
test ebp, ebp
je 0x14a0fdf2
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
mov edi, dword [esp + 0x2c]
cmp byte [edi], 0
je 0x14a0fdea
push esi
push 0x24
push edi
push ebp
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
je 0x14a0fdd9
lea eax, [esp + 0x10]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
jmp 0x14a0fdcb
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x14a0fdd6
cmp dword [esp + 0x14], 3
je 0x14a0fdb7
push esi
call ebx
push edi
call sub.MSVCR90.dll_strlen
lea edi, [edi + eax + 1]
cmp byte [edi], 0
pop ecx
jne 0x14a0fd97
pop esi
push ebp
call ebx
xor eax, eax
pop edi
inc eax
pop ebx
pop ebp
add esp, 0x1c
ret 4
Function at 0x14a1014c
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x14a36198]
xor eax, ebp
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0xa4]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
push edi
or ecx, 0x2001f
push ecx
push eax
push dword [esi]
xor edi, edi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
call fcn.14a0ac55
mov ebx, eax
cmp ebx, edi
je 0x14a101bc
lea ecx, [ebp - 0x70]
call fcn.14a0abec
mov eax, ebx
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.14a22c16
add ebp, 0x9c
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x14a101d4
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x70]
call fcn.14a1014c
cmp eax, edi
jne 0x14a10207
lea eax, [ebp - 0x80]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
push edi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call ebx
test eax, eax
je 0x14a101c4
lea ecx, [ebp - 0x70]
call fcn.14a0abec
push dword [ebp - 0x78]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.14a0abec
mov eax, esi
jmp 0x14a101a2
Function at 0x14a10635
Capabilities:
Delete registry value

Disassembly:
push 0x10
mov eax, 0x14a24662
call fcn.14a22c25
mov ebx, ecx
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
push 0x2001f
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionSvcHost
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], esi
call fcn.14a0ac55
test eax, eax
jne 0x14a10754
mov eax, dword [ebx + 0x16c]
lea ecx, [ebp - 0x10]
push ecx
push esi
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], esi
call fcn.14a0f1a5
test eax, eax
jne 0x14a10754
cmp dword [ebp - 0x10], 1
jbe 0x14a10754
push dword [ebp - 0x10]
call fcn.14a22aee
mov edi, eax
pop ecx
mov dword [ebp - 0x14], edi
cmp edi, esi
je 0x14a10754
mov eax, dword [ebx + 0x16c]
lea ecx, [ebp - 0x10]
push ecx
push edi
push eax
lea ecx, [ebp - 0x1c]
call fcn.14a0f1a5
test eax, eax
jne 0x14a1074b
mov eax, edi
cmp byte [eax], 0
je 0x14a1074b
lea eax, [ebx + 0x40]
push edi
push eax
call dword [sym.imp.MSVCR90.dll__mbsicmp]
pop ecx
pop ecx
push edi
test eax, eax
je 0x14a106f2
call sub.MSVCR90.dll_strlen
lea edi, [edi + eax + 1]
cmp byte [edi], 0
pop ecx
jne 0x14a106cf
jmp 0x14a1074b
call sub.MSVCR90.dll_strlen
mov esi, dword [ebp - 0x14]
lea eax, [eax + edi + 1]
mov ecx, esi
sub ecx, eax
add ecx, dword [ebp - 0x10]
push ecx
push eax
mov eax, esi
sub eax, edi
add eax, dword [ebp - 0x10]
push eax
push edi
call dword [sym.imp.MSVCR90.dll_memmove_s]
push esi
call sub.MSVCR90.dll_strlen
add esp, 0x18
test eax, eax
jbe 0x14a10735
mov ebx, dword [ebx + 0x16c]
push esi
push ebx
lea ecx, [ebp - 0x1c]
call fcn.14a0f22e
jmp 0x14a10744
push dword [ebx + 0x16c]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esi, eax
neg esi
sbb esi, esi
inc esi
push dword [ebp - 0x14]
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.14a0abec
mov eax, esi
call fcn.14a22cfd
ret
Function at 0x14a11587
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
xor edi, edi
push edi
push edi
push edi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0x30], eax
cmp eax, edi
jne 0x14a115a3
xor eax, eax
jmp 0x14a115ca
push ebx
lea eax, [esp + 0xc]
push eax
push edi
push esi
push 0x14a10782
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
cmp ebx, edi
jne 0x14a115c7
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop ebx
pop edi
pop esi
pop ecx
ret