joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000fdf7
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
call sym.RTCore.dll_public:_unsigned_long_int___thiscall_CLowLevelHwInterfaceATI::GetCoreFamily_void_
mov edi, eax
and edi, 0xffff
cmp edi, 0x300
jae 0x1000fe1a
xor eax, eax
jmp 0x1000fea5
push ebx
push 0x1001e1f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ebx, eax
test ebx, ebx
je 0x1000fe39
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp + 0x1c]
mov ecx, esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
cmp edi, 0x800
jb 0x1000fe5c
call sym.RTCore.dll_public:_int___thiscall_CLowLevelHwInterfaceATI::R8xx_I2CWrite_unsigned_long_int__unsigned_long_int__unsigned_char___unsigned_long_int__unsigned_long_int__unsigned_long_int_
jmp 0x1000fe8e
cmp edi, 0x700
jb 0x1000fe6b
call sym.RTCore.dll_public:_int___thiscall_CLowLevelHwInterfaceATI::R7xx_I2CWrite_unsigned_long_int__unsigned_long_int__unsigned_char___unsigned_long_int__unsigned_long_int__unsigned_long_int_
jmp 0x1000fe8e
cmp edi, 0x600
jb 0x1000fe7a
call sym.RTCore.dll_public:_int___thiscall_CLowLevelHwInterfaceATI::R6xx_I2CWrite_unsigned_long_int__unsigned_long_int__unsigned_char___unsigned_long_int__unsigned_long_int__unsigned_long_int_
jmp 0x1000fe8e
cmp edi, 0x500
jb 0x1000fe89
call sym.RTCore.dll_public:_int___thiscall_CLowLevelHwInterfaceATI::R5xx_I2CWrite_unsigned_long_int__unsigned_long_int__unsigned_char___unsigned_long_int__unsigned_long_int__unsigned_long_int_
jmp 0x1000fe8e
call sym.RTCore.dll_public:_int___thiscall_CLowLevelHwInterfaceATI::R3xx_I2CRead_unsigned_long_int__unsigned_long_int__unsigned_char___unsigned_long_int__unsigned_long_int__unsigned_long_int_
mov esi, eax
test ebx, ebx
je 0x1000fea2
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop ebx
pop edi
pop esi
pop ebp
ret 0x18

Function at 0x1001100d
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push str.GlobalAccess_NV_I2C
push 0
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
test edi, edi
je 0x10011032
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esi + 0x44], 0x50
push dword [ebp + 0x1c]
mov ecx, esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
jb 0x10011053
call sym.RTCore.dll_public:_int___thiscall_CLowLevelHwInterfaceNVIDIA::NV5x_I2CRead_unsigned_long_int__unsigned_long_int__unsigned_char___unsigned_long_int__unsigned_long_int__unsigned_long_int_
jmp 0x10011058
call sym.RTCore.dll_public:_int___thiscall_CLowLevelHwInterfaceNVIDIA::NV1x_I2CRead_unsigned_long_int__unsigned_long_int__unsigned_char___unsigned_long_int__unsigned_long_int__unsigned_long_int_
mov esi, eax
test edi, edi
je 0x1001106c
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x10011074
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push str.GlobalAccess_NV_I2C
push 0
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
test edi, edi
je 0x10011099
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esi + 0x44], 0x50
push dword [ebp + 0x1c]
mov ecx, esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
jb 0x100110ba
call sym.RTCore.dll_public:_int___thiscall_CLowLevelHwInterfaceNVIDIA::NV5x_I2CWrite_unsigned_long_int__unsigned_long_int__unsigned_char___unsigned_long_int__unsigned_long_int__unsigned_long_int_
jmp 0x100110bf
call sym.RTCore.dll_public:_int___thiscall_CLowLevelHwInterfaceNVIDIA::NV1x_I2CWrite_unsigned_long_int__unsigned_long_int__unsigned_char___unsigned_long_int__unsigned_long_int__unsigned_long_int_
mov esi, eax
test edi, edi
je 0x100110d3
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x100117cb
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x100117de
lea edi, [ecx + 4]
movzx esi, byte [edi]
movzx ebx, byte [ebp + 0xc]
or esi, 0xffff8000
shl esi, 8
or esi, dword [edi + 4]
push str.GlobalAccess_PCI
mov eax, ebx
push 0
and eax, 0xfc
shl esi, 8
push 0
or esi, eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp + 8], eax
test eax, eax
je 0x1001181c
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call sym.RTCore.dll_unsigned_long_int___cdecl_GetPCIAccessMode_void_
test eax, eax
je 0x10011864
mov eax, dword [edi]
mov edi, dword [edi + 4]
mov dword [ebp - 0x18], eax
mov eax, edi
shr eax, 3
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], ebx
lea eax, [ebp - 0x18]
and edi, 7
mov ebx, 0xff
push eax
mov ecx, sym.RTCore.dll_class_CRTCoreDriver_g_driver
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], 1
mov dword [ebp - 4], ebx
call sym.RTCore.dll_public:_int___thiscall_CRTCoreDriver::GetBusData_struct_BUSDATA_INFO__
test eax, eax
je 0x10011894
mov bl, byte [ebp - 4]
jmp 0x10011894
push esi
mov esi, sym.RTCore.dll_class_CRTCoreDriver_g_driver
push 0xcf8
mov ecx, esi
call sym.RTCore.dll_public:_unsigned_long_int___thiscall_CRTCoreDriver::_outpd_unsigned_short_int__unsigned_long_int_
mov al, byte [ebp + 0xc]
and al, 3
movzx ax, al
mov ecx, 0xcfc
add ax, cx
movzx eax, ax
push eax
mov ecx, esi
call sym.RTCore.dll_public:_int___thiscall_CRTCoreDriver::_inp_unsigned_short_int_
mov bl, al
cmp dword [ebp + 8], 0
je 0x100118ac
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 8
Function at 0x100118b5
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x100118c8
lea edi, [ecx + 4]
movzx esi, byte [edi]
movzx ebx, byte [ebp + 0xc]
or esi, 0xffff8000
shl esi, 8
or esi, dword [edi + 4]
push str.GlobalAccess_PCI
mov eax, ebx
push 0
and eax, 0xfc
shl esi, 8
push 0
or esi, eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp + 8], eax
test eax, eax
je 0x10011906
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call sym.RTCore.dll_unsigned_long_int___cdecl_GetPCIAccessMode_void_
test eax, eax
je 0x1001194f
mov eax, dword [edi]
mov edi, dword [edi + 4]
mov dword [ebp - 0x18], eax
mov eax, edi
shr eax, 3
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
and edi, 7
mov esi, 0xffff
push eax
mov ecx, sym.RTCore.dll_class_CRTCoreDriver_g_driver
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], 2
mov dword [ebp - 4], esi
call sym.RTCore.dll_public:_int___thiscall_CRTCoreDriver::GetBusData_struct_BUSDATA_INFO__
test eax, eax
je 0x10011980
movzx esi, word [ebp - 4]
jmp 0x10011980
push esi
mov esi, sym.RTCore.dll_class_CRTCoreDriver_g_driver
push 0xcf8
mov ecx, esi
call sym.RTCore.dll_public:_unsigned_long_int___thiscall_CRTCoreDriver::_outpd_unsigned_short_int__unsigned_long_int_
mov al, byte [ebp + 0xc]
and al, 3
movzx ax, al
mov ecx, 0xcfc
add ax, cx
movzx eax, ax
push eax
mov ecx, esi
call sym.RTCore.dll_public:_unsigned_short_int___thiscall_CRTCoreDriver::_inpw_unsigned_short_int_
movzx esi, ax
cmp dword [ebp + 8], 0
je 0x10011998
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ax, si
pop esi
pop ebx
leave
ret 8
Function at 0x100119a2
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x100119b5
lea edi, [ecx + 4]
movzx esi, byte [edi]
movzx ebx, byte [ebp + 0xc]
or esi, 0xffff8000
shl esi, 8
or esi, dword [edi + 4]
push str.GlobalAccess_PCI
mov eax, ebx
push 0
and eax, 0xfc
shl esi, 8
push 0
or esi, eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp + 8], eax
test eax, eax
je 0x100119f3
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call sym.RTCore.dll_unsigned_long_int___cdecl_GetPCIAccessMode_void_
test eax, eax
je 0x10011a39
mov eax, dword [edi]
mov edi, dword [edi + 4]
mov dword [ebp - 0x18], eax
mov eax, edi
shr eax, 3
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
and edi, 7
or esi, 0xffffffff
push eax
mov ecx, sym.RTCore.dll_class_CRTCoreDriver_g_driver
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], 4
mov dword [ebp - 4], esi
call sym.RTCore.dll_public:_int___thiscall_CRTCoreDriver::GetBusData_struct_BUSDATA_INFO__
test eax, eax
je 0x10011a69
mov esi, dword [ebp - 4]
jmp 0x10011a69
push esi
mov esi, sym.RTCore.dll_class_CRTCoreDriver_g_driver
push 0xcf8
mov ecx, esi
call sym.RTCore.dll_public:_unsigned_long_int___thiscall_CRTCoreDriver::_outpd_unsigned_short_int__unsigned_long_int_
mov al, byte [ebp + 0xc]
and al, 3
movzx ax, al
mov ecx, 0xcfc
add ax, cx
movzx eax, ax
push eax
mov ecx, esi
call sym.RTCore.dll_public:_unsigned_long_int___thiscall_CRTCoreDriver::_inpd_unsigned_short_int_
mov esi, eax
cmp dword [ebp + 8], 0
je 0x10011a81
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x10011ab8
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x10011acb
lea edi, [ecx + 4]
movzx esi, byte [edi]
movzx ebx, byte [ebp + 0xc]
or esi, 0xffff8000
shl esi, 8
or esi, dword [edi + 4]
push str.GlobalAccess_PCI
mov eax, ebx
push 0
and eax, 0xfc
shl esi, 8
push 0
or esi, eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp + 8], eax
test eax, eax
je 0x10011b09
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call sym.RTCore.dll_unsigned_long_int___cdecl_GetPCIAccessMode_void_
test eax, eax
je 0x10011b49
mov eax, dword [edi]
mov edi, dword [edi + 4]
mov dword [ebp - 0x18], eax
mov eax, edi
shr eax, 3
mov dword [ebp - 0x14], eax
movzx eax, byte [ebp + 0x10]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
and edi, 7
push eax
mov ecx, sym.RTCore.dll_class_CRTCoreDriver_g_driver
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], 1
call sym.RTCore.dll_public:_int___thiscall_CRTCoreDriver::SetBusData_struct_BUSDATA_INFO__
jmp 0x10011b7c
push esi
mov esi, sym.RTCore.dll_class_CRTCoreDriver_g_driver
push 0xcf8
mov ecx, esi
call sym.RTCore.dll_public:_unsigned_long_int___thiscall_CRTCoreDriver::_outpd_unsigned_short_int__unsigned_long_int_
movzx eax, byte [ebp + 0x10]
push eax
mov al, byte [ebp + 0xc]
and al, 3
movzx ax, al
mov ecx, 0xcfc
add ax, cx
movzx eax, ax
push eax
mov ecx, esi
call sym.RTCore.dll_public:_int___thiscall_CRTCoreDriver::_outp_unsigned_short_int__int_
cmp dword [ebp + 8], 0
pop edi
pop esi
pop ebx
je 0x10011b97
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
leave
ret 0xc
Function at 0x10011b9e
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x10011bb1
lea edi, [ecx + 4]
movzx esi, byte [edi]
movzx ebx, byte [ebp + 0xc]
or esi, 0xffff8000
shl esi, 8
or esi, dword [edi + 4]
push str.GlobalAccess_PCI
mov eax, ebx
push 0
and eax, 0xfc
shl esi, 8
push 0
or esi, eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp + 8], eax
test eax, eax
je 0x10011bef
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call sym.RTCore.dll_unsigned_long_int___cdecl_GetPCIAccessMode_void_
test eax, eax
je 0x10011c2f
mov eax, dword [edi]
mov edi, dword [edi + 4]
mov dword [ebp - 0x18], eax
mov eax, edi
shr eax, 3
mov dword [ebp - 0x14], eax
movzx eax, word [ebp + 0x10]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
and edi, 7
push eax
mov ecx, sym.RTCore.dll_class_CRTCoreDriver_g_driver
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], 2
call sym.RTCore.dll_public:_int___thiscall_CRTCoreDriver::SetBusData_struct_BUSDATA_INFO__
jmp 0x10011c60
push esi
mov esi, sym.RTCore.dll_class_CRTCoreDriver_g_driver
push 0xcf8
mov ecx, esi
call sym.RTCore.dll_public:_unsigned_long_int___thiscall_CRTCoreDriver::_outpd_unsigned_short_int__unsigned_long_int_
mov al, byte [ebp + 0xc]
push dword [ebp + 0x10]
and al, 3
movzx ax, al
mov ecx, 0xcfc
add ax, cx
movzx eax, ax
push eax
mov ecx, esi
call sym.RTCore.dll_public:_unsigned_short_int___thiscall_CRTCoreDriver::_outpw_unsigned_short_int__unsigned_short_int_
cmp dword [ebp + 8], 0
pop edi
pop esi
pop ebx
je 0x10011c7b
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
leave
ret 0xc
Function at 0x10011c82
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x10011c95
lea edi, [ecx + 4]
movzx esi, byte [edi]
movzx ebx, byte [ebp + 0xc]
or esi, 0xffff8000
shl esi, 8
or esi, dword [edi + 4]
push str.GlobalAccess_PCI
mov eax, ebx
push 0
and eax, 0xfc
shl esi, 8
push 0
or esi, eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp + 8], eax
test eax, eax
je 0x10011cd3
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call sym.RTCore.dll_unsigned_long_int___cdecl_GetPCIAccessMode_void_
test eax, eax
je 0x10011d12
mov eax, dword [edi]
mov edi, dword [edi + 4]
mov dword [ebp - 0x18], eax
mov eax, edi
shr eax, 3
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
and edi, 7
push eax
mov ecx, sym.RTCore.dll_class_CRTCoreDriver_g_driver
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], 4
call sym.RTCore.dll_public:_int___thiscall_CRTCoreDriver::SetBusData_struct_BUSDATA_INFO__
jmp 0x10011d43
push esi
mov esi, sym.RTCore.dll_class_CRTCoreDriver_g_driver
push 0xcf8
mov ecx, esi
call sym.RTCore.dll_public:_unsigned_long_int___thiscall_CRTCoreDriver::_outpd_unsigned_short_int__unsigned_long_int_
mov al, byte [ebp + 0xc]
push dword [ebp + 0x10]
and al, 3
movzx ax, al
mov ecx, 0xcfc
add ax, cx
movzx eax, ax
push eax
mov ecx, esi
call sym.RTCore.dll_public:_unsigned_long_int___thiscall_CRTCoreDriver::_outpd_unsigned_short_int__unsigned_long_int_
cmp dword [ebp + 8], 0
pop edi
pop esi
pop ebx
je 0x10011d5e
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
leave
ret 0xc
Function at 0x10014040
Capabilities:
Check mutex on windows
Delete service
Stop service

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x10037800]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x34
mov eax, 0x1001c297
call fcn.1001ace1
lea eax, [ebp - 0x20]
push eax
mov esi, ecx
call sym.RTCore.dll_public:_class_CStringLite___thiscall_CRTCoreDriver::GetName_void_
xor edi, edi
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], edi
call dword [sym.imp.RTFC.dll_public:_void___thiscall_CStringLite::constructor_void_]
push dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push str.GlobalAccess__s_sys
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.RTFC.dll_public:_void___cdecl_CStringLite::Format_char_const__]
add esp, 0xc
push dword [ebp - 0x14]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ebx, eax
cmp ebx, edi
je 0x100140b0
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esi + 4], 0xffffffff
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x100140cc
mov ecx, esi
call sym.RTCore.dll_public:_int___thiscall_CRTCoreDriver::ReferenceCountDecrease_void_
push dword [esi + 4]
call edi
or dword [esi + 4], 0xffffffff
xor esi, esi
cmp dword [ebp + 0x214], esi
je 0x100141c8
push 0xf003f
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0x10], eax
cmp eax, esi
jne 0x10014140
cmp ebx, esi
je 0x100140fc
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push ebx
call edi
mov edi, 0x80040401
mov esi, dword [sym.imp.RTFC.dll_public_virtual:_void___thiscall_CStringLite::destructor_void_]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call esi
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 + 0x208]
xor ecx, ebp
call fcn.1001acd2
add ebp, 0x20c
leave
ret 4
xor eax, eax
push 0x206
mov word [ebp], ax
lea eax, [ebp + 2]
push esi
push eax
call sub.MSVCR90.dll_memset
mov esi, dword [ebp - 0x1c]
push esi
call sub.MSVCR90.dll_strlen
push eax
push esi
push 0x104
lea eax, [ebp]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.MSVCR90.dll_mbstowcs_s]
add esp, 0x24
push 0xf01ff
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x100141a6
test ebx, ebx
je 0x1001419c
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push ebx
call edi
mov edi, 0x80040403
jmp 0x10014101
lea eax, [ebp - 0x40]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push dword [ebp - 0x10]
call esi
test ebx, ebx
je 0x100141d6
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push ebx
call edi
xor edi, edi
jmp 0x10014101
Function at 0x1001473c
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x100147a0
push ebx
push esi
push edi
push dword [ebp - 4]
push dword [ebp - 8]
push 0
push dword [ebp + 8]
call fcn.1001afb0
push 0
push 0xf4240
push edx
push eax
call fcn.1001af00
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ebx, eax
lea eax, [ebp - 0x18]
push eax
mov edi, edx
call esi
lea eax, [ebp - 0x10]
push eax
call esi
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
sbb eax, dword [ebp - 0x14]
cmp eax, edi
jl 0x10014781
jg 0x1001479d
cmp ecx, ebx
jb 0x10014781
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100147a2
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x10014806
push ebx
push esi
push edi
push dword [ebp - 4]
push dword [ebp - 8]
push 0
push dword [ebp + 8]
call fcn.1001afb0
push 0
push 0x3e8
push edx
push eax
call fcn.1001af00
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ebx, eax
lea eax, [ebp - 0x18]
push eax
mov edi, edx
call esi
lea eax, [ebp - 0x10]
push eax
call esi
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
sbb eax, dword [ebp - 0x14]
cmp eax, edi
jl 0x100147e7
jg 0x10014803
cmp ecx, ebx
jb 0x100147e7
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100148ff
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x10037800]
xor eax, ebp
mov dword [ebp + 0x8c], eax
mov eax, dword [ebp + 0x9c]
and dword [ebp - 0x80], 0
push ebx
mov ebx, dword [ebp + 0x98]
push esi
push edi
mov dword [ebp - 0x7c], eax
mov esi, 0x104
push esi
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, dword [sym.imp.MSVCR90.dll_strcat_s]
push 0x1001e330
lea eax, [ebp - 0x78]
push esi
push eax
call edi
push dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
push esi
push eax
call edi
add esp, 0x18
lea eax, [ebp - 0x78]
push eax
mov ecx, ebx
call dword [sym.imp.RTFC.dll_public:_void___thiscall_CStringLite::constructor_char_const__]
mov ecx, dword [ebp + 0x8c]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.1001acd2
add ebp, 0x90
leave
ret
Function at 0x10014a72
Capabilities:
Write file on windows

Disassembly:
push ebp
sub esp, 0x488
lea ebp, [esp - 4]
mov eax, dword [0x10037800]
xor eax, ebp
mov dword [ebp + 0x488], eax
push 0x24
mov eax, 0x1001c3d7
call fcn.1001ace1
mov eax, dword [ebp + 0x494]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push eax
call fcn.100146f0
pop ecx
xor esi, esi
lea eax, [ebp]
cmp dword [ebp + 0x498], esi
je 0x10014bef
mov edi, dword [sym.imp.KERNEL32.dll_OpenFile]
push 0x21
push eax
push dword [ebp - 0x14]
call edi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x10014ae8
push 0x1021
lea eax, [ebp]
push eax
push dword [ebp - 0x14]
call edi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10014bbf
push 2
push esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x20]
push eax
movzx eax, word [ebp - 0x22]
push eax
movzx eax, word [ebp - 0x24]
push eax
movzx eax, word [ebp - 0x2c]
push eax
movzx eax, word [ebp - 0x2a]
push eax
movzx eax, word [ebp - 0x26]
push eax
lea eax, [ebp + 0x88]
push str._.2d__.2d__.2d___.2d:_.2d:_.2d._.3d__08x
push eax
call fcn.10014985
mov eax, dword [sym.RTCore.dll_int_g_logSpaces]
add esp, 0x28
cmp eax, esi
mov esi, dword [sym.imp.MSVCR90.dll_strcat_s]
mov edi, 0x400
je 0x10014b77
and dword [ebp - 0x10], 0
test eax, eax
jle 0x10014b77
push 0x1001e3fc
lea eax, [ebp + 0x88]
push edi
push eax
call esi
add esp, 0xc
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [sym.RTCore.dll_int_g_logSpaces]
jl 0x10014b57
push dword [ebp - 0x1c]
lea eax, [ebp + 0x88]
push edi
push eax
call esi
push 0x1001e3f8
lea eax, [ebp + 0x88]
push edi
push eax
call esi
add esp, 0x18
push 0
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp + 0x88]
push eax
call sub.MSVCR90.dll_strlen
pop ecx
push eax
lea eax, [ebp + 0x88]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll__lclose]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call dword [sym.imp.RTFC.dll_public_virtual:_void___thiscall_CStringLite::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x488]
xor ecx, ebp
call fcn.1001acd2
add ebp, 0x48c
leave
ret
push 0x1021
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_OpenFile]
jmp 0x10014add