joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1805434f
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
call fcn.1800794c
mov eax, dword [0x180b4188]
pop ecx
pop ecx
mov ecx, 0x180b4188
call dword [eax + 0xc]
mov esi, dword [ebp - 8]
add eax, 0x10
mov dword [ebp - 4], eax
mov eax, dword [esi - 0xc]
call fcn.18007fbf
mov ebx, eax
push ebx
call fcn.18076cd3
pop ecx
mov edi, eax
mov eax, dword [esi - 0xc]
push ebx
push edi
mov ecx, esi
call fcn.18007fdc
pop ecx
pop ecx
push eax
push edi
lea eax, [ebp - 4]
call fcn.18008fce
push edi
call fcn.18075e84
pop ecx
push 0x1e
pop eax
lea edi, [ebp - 0x40]
call fcn.18055439
mov eax, dword [ebp - 4]
push dword [eax - 0xc]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.180079f8
add esp, 0xc
lea edi, [ebp - 0x18]
call fcn.180038eb
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.18003e0a
lea eax, [ebp - 0xc]
lea ecx, [ebp - 0x40]
call fcn.18055536
mov ebx, dword [ebp - 0xc]
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax]
xor edi, edi
push eax
mov dword [ebp + 0xc], edi
call fcn.1804fef5
mov esi, eax
cmp esi, edi
pop ecx
pop ecx
jge 0x18054449
cmp dword [ebp + 0xc], edi
je 0x18054418
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, esi
lea eax, [ebx - 0x10]
call fcn.18003e0a
lea esi, [ebp - 0x40]
call fcn.180554c3
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.18003e0a
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.18003e0a
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [ebp + 0x10], edi
je 0x180544a6
push dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp + 0x10], edi
cmp eax, edi
jne 0x18054481
lea eax, [ebp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x18054491
mov edi, dword [ebp + 0x10]
test esi, esi
je 0x1805441a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1805441a
cmp eax, 0x102
jne 0x18054491
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp esi, edi
je 0x1805449c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, 0x80004005
jmp 0x1805441a
cmp dword [ebp + 0xc], edi
je 0x1805441a
push dword [ebp + 0xc]
jmp 0x18054479
Function at 0x1805735d
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
xor edi, edi
push edi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
cmp esi, edi
jne 0x1805737e
call fcn.1800d4b3
jmp 0x180573f2
mov eax, dword [0x180b4188]
mov ecx, 0x180b4188
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.1800cc63
mov ebx, dword [ebp - 8]
mov dword [ebp - 4], edi
pop ecx
cmp dword [ebx - 0xc], edi
je 0x180573b0
lea eax, [ebp - 4]
push eax
push ebx
call sub.ADVAPI32.dll_ConvertStringSidToSidW
push dword [ebp + 0x20]
push dword [ebp + 0x18]
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push dword [ebp - 4]
push dword [ebp + 0x10]
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
test eax, eax
jne 0x180573d8
call fcn.1800d4b3
mov edi, eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
lea eax, [ebx - 0x10]
call fcn.18003e0a
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x18061b2c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x18061b41
mov eax, 0x80070057
jmp 0x18061bb2
push edi
xor eax, eax
mov dword [ebp - 0x10], esi
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x3c
stosd dword es:[edi], eax
lea eax, [ebp - 0x4c]
push esi
push eax
mov dword [ebp - 0x54], 0x44
mov dword [ebp - 0x50], esi
call fcn.180769e0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 0x28], 0x80
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop edi
test eax, eax
jne 0x18061ba0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x18061bb2
and eax, 0xffff
or eax, 0x80070000
jmp 0x18061bb2
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
xor eax, eax
pop esi
leave
ret

Function at 0x18061c03
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x180af1d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
test esi, esi
jne 0x18061c24
mov eax, 0x80070057
jmp 0x18061c90
push edi
call fcn.18003bc8
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.180769e0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
mov edi, 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x18061c75
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x18061c8f
and eax, 0xffff
or eax, 0x80070000
jmp 0x18061c8f
cmp eax, edi
jb 0x18061c80
mov eax, 0x80004005
jmp 0x18061c8f
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.18003de7
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.18075e75
leave
ret

Function at 0x18061cf1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x180af1d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [eax]
cmp dword [esi - 0xc], 0
je 0x18061d83
test edi, edi
je 0x18061d83
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.180769e0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x180a7ca8
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x18061d61
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x18061d88
and eax, 0xffff
or eax, 0x80070000
jmp 0x18061d88
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.18003de7
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
jmp 0x18061d88
mov eax, 0x80070057
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.18075e75
leave
ret
Function at 0x18061e32
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 0x14]
xor ebx, ebx
cmp esi, ebx
jne 0x18061e4d
mov eax, 0x80070057
jmp 0x18061f75
call fcn.18003bc8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
lea ecx, [ebp - 4]
push ecx
push 0x20019
push ebx
push eax
xor eax, eax
cmp byte [ebp + 8], bl
mov dword [ebp - 4], ebx
setne al
add eax, 0x80000001
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x18061e92
jle 0x18061f75
and eax, 0xffff
or eax, 0x80070000
jmp 0x18061f75
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 8]
push ecx
push ebx
lea ecx, [ebp - 0x10]
push ecx
push ebx
push eax
push dword [ebp - 4]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
call edi
mov esi, eax
cmp esi, ebx
je 0x18061edc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
jle 0x18061f72
and esi, 0xffff
or esi, 0x80070000
jmp 0x18061f72
cmp dword [ebp - 0x10], 1
je 0x18061ee8
cmp dword [ebp - 0x10], 2
jne 0x18061eed
cmp dword [ebp - 8], ebx
jne 0x18061efd
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x8007000d
jmp 0x18061f74
mov eax, dword [0x180b4188]
mov ecx, 0x180b4188
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
shr eax, 1
push eax
lea esi, [ebp - 0xc]
call fcn.18003ce3
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
lea edx, [ebp - 8]
push edx
push eax
push ebx
push ebx
push ecx
push dword [ebp - 4]
call edi
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
jne 0x18061f59
mov eax, dword [ebp - 8]
shr eax, 1
lea edx, [ebp - 0xc]
call fcn.18003d48
mov edi, dword [ebp + 0x14]
lea eax, [ebp - 0xc]
call fcn.180038eb
cmp esi, ebx
jle 0x18061f67
and esi, 0xffff
or esi, 0x80070000
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.18003e0a
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x18061f79
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
jne 0x18061f91
mov eax, 0x80070057
jmp 0x1806201d
mov eax, dword [ebp + 8]
mov eax, dword [eax]
lea ecx, [ebp - 4]
push ecx
push 0x20019
push edi
push eax
push 0x80000002
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x18061fc1
jle 0x1806201d
and eax, 0xffff
or eax, 0x80070000
jmp 0x1806201d
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push esi
lea ecx, [ebp - 0xc]
push ecx
push dword [ebp + 0x10]
lea ecx, [ebp - 8]
push ecx
push edi
push eax
push dword [ebp - 4]
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
je 0x18062008
jle 0x18062004
and esi, 0xffff
or esi, 0x80070000
mov eax, esi
jmp 0x1806201c
cmp dword [ebp - 8], 4
jne 0x18062017
cmp dword [ebp - 0xc], edi
je 0x18062017
xor eax, eax
jmp 0x1806201c
mov eax, 0x8007000d
pop esi
pop edi
leave
ret
Function at 0x18062424
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [eax]
push edi
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1806244e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1806244c
and eax, 0xffff
or eax, 0x80070000
pop edi
ret
push esi
push str.GOOGLEUPDATEREPAIR
push 1
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x18062485
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x18062477
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
pop esi
pop edi
ret
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, 4
je 0x18062499
mov esi, 0x8000ffff
jmp 0x18062479
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x18062463
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x180624b7
mov esi, 0x80070006
jmp 0x18062479
cmp dword [eax], 1
jne 0x18062492
xor esi, esi
jmp 0x18062479
Function at 0x18062519
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x180626ab
mov eax, fcn.18021702
test eax, eax
je 0x180626ab
or dword [ebp - 0xc], 0xffffffff
push str.AutoUpdateCheckPeriodMinutes
lea eax, [ebp - 4]
call fcn.18003b7f
push str.SoftwarePoliciesDealPlyLiveUpdate_
lea eax, [ebp - 8]
call fcn.18003b7f
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
call fcn.18061f79
mov esi, eax
mov eax, dword [ebp - 8]
add esp, 0xc
add eax, 0xfffffff0
call fcn.18003e0a
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.18003e0a
cmp esi, edi
jl 0x18062597
cmp dword [ebp - 0xc], edi
jne 0x18062597
mov eax, 0x800704ec
jmp 0x180626b0
mov eax, dword [0x180b4188]
mov esi, 0x180b4188
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
mov eax, dword [0x180b4188]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
lea ebx, [ebp - 8]
call fcn.1806222b
cmp eax, edi
mov ebx, dword [ebp - 4]
pop ecx
jge 0x180625ec
mov edi, eax
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.18003e0a
lea eax, [ebx - 0x10]
call fcn.18003e0a
mov eax, edi
jmp 0x180626b0
cmp dword [ebx - 0xc], edi
jne 0x180625f8
mov edi, 0x80004005
jmp 0x180625d2
push 0x1809c2bc
lea eax, [ebp - 0x18]
call fcn.18003b7f
push dword [ebp + 8]
lea eax, [ebp - 0x14]
call fcn.18003b7f
push str.0d629f4e_4984_400f_addb_97a2cb6ae549
lea eax, [ebp - 0x10]
call fcn.18003b7f
push dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
call fcn.180622ef
mov edi, eax
mov eax, dword [ebp - 0x10]
add esp, 0x14
add eax, 0xfffffff0
call fcn.18003e0a
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.18003e0a
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.18003e0a
test edi, edi
jl 0x1806266d
lea esi, [ebp - 4]
call fcn.180624c0
mov edi, eax
test edi, edi
jge 0x18062680
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
call esi
push dword [ebp - 8]
call esi
jmp 0x180625d2
push dword [ebp + 0xc]
lea eax, [ebp - 4]
call fcn.180623cb
pop ecx
push 4
push 0
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esi - 0x10]
jmp 0x180625d8
mov eax, 0x80070057
pop edi
pop esi
pop ebx
leave
ret
Function at 0x18064c01
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
push ebx
push esi
push edi
lea ecx, [eax + 0x10]
xor esi, esi
movzx edx, byte [ecx]
shl edx, 0x18
inc ecx
movzx edi, byte [ecx]
shl edi, 0x10
or edx, edi
inc ecx
movzx edi, byte [ecx]
shl edi, 8
or edx, edi
inc ecx
movzx edi, byte [ecx]
or edx, edi
inc ecx
mov dword [ebp + esi*4 - 0x150], edx
inc esi
cmp esi, 0x10
jl 0x18064c12
push 0x50
pop edx
cmp esi, edx
jge 0x18064c64
lea ecx, [ebp + esi*4 - 0x188]
sub edx, esi
mov esi, dword [ecx + 0x2c]
xor esi, dword [ecx + 0x18]
xor esi, dword [ecx - 8]
xor esi, dword [ecx]
add ecx, 4
dec edx
rol esi, 1
mov dword [ecx + 0x34], esi
jne 0x18064c4e
mov ecx, dword [eax + 0x50]
mov edi, dword [eax + 0x54]
mov esi, dword [eax + 0x58]
mov edx, dword [eax + 0x5c]
and dword [ebp - 4], 0
mov dword [ebp - 8], ecx
mov ecx, dword [eax + 0x60]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 8]
mov ebx, dword [ebp - 4]
rol ecx, 5
add ecx, dword [ebp + ebx*4 - 0x150]
add ecx, dword [ebp - 0xc]
cmp ebx, 0x14
jge 0x18064ca9
mov ebx, edx
xor ebx, esi
and ebx, edi
xor ebx, edx
lea ecx, [ecx + ebx + 0x5a827999]
jmp 0x18064cea
cmp dword [ebp - 4], 0x28
jge 0x18064cbe
mov ebx, edx
xor ebx, esi
xor ebx, edi
lea ecx, [ecx + ebx + 0x6ed9eba1]
jmp 0x18064cea
cmp dword [ebp - 4], 0x3c
jge 0x18064cdd
mov ebx, esi
or ebx, edi
mov edi, esi
and edi, dword [ebp - 0x10]
and ebx, edx
or ebx, edi
mov edi, dword [ebp - 0x10]
lea ecx, [ecx + ebx - 0x70e44324]
jmp 0x18064cea
mov ebx, edx
xor ebx, esi
xor ebx, edi
lea ecx, [ecx + ebx - 0x359d3e2a]
inc dword [ebp - 4]
ror edi, 2
cmp dword [ebp - 4], 0x50
mov dword [ebp - 0xc], edx
mov edx, esi
mov esi, edi
mov edi, dword [ebp - 8]
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], ecx
jl 0x18064c80
mov ebx, dword [eax + 0x50]
add ebx, ecx
mov ecx, dword [eax + 0x54]
add ecx, edi
mov dword [eax + 0x54], ecx
mov ecx, dword [eax + 0x58]
add ecx, esi
mov dword [eax + 0x58], ecx
mov ecx, dword [eax + 0x5c]
add ecx, edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x5c], ecx
mov ecx, dword [eax + 0x60]
pop edi
add ecx, edx
pop esi
mov dword [eax + 0x50], ebx
mov dword [eax + 0x60], ecx
pop ebx
leave
ret

Function at 0x18064d3a
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 8], 0
and dword [eax + 0xc], 0
mov dword [eax], fcn.18064d3a
mov dword [eax + 0x50], 0x67452301
mov dword [eax + 0x54], 0xefcdab89
mov dword [eax + 0x58], 0x98badcfe
mov dword [eax + 0x5c], 0x10325476
mov dword [eax + 0x60], 0xc3d2e1f0
ret
Function at 0x18064f4e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push 0x40
pop ebx
push ebx
lea edi, [esi + 0x70]
push 0
push edi
call fcn.180769e0
add esp, 0xc
cmp dword [ebp + 0xc], ebx
jbe 0x18064f8b
mov eax, dword [esi]
push esi
call dword [eax]
push dword [ebp + 0xc]
mov eax, dword [esi]
push dword [ebp + 8]
push esi
call dword [eax + 4]
mov eax, dword [esi]
add esp, 0x10
push dword [eax + 0x10]
push esi
call dword [eax + 8]
pop ecx
push eax
jmp 0x18064f91
push dword [ebp + 0xc]
push dword [ebp + 8]
push edi
call fcn.18076170
add esp, 0xc
mov eax, edi
mov ecx, ebx
xor byte [eax], 0x36
inc eax
dec ecx
jne 0x18064f9e
mov eax, dword [esi]
push esi
call dword [eax]
mov eax, dword [esi]
push ebx
push edi
push esi
call dword [eax + 4]
add esp, 0x10
xor byte [edi], 0x6a
inc edi
dec ebx
jne 0x18064fb5
pop edi
pop ebx
pop ebp
ret

Function at 0x18065146
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 8], 0
and dword [eax + 0xc], 0
mov dword [eax], fcn.18065146
mov dword [eax + 0x50], 0x67452301
mov dword [eax + 0x54], 0xefcdab89
mov dword [eax + 0x58], 0x98badcfe
mov dword [eax + 0x5c], 0x10325476
ret
Function at 0x18066a92
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [0x180b5819]
sub esp, 0x34
neg eax
push ebx
sbb eax, eax
and eax, 0x180b5ac0
push esi
push edi
je 0x18066ad4
xor edi, edi
inc edi
push edi
push 8
pop esi
push esi
mov dword [ebp - 0x18], eax
call fcn.18001ccc
mov dword [ebp - 0x14], eax
push str._StartService_
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], esi
call fcn.18001000
pop ecx
push 0xf003f
xor edi, edi
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
cmp eax, edi
jne 0x18066af4
call fcn.1800d4b3
pop edi
pop esi
pop ebx
leave
ret
lea eax, [ebp - 4]
push eax
call fcn.1803fa99
pop ecx
push 0x14
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, eax
cmp ebx, edi
jne 0x18066b33
call fcn.1800d4b3
mov edi, eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.18003e0a
push dword [ebp - 8]
call esi
mov eax, edi
jmp 0x18066aef
push 6
mov dword [ebp - 0x34], edi
pop ecx
xor eax, eax
lea edi, [ebp - 0x30]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x34]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x18066b62
cmp dword [ebp - 0x30], 4
je 0x18066b5b
cmp dword [ebp - 0x30], 2
jne 0x18066b62
push ebx
call esi
xor edi, edi
jmp 0x18066b1f
xor edi, edi
push edi
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x18066b76
push ebx
call esi
jmp 0x18066b1f
call fcn.1800d4b3
mov edi, eax
cmp edi, 0x80070420
jne 0x18066b71
jmp 0x18066b5b

Function at 0x18066e45
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x180af1d0]
xor eax, ebp
mov dword [ebp - 8], eax
and dword [ebp - 0x21c], 0
push ebx
push esi
lea eax, [ebp - 0x218]
call fcn.18007597
mov esi, dword [eax]
xor eax, eax
mov word [ebp - 0x214], ax
test esi, esi
je 0x18066e99
cmp word [esi], ax
je 0x18066e99
lea eax, [ebp - 0x214]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [ebp - 0x218]
add eax, 0xfffffff0
call fcn.18003e0a
mov eax, dword [ebp + 8]
cmp byte [eax], 0
je 0x18066ec4
xor ebx, ebx
inc ebx
call fcn.1805251d
lea eax, [ebp - 0x21c]
call fcn.180528ed
jmp 0x18066ed7
push 2
pop ebx
call fcn.1805251d
lea eax, [ebp - 0x218]
call fcn.18052742
mov eax, dword [eax]
sub eax, 0x10
call fcn.1800392c
mov esi, eax
add esi, 0x10
test bl, 2
je 0x18066efc
mov eax, dword [ebp - 0x218]
add eax, 0xfffffff0
and ebx, 0xfffffffd
call fcn.18003e0a
test bl, 1
je 0x18066f0f
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
call fcn.18003e0a
push esi
call fcn.18004818
pop ecx
lea eax, [esi - 0x10]
call fcn.18003e0a
cmp word [ebp - 0x214], 0
je 0x18066f35
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, dword [ebp - 8]
pop esi
xor ecx, ebp
pop ebx
call fcn.18075e75
leave
ret 4
Function at 0x18067103
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x180b4188]
push ebx
push esi
mov ecx, 0x180b4188
call dword [eax + 0xc]
add eax, 0x10
push 0x104
lea esi, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.18003ce3
mov esi, eax
lea eax, [ebp - 8]
call fcn.18007597
mov eax, dword [eax]
push esi
push 0
push 0x180a8e54
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov ebx, eax
mov eax, dword [ebp - 8]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
call fcn.18003e0a
or eax, 0xffffffff
lea esi, [ebp - 4]
call fcn.18003baa
test bl, bl
mov ebx, dword [ebp - 4]
je 0x18067190
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1806717e
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
lea eax, [ebx - 0x10]
call fcn.18003e0a
mov eax, esi
pop esi
pop ebx
leave
ret 8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push 1
push ebx
push eax
call fcn.1800b2cf
add esp, 0xc
test eax, eax
jl 0x1806717e
push edi
mov edi, dword [ebp + 8]
add edi, 4
lea eax, [ebp - 4]
call fcn.180038eb
xor esi, esi
pop edi
jmp 0x18067180
Function at 0x18069016
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x138
mov eax, dword [0x180af1d0]
xor eax, ebp
mov dword [ebp + 0x6c], eax
mov eax, dword [ebp + 0x78]
push esi
mov esi, dword [0x180b414c]
mov dword [ebp - 0xa0], eax
movzx eax, word [ebp + 0x7c]
push 0xf0
push eax
push esi
mov dword [ebp - 0x9c], 1
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x180691a8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x180691a8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x180691a8
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push edi
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x180691a6
inc esi
inc esi
movzx edi, ax
movzx eax, word [esi]
inc esi
inc esi
mov ecx, dword [esi]
mov dword [ebp - 0xa4], ecx
mov ecx, 0x403
add esi, 4
cmp cx, ax
jne 0x18069117
lea eax, [ebp - 0x94]
push 3
mov dword [ebp - 0x98], eax
push esi
lea eax, [ebp - 0x98]
push eax
call fcn.180212a6
push dword [ebp - 0x98]
movzx eax, di
push 0
push 0x143
push eax
mov eax, dword [ebp - 0xa0]
push dword [eax + 4]
call ebx
cmp eax, 0xffffffff
jne 0x180690f7
and dword [ebp - 0x9c], 0
lea eax, [ebp - 0x94]
cmp dword [ebp - 0x98], eax
je 0x18069193
push dword [ebp - 0x98]
call fcn.180760dd
pop ecx
jmp 0x18069193
mov ecx, 0x1234
cmp cx, ax
jne 0x18069193
or dword [ebp - 0xc4], 0xffffffff
lea eax, [ebp - 0x94]
push 3
mov dword [ebp - 0x98], eax
push esi
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0xc8], 1
call fcn.180212a6
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x94]
mov dword [ebp - 0xc0], eax
cmp eax, ecx
je 0x1806916a
push eax
call fcn.180760dd
pop ecx
lea eax, [ebp - 0xc8]
push eax
push 0
movzx eax, di
push 0x40b
push eax
mov eax, dword [ebp - 0xa0]
push dword [eax + 4]
call ebx
cmp eax, 0xffffffff
jne 0x18069193
and dword [ebp - 0x9c], 0
add esi, dword [ebp - 0xa4]
cmp dword [ebp - 0x9c], 0
jne 0x18069087
pop edi
pop ebx
mov ecx, dword [ebp + 0x6c]
mov eax, dword [ebp - 0x9c]
xor ecx, ebp
pop esi
call fcn.18075e75
add ebp, 0x70
leave
ret 8

Function at 0x1806d7c7
Capabilities:
Hide graphical window

Disassembly:
push ebx
push dword [esp + 8]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
movzx eax, byte [esi]
neg eax
sbb eax, eax
and eax, 5
push eax
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
cmp byte [esi + 1], al
setne al
push eax
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [esi + 2], 0
je 0x1806d82d
cmp byte [esi + 3], 0
je 0x1806d82d
push 1
push ebx
push 0x28
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, eax
je 0x1806d82d
or eax, 1
push eax
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
pop ebx
ret 4