joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b1e0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [ebx + 0x14]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edx
and ecx, eax
cmp dword [ebx + 0x18], ecx
ja 0x40b238
shr edx, 1
or eax, 0xffffffff
sub eax, edx
add ecx, eax
mov edx, dword [ebx + 8]
lea eax, [ecx*8]
mov esi, dword [ebx]
mov dword [esp + 0x14], eax
add eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [eax]
cmp esi, eax
je 0x40b270
mov esi, dword [esp + 0x10]
mov esi, dword [esi + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x40b270
mov eax, dword [edi]
mov esi, dword [esi + 4]
cmp dword [esi + 8], eax
je 0x40b2b4
cmp esi, dword [edx + ecx*8]
jne 0x40b263
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x40b29a
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 8]
mov edx, dword [esp + 0x14]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x40b2e5
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [eax + edx + 4], edi
jmp 0x40b307
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 4]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov eax, dword [ebp + 8]
add esp, 4
mov dword [eax], esi
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x40b2ed
mov dword [ecx], edi
jmp 0x40b307
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x40b307
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.0040b890
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40b3b0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [ebx + 0x14]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edx
and ecx, eax
cmp dword [ebx + 0x18], ecx
ja 0x40b403
shr edx, 1
or eax, 0xffffffff
sub eax, edx
add ecx, eax
mov edx, dword [ebx + 8]
lea eax, [ecx*8]
mov esi, dword [ebx]
mov dword [ebp - 4], eax
add eax, edx
mov dword [ebp + 0xc], eax
mov eax, dword [eax]
cmp esi, eax
je 0x40b43d
mov esi, dword [ebp + 0xc]
mov esi, dword [esi + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x40b43d
mov eax, dword [edi]
jmp 0x40b430
mov esi, dword [esi + 4]
cmp dword [esi + 8], eax
je 0x40b480
cmp esi, dword [edx + ecx*8]
jne 0x40b430
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x40b467
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 8]
mov edx, dword [ebp - 4]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x40b4b1
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [eax + edx + 4], edi
jmp 0x40b4d3
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 4]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x40b4b9
mov dword [ecx], edi
jmp 0x40b4d3
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x40b4d3
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.0040a460
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40b950
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4319f8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x445010]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.MSVCR120.dll_public:_void___thiscall_std::exception::constructor_class_std::exception_const__]
mov dword [ebp - 4], 0
lea ecx, [edi + 0x14]
mov dword [edi], vtable.boost::system::system_error.0
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
lea eax, [esi + 0x14]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0040eca0
mov dword [edi + 0x2c], vtable.boost::exception.0
mov eax, edi
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.0
mov dword [edi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.1.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x410630
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432160
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x445010]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp word [edx], ax
jne 0x41067d
xor ecx, ecx
jmp 0x410691
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410682
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.0040dff0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov dword [ebp - 0x48], 0
je 0x410772
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x48]
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x41075d
mov ecx, dword [ebp - 0x48]
test ecx, ecx
jle 0x41075d
xor esi, esi
test ecx, ecx
jle 0x410756
lea ecx, [edi + 0x18]
mov dword [ebp - 0x50], ecx
mov edx, dword [eax + esi*4]
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
cmp word [edx], ax
je 0x410721
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x410712
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x44]
call fcn.0040dff0
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 1
call fcn.00410920
mov byte [ebp - 4], 0
cmp dword [ebp - 0x30], 8
jb 0x41074d
push dword [ebp - 0x44]
call ebx
add esp, 4
mov eax, dword [ebp - 0x4c]
inc esi
cmp esi, dword [ebp - 0x48]
jl 0x4106f1
mov esi, 1
jmp 0x410774
push 0x437610
push str.GxxSvcArguments
push 3
call dword [sym.imp.commutil.dll_void___cdecl_Logger::LogW_int__wchar_t_const___wchar_t_const__]
add esp, 0xc
xor esi, esi
cmp dword [ebp - 0x18], 8
jb 0x410782
push dword [ebp - 0x2c]
call ebx
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004304e8
mov esp, ebp
pop ebp
ret 4
Function at 0x411180
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov esi, edx
mov edx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [edi + 0x10]
test eax, eax
je 0x4111bd
cmp dword [edi + 0x14], 8
jb 0x41119e
mov ecx, dword [edi]
add eax, eax
push eax
push ecx
push 1
push str.path
push str.SoftwareGarenagxx_
push reloc.OLEAUT32.dll_SysReAllocString
call edx
mov edx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ebx, eax
xor eax, eax
cmp dword [esi + 0x10], eax
jne 0x4111e6
cmp dword [esi + 0x14], 8
jb 0x4111ce
mov eax, dword [esi]
jmp 0x4111d0
mov eax, esi
push 0
push eax
push 1
push 0x437738
push str.SoftwareGarenagxx_
push reloc.OLEAUT32.dll_SysReAllocString
call edx
cmp dword [esi + 0x14], 8
jb 0x4111ee
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x4111f6
mov edi, dword [edi]
push eax
push esi
push ebx
push edi
push str.save_regpath_s__pres_d__ver_s__vres_d
push str.ServiceHelper
push 1
call dword [sym.imp.commutil.dll_void___cdecl_Logger::LogW_int__wchar_t_const___wchar_t_const__]
add esp, 0x1c
pop edi
pop esi
pop ebx
ret
Function at 0x411530
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x445010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 1
xorps xmm0, xmm0
mov dword [ebp - 8], 0
push 0
push 0
movdqu xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
test ebx, ebx
jne 0x411595
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.open_sc_mgrerr0x_08lx
push str.ServiceHelper
push 3
call dword [sym.imp.commutil.dll_void___cdecl_Logger::LogW_int__wchar_t_const___wchar_t_const__]
add esp, 0x10
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004304e8
mov esp, ebp
pop ebp
ret
push esi
push edi
push 0x10024
push str.GarenaPlatform
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x4115cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.open_svcerr0x_08lx
push str.ServiceHelper
push 3
call dword [sym.imp.commutil.dll_void___cdecl_Logger::LogW_int__wchar_t_const___wchar_t_const__]
jmp 0x4116b0
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov edi, dword [sym.imp.commutil.dll_void___cdecl_Logger::LogW_int__wchar_t_const___wchar_t_const__]
test eax, eax
je 0x41167d
push str.GarenaPlatform
push str.svc_stoppingname_s
push str.ServiceHelper
push 1
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x10
push 0x3e8
call ebx
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x41163e
lea esp, [esp]
mov eax, dword [ebp - 0x1c]
cmp eax, 3
jne 0x411641
push 0x3e8
call ebx
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x411620
mov eax, dword [ebp - 0x1c]
cmp eax, 1
jne 0x41165d
push str.GarenaPlatform
push str.svc_stoppedname_s
push str.ServiceHelper
push eax
call edi
add esp, 0x10
jmp 0x41167a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GarenaPlatform
push str.stop_svc_failedname_s__err0x_08lx
push str.ServiceHelper
push 3
call edi
add esp, 0x14
mov ebx, dword [ebp - 0x24]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x41169d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.delete_svcerr0x_08lx
push str.ServiceHelper
push 3
jmp 0x4116ae
push str.GarenaPlatform
push str.svc_removedname_s
push str.ServiceHelper
push 1
call edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
add esp, 0x10
push ebx
call edi
test esi, esi
je 0x4116c3
push esi
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004304e8
mov esp, ebp
pop ebp
ret
Function at 0x4116e0
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x445010]
xor eax, ebp
mov dword [ebp - 4], eax
push 1
xorps xmm0, xmm0
mov dword [ebp - 8], 0
push 0
push 0
movdqu xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x411741
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.open_sc_mgrerr0x_08lx
push str.ServiceHelper
push 3
call dword [sym.imp.commutil.dll_void___cdecl_Logger::LogW_int__wchar_t_const___wchar_t_const__]
add esp, 0x10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004304e8
mov esp, ebp
pop ebp
ret
push esi
push edi
push 0x14
push str.GarenaPlatform
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x411778
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.open_svcerr0x_08lx
push str.ServiceHelper
push 3
call dword [sym.imp.commutil.dll_void___cdecl_Logger::LogW_int__wchar_t_const___wchar_t_const__]
add esp, 0x10
jmp 0x411846
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x411825
push ebx
push str.GarenaPlatform
push str.svc_startingname_s
push str.ServiceHelper
push 1
call dword [sym.imp.commutil.dll_void___cdecl_Logger::LogW_int__wchar_t_const___wchar_t_const__]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x10
push 0x3e8
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
lea eax, [ebp - 0x20]
push eax
push esi
call ebx
test eax, eax
je 0x4117de
mov eax, dword [ebp - 0x1c]
cmp eax, 2
jne 0x4117e1
push 0x3e8
call edi
lea eax, [ebp - 0x20]
push eax
push esi
call ebx
test eax, eax
jne 0x4117c4
mov eax, dword [ebp - 0x1c]
pop ebx
cmp eax, 4
jne 0x411804
mov eax, dword [sym.imp.commutil.dll_void___cdecl_Logger::LogW_int__wchar_t_const___wchar_t_const__]
push str.GarenaPlatform
push str.svc_startedname_s
push str.ServiceHelper
push 1
call eax
add esp, 0x10
jmp 0x411846
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [sym.imp.commutil.dll_void___cdecl_Logger::LogW_int__wchar_t_const___wchar_t_const__]
push str.GarenaPlatform
push str.start_svc_failedname_s__err0x_08lx
push str.ServiceHelper
push 3
call eax
jmp 0x411843
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GarenaPlatform
push str.start_svc_failedname_s__err0x_08lx
push str.ServiceHelper
push 3
call dword [sym.imp.commutil.dll_void___cdecl_Logger::LogW_int__wchar_t_const___wchar_t_const__]
add esp, 0x14
push dword [ebp - 0x24]
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
test esi, esi
je 0x411858
push esi
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004304e8
mov esp, ebp
pop ebp
ret
Function at 0x411870
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x445010]
xor eax, ebp
mov dword [ebp - 4], eax
push 1
xorps xmm0, xmm0
mov dword [ebp - 8], 0
push 0
push 0
movdqu xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x4118d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.open_sc_mgrerr0x_08lx
push str.ServiceHelper
push 3
call dword [sym.imp.commutil.dll_void___cdecl_Logger::LogW_int__wchar_t_const___wchar_t_const__]
add esp, 0x10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004304e8
mov esp, ebp
pop ebp
ret
push esi
push edi
push 0x24
push str.GarenaPlatform
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x411908
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.open_svcerr0x_08lx
push str.ServiceHelper
push 3
call dword [sym.imp.commutil.dll_void___cdecl_Logger::LogW_int__wchar_t_const___wchar_t_const__]
add esp, 0x10
jmp 0x4119d7
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x4119b6
push ebx
push str.GarenaPlatform
push str.svc_stoppingname_s
push str.ServiceHelper
push 1
call dword [sym.imp.commutil.dll_void___cdecl_Logger::LogW_int__wchar_t_const___wchar_t_const__]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x10
push 0x3e8
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
lea eax, [ebp - 0x20]
push eax
push esi
call ebx
test eax, eax
je 0x411970
mov eax, dword [ebp - 0x1c]
cmp eax, 3
jne 0x411973
push 0x3e8
call edi
lea eax, [ebp - 0x20]
push eax
push esi
call ebx
test eax, eax
jne 0x411956
mov eax, dword [ebp - 0x1c]
pop ebx
cmp eax, 1
jne 0x411995
push str.GarenaPlatform
push str.svc_stoppedname_s
push str.ServiceHelper
push eax
mov eax, dword [sym.imp.commutil.dll_void___cdecl_Logger::LogW_int__wchar_t_const___wchar_t_const__]
call eax
add esp, 0x10
jmp 0x4119d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [sym.imp.commutil.dll_void___cdecl_Logger::LogW_int__wchar_t_const___wchar_t_const__]
push str.GarenaPlatform
push str.stop_svc_failedname_s__err0x_08lx
push str.ServiceHelper
push 3
call eax
jmp 0x4119d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GarenaPlatform
push str.stop_svc_failedname_s__err0x_08lx
push str.ServiceHelper
push 3
call dword [sym.imp.commutil.dll_void___cdecl_Logger::LogW_int__wchar_t_const___wchar_t_const__]
add esp, 0x14
push dword [ebp - 0x24]
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
test esi, esi
je 0x4119e9
push esi
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004304e8
mov esp, ebp
pop ebp
ret
Function at 0x411b60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4322a4
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x445010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [edi], vtable.boost::detail::thread_data_base.0
mov dword [edi + 4], 0
mov dword [ebp - 0x40], edi
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
lea ecx, [edi + 0x14]
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
call fcn.004136b0
mov dword [edi + 0x14], eax
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
push 0
push 0
push 1
push 0
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
jne 0x411c34
push str.boost::thread_resource_error
push 0xb
lea ecx, [ebp - 0x3c]
call fcn.00406860
mov dword [ebp - 0x3c], vtable.boost::thread_resource_error.0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 4
push eax
call fcn.004091a0
mov dword [edi + 0x34], eax
mov eax, edi
mov byte [edi + 0x38], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004304e8
mov esp, ebp
pop ebp
ret
Function at 0x412f40
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [sym.imp.commutil.dll_void___cdecl_Logger::LogW_int__wchar_t_const___wchar_t_const__]
push str.delete_task_xp
push str.GxxTaskScheduler
push 1
call esi
add esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x412fc1
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x412fc1
push str.gxx_speed_launcher
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x412fab
push eax
push str.delete_reg_valerr_d
push str.GxxTaskScheduler
push 3
call esi
add esp, 0x10
push str.delete_task_complete
push str.GxxTaskScheduler
push 1
call esi
add esp, 0xc
pop esi
mov esp, ebp
pop ebp
ret
push eax
push str.open_reg_keyerr_d
push str.GxxTaskScheduler
push 3
call esi
add esp, 0x10
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x414c90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4328dc
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x445010]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
mov dword [edi + 0x28], 0x437b1c
mov dword [edi + 0x30], vtable.boost::exception_detail::clone_base.0
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
push esi
mov dword [ebp - 0x10], 1
call dword [sym.imp.MSVCR120.dll_public:_void___thiscall_std::bad_cast::constructor_class_std::bad_cast_const__]
mov dword [edi], vtable.boost::bad_lexical_cast.0
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
lea ebx, [esi + 0x14]
mov dword [ebp - 4], 1
lea esi, [edi + 0x14]
mov dword [esi], vtable.boost::exception.0
mov ecx, dword [ebx + 4]
mov dword [esi + 4], ecx
test ecx, ecx
je 0x414d1e
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x10], eax
mov dword [ebp - 4], 2
mov eax, dword [edi + 0x28]
mov dword [edi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::bad_lexical_cast__.2.0
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::bad_lexical_cast__.1.0
push ebx
mov eax, dword [eax + 4]
push esi
mov dword [eax + edi + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::bad_lexical_cast__.0
mov eax, dword [edi + 0x28]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edi + 0x24], eax
call fcn.0040d710
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 esp, ebp
pop ebp
ret 0xc