joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e74f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532659
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x5b339c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x18], esi
push str..DevLink.cpp
push 0xdf8
push str.bil::CDevLink::TriggerOptimize
mov ecx, dword [0x5b6bb0]
call fcn.00402490
mov eax, dword [0x5b6bb0]
mov edi, dword [eax]
lea ecx, [esi + 0x10c]
call dword [sym.imp.MSVCP90.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
push str._key___ls
push str.bil::CDevLink::TriggerOptimize
push 8
mov ecx, dword [0x5b6bb0]
push ecx
mov edx, dword [edi]
call edx
add esp, 0x14
cmp byte [esi + 0x9e], 0
jne 0x4e75db
cmp dword [esi + 0x108], 0
je 0x4e7680
lea eax, [ebp - 0x38]
push eax
mov ecx, esi
call fcn.00433c70
mov dword [ebp - 4], 0
mov ecx, dword [0x5b6bb0]
mov edi, dword [ecx]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
push str.DevLink___ls__passing_optimize_request_to_superior
push str.bil::CDevLink::TriggerOptimize
push 8
mov edx, dword [0x5b6bb0]
push edx
mov eax, dword [edi]
call eax
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esi + 0x108]
call fcn.004e74f0
jmp 0x4e7680
mov ebx, 1
mov dword [esi + 0x80], ebx
push 0x4e49d0
call dword [sym.imp.MSVCR90.dll_void____cdecl___unsigned_int__struct__EXCEPTION_POINTERS_____cdecl__set_se_translator_void____cdecl___unsigned_int__struct__EXCEPTION_POINTERS___]
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
lea edi, [esi + 0x24]
push 0xe05
push str..DevLink.cpp
push str.bil::CDevLink::TriggerOptimize
push ebx
mov ecx, edi
call fcn.00505d40
cmp byte [esi + 0xa3], 0
jne 0x4e7651
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
add eax, dword [esi + 0xac]
mov dword [esi + 0xa4], eax
cmp dword [esi + 0xb0], 0
jbe 0x4e7648
call ebx
add eax, dword [esi + 0xb0]
mov dword [esi + 0xa8], eax
mov byte [esi + 0xa3], 1
jmp 0x4e7663
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, dword [esi + 0xac]
mov dword [esi + 0xa4], eax
mov dword [ebp - 4], 0xffffffff
push 1
mov ecx, edi
call fcn.00506060
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.MSVCR90.dll_void____cdecl___unsigned_int__struct__EXCEPTION_POINTERS_____cdecl__set_se_translator_void____cdecl___unsigned_int__struct__EXCEPTION_POINTERS___]
add esp, 4
push 0
push 0x57ef93
push str..DevLink.cpp
push 0xe1c
push str.bil::CDevLink::TriggerOptimize
mov ecx, dword [0x5b6bb0]
call fcn.00402520
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4fc6a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x534753
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5b339c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x1c]
push eax
call fcn.004fcad0
mov dword [esp + 0x14], 0
lea ecx, [esi + 0x38]
mov dword [esi], vtable.bil::CReadPacket.0
call fcn.0044c190
mov byte [esp + 0x14], 1
mov ecx, dword [0x5b6bb0]
push str..ReadPacket.cpp
push 0x2d
push str.bil::CReadPacket::CReadPacket
call fcn.00402490
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
push 0x57ef93
push str..ReadPacket.cpp
push 0x34
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x2c], 0xffffffff
mov ecx, dword [0x5b6bb0]
push str.bil::CReadPacket::CReadPacket
call fcn.00402520
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x505a80
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push 0x1d4c0
push ebp
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x505be7
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov ecx, 2
mov eax, str.READ
cmp dword [esi + 0x18], ecx
je 0x505ac4
mov eax, str.WRITE
mov dword [esp + 0x18], str.READ
cmp dword [esp + 0x20], ecx
je 0x505ada
mov dword [esp + 0x18], str.WRITE
mov edx, dword [esi + 0x58]
mov ecx, dword [0x5b6bb0]
mov edi, dword [ecx]
push edx
push eax
mov eax, dword [esi + 0x54]
push eax
lea ecx, [esi + 0x38]
call dword [sym.imp.MSVCP90.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
lea ecx, [esi + 0x1c]
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
push ebx
push ecx
mov ecx, dword [esp + 0x44]
push ebp
call dword [sym.imp.MSVCP90.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x44]
cdq
mov ecx, eax
xor ecx, edx
sub ecx, edx
add ecx, 0x1d4c0
mov eax, 0x10624dd3
imul ecx
mov ecx, dword [0x5b6bb0]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [edi]
push eax
push str._Potential_deadlock_situation_after_waiting__us_n__RWLock:_0x_08x_n__Object:__ls_0x_08x_n__Waiting_Caller_n____File:__hs_n____Function:__ls_n____Line:__u_n____Type:__ls_n____Thread:__u_n__Claimed_Caller_n____File:__hs_n____Function:__ls_n____Line:__u_n____Type:__ls_n____Thread:__u
push ebx
push 9
push ecx
call edx
add esp, 0x48
push 0x1d4c0
push ebp
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x505ab0
cmp dword [esp + 0x20], 2
mov dword [esp + 0x20], str.READ
je 0x505b8e
mov dword [esp + 0x20], str.WRITE
mov eax, dword [0x5b6bb0]
mov edi, dword [eax]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x10]
cdq
mov ecx, eax
xor ecx, edx
sub ecx, edx
add ecx, 0x1d4c0
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push esi
push ebp
call dword [sym.imp.MSVCP90.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
mov ecx, dword [edi]
push eax
mov eax, dword [0x5b6bb0]
push str._Not_a_deadlock_situation:_wait_complete_for__ls_0x_08x_in_RWLock_0x_08x_during__ls_claim_after__us
push ebx
push 9
push eax
call ecx
add esp, 0x24
pop edi
pop ebx
pop esi
pop ebp
pop ecx
ret 0x1c
Function at 0x5065a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x535308
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5b339c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
call fcn.004309d0
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x1c]
mov dl, byte [esp + 0x20]
mov dword [esi], vtable.bil::CRequest.0
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], ecx
mov byte [esi + 0x30], dl
cmp eax, ecx
jne 0x5065ff
push ecx
push ecx
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x28], eax
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 8
Function at 0x50fde0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x53652c
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x5b339c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.bil::CEventFilter.0
mov dword [esp + 0x18], 3
mov ecx, dword [0x5b6bb0]
push str..EventFilter.cpp
push 0x2e
push 0x57c918
call fcn.00402490
mov ecx, esi
call fcn.0050f680
mov ecx, dword [0x5b6bb0]
push 0
push 0x57ef93
push str..EventFilter.cpp
push 0x32
push 0x57c918
call fcn.00402520
mov al, 2
mov byte [esp + 0x18], al
lea ecx, [esi + 0x70]
mov dword [esp + 0xc], ecx
mov byte [esp + 0x18], al
call fcn.0050fca0
mov al, 1
mov byte [esp + 0x18], al
lea ecx, [esi + 0x50]
mov dword [esp + 0xc], ecx
mov byte [esp + 0x18], al
call fcn.0050f7c0
mov byte [esp + 0x18], 0
lea ecx, [esi + 0x30]
mov dword [esp + 0xc], ecx
mov byte [esp + 0x18], 0
call fcn.0050f7c0
or eax, 0xffffffff
mov dword [esp + 0x18], eax
mov dword [esi], vtable.bil::CRefObject.0
mov dword [esp + 0x18], eax
lea ecx, [esi + 4]
call fcn.004e4ab0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret

Function at 0x50fe23
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x53652c
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x5b339c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.bil::CEventFilter.0
mov dword [esp + 0x18], 3
mov ecx, dword [0x5b6bb0]
push str..EventFilter.cpp
push 0x2e
push 0x57c918
call fcn.00402490
mov ecx, esi
call fcn.0050f680
mov ecx, dword [0x5b6bb0]
push 0
push 0x57ef93
push str..EventFilter.cpp
push 0x32
push 0x57c918
call fcn.00402520
mov al, 2
mov byte [esp + 0x18], al
lea ecx, [esi + 0x70]
mov dword [esp + 0xc], ecx
mov byte [esp + 0x18], al
call fcn.0050fca0
mov al, 1
mov byte [esp + 0x18], al
lea ecx, [esi + 0x50]
mov dword [esp + 0xc], ecx
mov byte [esp + 0x18], al
call fcn.0050f7c0
mov byte [esp + 0x18], 0
lea ecx, [esi + 0x30]
mov dword [esp + 0xc], ecx
mov byte [esp + 0x18], 0
call fcn.0050f7c0
or eax, 0xffffffff
mov dword [esp + 0x18], eax
mov dword [esi], vtable.bil::CRefObject.0
mov dword [esp + 0x18], eax
lea ecx, [esi + 4]
call fcn.004e4ab0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x50fee0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x536579
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5b339c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
call fcn.004309d0
mov dword [esp + 0x14], 0
lea ecx, [esi + 0x30]
mov dword [esi], vtable.bil::CEventFilter.0
call fcn.0050fb60
mov byte [esp + 0x14], 1
lea ecx, [esi + 0x50]
call fcn.0050fb60
mov byte [esp + 0x14], 2
lea ecx, [esi + 0x70]
call fcn.0050fd80
mov byte [esp + 0x14], 3
mov ecx, dword [0x5b6bb0]
push str..EventFilter.cpp
push 0x41
push str.bil::CEventFilter::CEventFilter
call fcn.00402490
push 0
push 0x57ef93
push str..EventFilter.cpp
push 0x49
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0x3e8
mov ecx, dword [0x5b6bb0]
push str.bil::CEventFilter::CEventFilter
call fcn.00402520
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x510010
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5365d2
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5b339c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
mov ecx, esi
call fcn.004e5de0
mov dword [esp + 0x14], 0
mov cx, word [esp + 0x2c]
mov eax, dword [esp + 0x3c]
mov dx, word [esp + 0x38]
mov word [esi + 0x74], cx
push eax
lea ecx, [esi + 0x78]
mov dword [esi], vtable.bil::CConditionEvent.0
mov word [esi + 0x76], dx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov byte [esp + 0x14], 1
mov ecx, dword [esp + 0x40]
push ecx
lea ecx, [esi + 0x94]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov byte [esp + 0x14], 2
mov ecx, dword [esp + 0x4c]
mov dx, word [esp + 0x44]
mov al, byte [esp + 0x48]
mov dword [esi + 0xb4], ecx
mov ecx, dword [esp + 0x58]
mov word [esi + 0xb0], dx
mov edx, dword [esp + 0x50]
mov byte [esi + 0xb2], al
mov eax, dword [esp + 0x54]
push ecx
lea ecx, [esi + 0xc0]
mov dword [esi + 0xb8], edx
mov dword [esi + 0xbc], eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov byte [esp + 0x14], 3
mov ecx, dword [0x5b6bb0]
push str..ConditionEvent.cpp
push 0x45
push 0x57c9a8
call fcn.00402490
mov ecx, dword [0x5b6bb0]
push 0
push 0x57ef93
push str..ConditionEvent.cpp
push 0x47
push 0x57c9a8
call fcn.00402520
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x44
Function at 0x510f30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5266cb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5b339c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esi], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 4], ecx
push eax
lea ecx, [esi + 0xc]
mov dword [esi + 8], edx
call fcn.00512730
xor eax, eax
mov dword [esp + 0x14], eax
mov cl, byte [esp + 0x2c]
mov byte [esi + 0x30], cl
mov byte [esi + 0x31], al
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x14
Function at 0x512300
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x53693c
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b339c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x18], ebx
mov dword [ebx], vtable.bil::CReadHistoryReq.0
mov dword [esp + 0x30], 3
mov ecx, dword [0x5b6bb0]
push str..ReadHistoryReq.cpp
push 0x4b
push 0x57ced8
call fcn.00402490
mov eax, dword [ebx + 0x6c]
mov ebp, dword [eax]
mov esi, dword [ebx + 0x54]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], esi
mov edi, dword [ebx + 0x6c]
mov eax, dword [ebx + 0x54]
test esi, esi
je 0x512376
cmp esi, eax
je 0x51237c
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebp, edi
je 0x5123b4
test esi, esi
jne 0x5123b0
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebp, dword [esi + 0x18]
jne 0x512395
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [ebp + 0x28]
call fcn.004f6830
lea ecx, [esp + 0x1c]
call fcn.00409ac0
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
jmp 0x512368
mov esi, dword [esi]
jmp 0x51238a
mov eax, dword [ebx + 0x8c]
mov esi, dword [ebx + 0x74]
lea edi, [ebx + 0x74]
mov ebx, dword [eax]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], esi
lea ebx, [ebx]
mov ebp, dword [edi + 0x18]
mov eax, dword [edi]
test esi, esi
je 0x5123dd
cmp esi, eax
je 0x5123e3
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebx, ebp
je 0x512434
mov ebp, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
test esi, esi
jne 0x51242c
call ebp
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x5123fc
call ebp
mov ecx, dword [ebx + 0x14]
call fcn.004f6830
test esi, esi
jne 0x512430
call ebp
cmp ebx, dword [esi + 0x18]
jne 0x512411
call ebp
mov ecx, dword [ebx + 0xc]
call fcn.004f6830
lea ecx, [esp + 0x1c]
call fcn.004fcf30
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
jmp 0x5123d0
mov eax, dword [esi]
jmp 0x5123f5
mov esi, dword [esi]
jmp 0x51240a
mov ecx, dword [0x5b6bb0]
push 0
push 0x57ef93
push str..ReadHistoryReq.cpp
push 0x5a
push 0x57ced8
call fcn.00402520
mov bl, 2
mov byte [esp + 0x30], bl
mov ebp, dword [esp + 0x18]
lea esi, [ebp + 0x94]
mov dword [esp + 0x1c], esi
mov byte [esp + 0x30], 4
mov eax, dword [esi + 0xc]
xor ecx, ecx
cmp eax, ecx
je 0x51247f
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
xor ecx, ecx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ecx
mov byte [esp + 0x30], bl
mov esi, dword [esi]
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov al, 1
add esp, 4
mov byte [esp + 0x30], al
mov ecx, edi
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x30], al
call fcn.004fe150
mov byte [esp + 0x30], 0
lea ecx, [ebp + 0x54]
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x30], 0
call fcn.00512f40
mov dword [esp + 0x30], 0xffffffff
mov ecx, ebp
call fcn.0050d2c0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5177b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x537229
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x5b339c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x38]
push 0
push 0x20
mov ecx, esi
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_first_not_of_wchar_t__unsigned_int_const]
mov edi, eax
mov eax, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
mov eax, dword [eax]
mov ecx, esi
cmp eax, edi
jne 0x51780c
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::clear_void_]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret
push eax
push 0x20
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_last_not_of_wchar_t__unsigned_int_const]
sub eax, edi
inc eax
push eax
push edi
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_int__unsigned_int_]
push eax
mov ecx, esi
mov dword [esp + 0x34], 0
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret
Function at 0x517a70
Capabilities:
Set registry value

Disassembly:
sub esp, 0x24
mov eax, dword [0x5b339c]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push ebx
xor ebx, ebx
cmp dword [eax + 0x18], 8
push esi
mov esi, dword [esp + 0x38]
mov dword [esp + 8], ebx
jb 0x517a9d
mov eax, dword [eax + 4]
jmp 0x517aa0
add eax, 4
push ebx
lea edx, [esp + 0xc]
push edx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp dword [esi + 0x14], ebx
jbe 0x517b02
cmp eax, ebx
jne 0x517b02
push esi
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
cmp dword [esi + 0x18], 8
jb 0x517ad6
mov esi, dword [esi + 4]
jmp 0x517ad9
add esi, 4
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 8]
lea ecx, [eax + eax + 2]
push ecx
push esi
push 1
push ebx
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x517af8
mov bl, 1
lea ecx, [esp + 0xc]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x28]
pop esi
mov al, bl
pop ebx
xor ecx, esp
call fcn.0051973e
add esp, 0x24
ret