joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408210
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x47900c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0xc], 4
mov dword [ebp - 8], 4
push edi
mov edi, edx
test esi, esi
je 0x408269
test edi, edi
je 0x408269
lea eax, [ebp - 0x10]
push eax
push 0x20119
push 0
push str.SoftwareIntelServicesDAL
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40827b
push eax
push str.Unable_to_open_Registry__0x_x__n
call fcn.00402c70
add esp, 8
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434098
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 0xc]
push eax
push 0
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4082bd
push esi
push str.Registry_read_integer_key__S_failed._n
call fcn.00402c70
add esp, 8
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434098
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.00434098
mov esp, ebp
pop ebp
ret
Function at 0x41a1f0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x1a0], 0xffffffff
je 0x41a2e2
push ebx
push edi
mov eax, dword [esi + 8]
push 0xffffffffffffffff
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push 0
push dword [esi + 0x1a0]
call dword [sym.imp.WS2_32.dll_accept]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41a2bd
push 0x45ef20
push 0xc
call fcn.00434580
mov edi, eax
add esp, 8
test edi, edi
jne 0x41a268
push 0xc
push str.JHI_memory_allocation_of_size__d_failed_.
call fcn.00402c50
push str.CS_ClientThreadParams_memory_allocation_failed
call fcn.00402c70
mov eax, dword [esi + 8]
add esp, 0xc
push edi
push 1
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
jmp 0x41a2ac
push 0
push 0
push edi
push 0x41a2f0
mov dword [edi], ebx
mov eax, dword [esi + 0xc]
push 0
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
push 0
mov dword [edi + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x41a2a5
push str.failed_creating_thread_for_client_request_n
call fcn.00402c70
push 0xc
push edi
call fcn.00434541
add esp, 0xc
jmp 0x41a2ac
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0x1a0], 0xffffffff
jne 0x41a202
pop edi
pop ebx
pop esi
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.accept_failed_with_error:__d_n
call fcn.00402c70
mov eax, dword [esi + 8]
add esp, 8
push 0
push 1
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
pop edi
pop ebx
pop esi
ret
Function at 0x41bb60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45bb68
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x47900c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp byte [ebx + 8], 0
je 0x41bb9d
mov eax, 1
jmp 0x41bd1d
call fcn.0040b470
mov esi, dword [eax + 0x40]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov byte [ebp - 0x2c], al
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041b490
test al, al
jne 0x41bbda
mov edi, 0x1014
jmp 0x41bcdd
cmp esi, 2
mov esi, dword [ebp - 0x2c]
jne 0x41bbf2
push esi
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.0041c160
test eax, eax
je 0x41bc5c
push str.Installing_the_Spooler...
call fcn.00402c70
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
push esi
cmovae edx, dword [ebp - 0x28]
mov ecx, str.BA8D164350B649CC861D2C01BED14BE8
push 0
call fcn.0041ee80
mov edi, eax
add esp, 0xc
test edi, edi
je 0x41bc31
cmp edi, 0x108
je 0x41bc31
push str.failed_downloading_Spooler_Applet_to_DAL_FW_n
call fcn.00402c50
jmp 0x41bc3b
push str.Spooler_is_installed.
call fcn.00402c70
add esp, 4
test edi, edi
jne 0x41bcdf
push esi
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.0041c160
mov edi, eax
test edi, edi
jne 0x41bcdf
call fcn.0040b470
mov esi, eax
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x38]
push dword [esi]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push str.Creating_the_event_listener_thread...
call fcn.00402c70
add esp, 4
push 0
push 0
push 0
push 0x41b090
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 4], eax
test eax, eax
jne 0x41bcce
push str.Failed_creating_event_handle_thread_n
call fcn.00402c70
mov eax, dword [ebp - 0x2c]
add esp, 4
mov edi, 0x601
mov eax, dword [eax]
push ebx
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [0x45e29c]
mov ecx, dword [ebp - 0x2c]
call esi
jmp 0x41bcdd
push str.Event_listener_thread_created_successfully
call fcn.00402c70
add esp, 4
xor edi, edi
test edi, edi
mov edx, dword [ebp - 0x14]
sete al
mov byte [ebx + 8], al
cmp edx, 8
jb 0x41bd1b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41bd11
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bd39
push edx
push ecx
call fcn.00434541
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00434098
mov esp, ebp
pop ebp
ret
call fcn.0043e4ec
int3
Function at 0x41c5d0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x47900c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
cmp byte [edi + 4], 0
je 0x41c725
mov eax, dword [ebp - 8]
and eax, 0xffff02ff
or eax, 0x2ff
push 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 8]
push eax
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41c704
push str.Sent_FWU_GET_VERSION_to_HECI._n
call fcn.00402c70
add esp, 4
mov byte [ebp - 0xd], 0
mov dword [ebp - 8], 0
test ebx, ebx
je 0x41c725
mov eax, dword [edi + 0x10]
test eax, eax
je 0x41c725
push eax
call fcn.004077e0
mov esi, eax
add esp, 4
test esi, esi
je 0x41c725
push dword [edi + 0x10]
push 0
push esi
call fcn.00437ca0
add esp, 0xc
lea eax, [ebp - 8]
push 0
push eax
push dword [edi + 0x10]
push esi
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41c6cc
push dword [ebp - 8]
push str.Number_bytes_read_from_HECI:__d_n
call fcn.00402c70
add esp, 8
cmp byte [esi + 3], 0
je 0x41c6a7
push str.Got_error_status_from_HCI_GET_FW_VERSION._n
call fcn.00402c70
add esp, 4
jmp 0x41c6e0
movzx eax, word [esi + 6]
mov word [ebx], ax
movzx eax, word [esi + 4]
mov word [ebx + 2], ax
movzx eax, word [esi + 0xa]
mov word [ebx + 4], ax
movzx eax, word [esi + 8]
mov word [ebx + 6], ax
mov byte [ebp - 0xd], 1
jmp 0x41c6e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.HeciRead_Error._LastError___d_n
call fcn.00402c70
add esp, 8
push esi
call fcn.00407870
add esp, 4
cmp byte [ebp - 0xd], 0
je 0x41c725
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434098
mov esp, ebp
pop ebp
ret 4
push str.Error:_sending_FWU_GET_VERSION_request_to_HECI_failed._n
call fcn.00402c70
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.error:__d
call fcn.00402c70
add esp, 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00434098
mov esp, ebp
pop ebp
ret 4
Function at 0x41f9b0
Capabilities:
Check mutex on windows
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45bdea
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x47900c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x46f7c0
call fcn.00402c50
add esp, 4
call fcn.0040b470
mov esi, eax
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi]
mov dword [esi + 4], 2
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push 0x45ef20
push 8
call fcn.00434580
mov edi, eax
add esp, 8
test edi, edi
je 0x41fa31
push 0
push 0
push 0
mov dword [edi], vtable.intel_dal::CommandDispatcher.0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi + 4], eax
jmp 0x41fa42
push 8
push str.JHI_memory_allocation_of_size__d_failed_.
xor edi, edi
call fcn.00402c50
add esp, 8
push 0x1a4
call fcn.004342c0
mov ebx, eax
add esp, 4
mov dword [ebp - 0x10], ebx
push 0x1a4
push 0
push ebx
mov dword [ebp - 4], 0
call fcn.00437ca0
add esp, 0xc
mov dword [ebx], vtable.intel_dal::ICommandsServer.0
push 4
call fcn.004342c0
add esp, 4
mov esi, eax
mov dword [ebp - 0x14], esi
push 0
push 0xa
push 0xa
push 0
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov dword [esi], eax
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
mov byte [ebx + 4], 0xa
lea esi, [ebx + 0x10]
mov byte [ebp - 4], 1
push esi
push 0x202
mov dword [ebx], vtable.intel_dal::CommandsServerSocketsWin32.0
mov dword [ebx + 0x1a0], 0xffffffff
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x41fb7a
cmp byte [esi], 2
jne 0x41fb4c
cmp byte [esi + 1], 2
jne 0x41fb4c
mov dword [ebp - 4], 0xffffffff
push str.opening_command_server_n
mov dword [0x47b804], ebx
call fcn.00402c70
mov edi, dword [0x47b804]
add esp, 4
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x45e29c]
mov ecx, edi
call esi
test al, al
jne 0x41fb2b
push str.Error:_command_server_has_failed_to_open_a_connection_n
call fcn.00402c50
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.____jhi_start
call fcn.00402c50
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Could_not_find_a_usable_version_of_Winsock.dll_n
call fcn.00402c50
add esp, 4
call dword [sym.imp.WS2_32.dll_WSACleanup]
push str.Could_not_find_a_usable_version_of_Winsock.dll
lea ecx, [ebp - 0x2c]
call fcn.00401c50
push 0x477538
lea eax, [ebp - 0x2c]
push eax
call fcn.00437dfa
push eax
push str.WSAStartup_failed_with_error:__d_n
call fcn.00402c50
add esp, 8
lea ecx, [ebp - 0x20]
push str.WSAStartup_failed
call fcn.00401c50
push 0x477538
lea eax, [ebp - 0x20]
push eax
call fcn.00437dfa
int3
Function at 0x41fc80
Capabilities:
Create mailslot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x47900c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
push ebx
mov ebx, edx
mov dword [ebp - 0x38], eax
cmp dword [eax + 0x24], 0
je 0x41fcb2
mov eax, 7
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434098
mov esp, ebp
pop ebp
ret
push esi
test ebx, ebx
je 0x41fda5
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x41fcc0
sub esi, ecx
cmp esi, 0x20
ja 0x41fda5
push edi
push str..mailslot_
lea eax, [ebp - 0x34]
push 0x2e
push eax
call fcn.0043d54a
push ebx
lea eax, [ebp - 0x34]
push 0x2e
push eax
call fcn.00444469
mov eax, dword [ebp + 8]
add esp, 0x18
test eax, eax
jne 0x41fd26
push eax
push eax
push 0x1a8
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMailslotA]
mov edi, eax
cmp edi, 0xffffffff
je 0x41fd4d
push 0
push 0
push 0
push 0
push 4
push 6
push edi
call dword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
jmp 0x41fd48
cmp eax, 1
jne 0x41fd8f
push 0
push 0x80
push 3
push 0
push eax
push 0x40000000
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41fd63
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434098
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [ebp - 0x38]
push ebx
push 0x22
push esi
call fcn.0044445e
mov eax, dword [ebp + 8]
add esp, 0x10
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434098
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xa
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434098
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 8
pop esi
xor ecx, ebp
pop ebx
call fcn.00434098
mov esp, ebp
pop ebp
ret
Function at 0x420020
Capabilities:
Read file on windows
Read from mailslot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1bc
mov eax, dword [0x47900c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov esi, edx
cmp dword [edi + 0x28], 0
je 0x420054
pop edi
mov eax, 0xa
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434098
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x24]
test eax, eax
je 0x42006f
push 0
lea ecx, [ebp - 0x1b4]
push ecx
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetMailslotInfo]
cmp dword [ebp - 0x1b4], 0
ja 0x42008d
pop edi
mov eax, 9
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434098
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0x1b8]
push eax
push 0x1a8
lea eax, [ebp - 0x1b0]
push eax
push dword [edi + 0x24]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4200c4
pop edi
mov eax, 4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434098
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1b8]
cmp eax, 0x1aa
jae 0x42016e
mov byte [ebp + eax - 0x1b0], 0
lea edx, [ebp - 0x1bc]
lea eax, [ebp - 0x1b0]
mov ecx, esi
push 0x10
mov dword [ebp - 0x1bc], eax
call fcn.00420180
add esp, 4
test eax, eax
je 0x420159
push 0x20
lea ecx, [esi + 0x12]
lea edx, [ebp - 0x1bc]
call fcn.00420180
add esp, 4
test eax, eax
je 0x420159
push 0x20
lea ecx, [esi + 0x34]
lea edx, [ebp - 0x1bc]
call fcn.00420180
add esp, 4
test eax, eax
je 0x420159
push 0x140
lea ecx, [esi + 0x56]
lea edx, [ebp - 0x1bc]
call fcn.00420180
add esp, 4
test eax, eax
je 0x420159
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434098
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0xb
pop edi
xor ecx, ebp
pop esi
call fcn.00434098
mov esp, ebp
pop ebp
ret
call fcn.004346f1
int3
Function at 0x423990
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c206
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x47900c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], edx
mov dword [edi], eax
mov dword [ebp - 4], 0
push 0x7c
mov dword [edi + 4], 0
call fcn.004342c0
mov dword [edi + 4], eax
mov ecx, dword [ebp - 0x10]
lea esi, [eax + 0x20]
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], esi
movups xmm0, xmmword [ecx]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ecx + 0x10]
movups xmmword [esi], xmm0
mov eax, dword [ecx + 0x20]
mov dword [esi + 0x10], eax
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
movups xmm0, xmmword [ecx + 0x24]
movups xmmword [esi + 0x14], xmm0
movq xmm0, qword [ecx + 0x34]
movq qword [esi + 0x24], xmm0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0xf
mov byte [ecx + 0x24], 0
mov byte [ebp - 4], 2
mov eax, dword [ecx + 0x3c]
mov dword [esi + 0x2c], eax
mov eax, dword [ecx + 0x40]
mov dword [esi + 0x30], eax
push 0x14
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
call fcn.004342c0
mov edx, dword [ebp - 0x10]
mov ecx, eax
mov dword [ecx], ecx
mov dword [ecx + 4], ecx
mov dword [esi + 0x34], ecx
mov eax, dword [edx + 0x44]
mov dword [esi + 0x34], eax
mov eax, dword [edx + 0x48]
mov dword [edx + 0x44], ecx
mov ecx, dword [esi + 0x38]
mov dword [esi + 0x38], eax
mov dword [edx + 0x48], ecx
add esi, 0x3c
mov byte [ebp - 4], 3
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.004342c0
mov edx, dword [ebp - 0x10]
add esp, 0xc
add edx, 0x4c
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov eax, dword [edx]
mov ecx, dword [esi]
mov dword [esi], eax
mov dword [edx], ecx
mov eax, dword [esi]
test eax, eax
je 0x423ad3
mov dword [eax], esi
mov eax, dword [edx]
test eax, eax
je 0x423adb
mov dword [eax], edx
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x14]
mov dword [esi + 4], eax
mov eax, dword [edx + 8]
mov dword [esi + 8], eax
mov eax, dword [edx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edx + 0x10]
mov dword [esi + 0x10], eax
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x60]
mov dword [ecx + 0x50], eax
mov eax, dword [edx + 0x64]
mov dword [ecx + 0x54], eax
mov eax, dword [edx + 0x68]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x58], eax
mov eax, edi
mov ecx, dword [edi + 4]
mov dword [ecx], edx
mov ecx, dword [edi + 4]
mov dword [ecx + 4], edx
mov ecx, dword [edi + 4]
mov dword [ecx + 8], edx
mov ecx, dword [edi + 4]
mov byte [ecx + 0xc], 0
mov ecx, dword [edi + 4]
mov byte [ecx + 0xd], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x424ba0
Capabilities:
Delete service

Disassembly:
push ecx
push esi
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
jne 0x424bdc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x424c61
push eax
push str.OpenSCManager_failed___d__n
call fcn.0041c910
add esp, 8
lea eax, [esi + 1]
pop edi
pop esi
pop ecx
ret
push 0x10000
push str.jhi_service
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x424c3d
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x424c61
cmp eax, 0x424
jne 0x424c20
push str.Error:_the_service_does_not_exist._n
call fcn.0041c910
add esp, 4
lea eax, [edi + 4]
pop edi
pop esi
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Uninstall_Service_failed:___d__n
call fcn.0041c910
add esp, 8
mov eax, 1
pop edi
pop esi
pop ecx
ret
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x424c77
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x424c20
push str.ACCESS_DENIED:_administrative_privileges_required._n
call fcn.0041c910
add esp, 4
mov eax, 2
pop edi
pop esi
pop ecx
ret
push str.JHI_Service_removed_successfully_n
call fcn.0041c910
add esp, 4
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
xor eax, eax
pop esi
pop ecx
ret

Function at 0x426620
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0x47900c]
xor eax, esp
mov dword [esp + 0x194], eax
push esi
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x42665c
mov eax, 0xfffffffe
pop edi
pop esi
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.00434098
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
sub eax, 1
je 0x4266c4
sub eax, 1
jne 0x426643
push 0x18
mov dword [edi], 0x426a90
mov dword [edi + 4], 0x426b40
mov dword [edi + 8], 0x426ea0
mov dword [edi + 0xc], 0x426fc0
mov dword [edi + 0x10], 0x427140
mov dword [edi + 0x14], eax
call fcn.004443a0
add esp, 4
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x47b900], esi
mov dword [edi + 0x14], 1
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.00434098
mov esp, ebp
pop ebp
ret
push 0x190
lea eax, [esp + 0xc]
mov dword [edi], 0x426760
push 0
push eax
mov dword [edi + 4], 0x4267a0
mov dword [edi + 8], 0x426950
mov dword [edi + 0xc], 0x4269b0
mov dword [edi + 0x10], 0x426a20
mov dword [edi + 0x14], 0
call fcn.00437ca0
add esp, 0xc
lea eax, [esp + 8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x4266a7
mov ecx, dword [esp + 0x19c]
or eax, 0xffffffff
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
pop edi
pop esi
xor ecx, esp
call fcn.00434098
mov esp, ebp
pop ebp
ret
Function at 0x4273a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0xc], edx
push 0x24
mov dword [ebp - 4], ebx
mov dword [ebp - 8], 0xffffffff
call fcn.004443a0
mov esi, eax
add esp, 4
test esi, esi
jne 0x4273d0
lea edi, [eax + 1]
jmp 0x427489
mov byte [esi + 0x18], 1
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], esi
xor ebx, ebx
push ebx
push 0x40000000
push 3
push ebx
push 3
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x42742f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x42742a
mov ebx, 3
cmp eax, 3
jne 0x42742f
mov ebx, 2
movzx edi, bx
test bx, bx
jne 0x427486
lea eax, [esi + 4]
test eax, eax
je 0x427471
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x42746b
movups xmm0, xmmword [ecx]
push dword [ebp + 8]
movups xmmword [eax], xmm0
call fcn.004450f0
add esp, 4
mov dword [esi + 0x20], eax
test eax, eax
je 0x427481
mov eax, dword [ebp - 8]
pop edi
mov dword [esi], eax
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
movups xmmword [eax], xmm0
call fcn.004421d1
mov dword [eax], 0x16
call fcn.0043e4dc
mov edi, 5
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x4274a2
push dword [esi + 0x20]
call fcn.0043da60
add esp, 4
push esi
call fcn.0043da60
add esp, 4
mov ax, di
test ebx, ebx
je 0x4274b8
mov dword [ebx], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret