joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404d50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4680a0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x480250]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, str.CCallbackMap::SendDeviceIdentifiedEvent
mov dword [esp + 0x10], edi
call fcn.0044cf60
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x30], 0
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x404da0
sub eax, edx
mov eax, dword [esi]
mov ecx, esi
jne 0x404dd9
mov edx, dword [eax + 8]
call edx
push eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
push eax
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
push eax
push str.Sending_DeviceIdentified__s___s___s_
call fcn.004167d0
add esp, 0x10
jmp 0x404e09
mov edx, dword [eax + 0xc]
call edx
push eax
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
push eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
push eax
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
push eax
push str.Sending_DeviceIdentified__s___s___s___s_
call fcn.004167d0
add esp, 0x14
push ebx
call fcn.00404400
lea ecx, [ebx + 0x60]
test ecx, ecx
mov dword [esp + 0xc], ecx
je 0x404e3c
cmp byte [ecx + 0x18], 0
jne 0x404e31
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [esp + 0xc]
mov byte [eax + 0x18], 1
mov ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esp + 0xc]
mov byte [esp + 0x30], 1
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov esi, ebx
mov edi, eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
test esi, esi
mov edx, dword [ebx + 4]
mov dword [esp + 0x20], edx
je 0x404e61
cmp esi, ebx
je 0x404e6a
call fcn.0044e7bc
mov ecx, dword [esp + 0xc]
cmp edi, dword [esp + 0x20]
je 0x404eab
test esi, esi
jne 0x404e79
call fcn.0044e7bc
cmp edi, dword [esi + 4]
jne 0x404e83
call fcn.0044e7bc
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [edi + 0x28]
push eax
push ecx
push edx
call fcn.004020c0
lea esi, [esp + 0x14]
call fcn.00406460
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
jmp 0x404e52
test ecx, ecx
je 0x404ecd
cmp byte [ecx + 0x18], 0
jne 0x404ec6
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [esp + 0xc]
mov byte [eax + 0x18], 1
mov ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, str.CCallbackMap::SendDeviceIdentifiedEvent
mov dword [esp + 0x30], 0xffffffff
call fcn.0044cfe0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x407400
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x467c98
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x480250]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
lea edi, [esi + 4]
mov dword [esi], vtable.CCallbackSender.0
call fcn.004011d0
mov dword [esp + 0x1c], 0
mov edi, dword [esi + 8]
mov dword [esi], vtable.CCallbackSenderDevicePresenceChanged.0
mov eax, dword [ebp]
mov edx, dword [eax + 4]
mov ecx, ebp
call edx
push edi
mov ebx, eax
call fcn.0043aaa0
mov dword [esi + 0x10], eax
mov eax, dword [ebp]
mov edx, dword [eax + 0xc]
add esp, 4
mov ecx, ebp
call edx
push edi
mov ebx, eax
call fcn.0043aaa0
mov dword [esi + 0x14], eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x14]
add esp, 4
mov ecx, ebp
call edx
push edi
mov ebx, eax
call fcn.0043aaa0
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x1c], eax
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc

Function at 0x40da50
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x463ddb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x480250]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0044e356
push 4
mov dword [esp + 0x20], 0
call fcn.0044e628
mov edi, eax
add esp, 4
test edi, edi
je 0x40dad0
call fcn.0044e1e7
mov dword [edi], eax
call fcn.0044e01b
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.0044e323
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x40dac5
add eax, 1
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.0044e344
jmp 0x40dad2
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x40e0d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40e0e7
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40e118
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x40e114
cmp esi, eax
jae 0x40e118
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x40e104
cmp esi, eax
jb 0x40e11e
pop esi
pop edi
xor eax, eax
pop ebp
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x40e490
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46806b
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x480250]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, str.CConnectionManager::Startup
mov dword [ebp - 0x18], edi
call fcn.0044cf60
xor esi, esi
mov dword [ebp - 4], esi
call fcn.0040f8c0
cmp eax, esi
je 0x40e4e4
push eax
push str.Could_not_shutdown_Zune._Last_error_code:__d
call fcn.004167d0
add esp, 8
mov byte [ebp - 4], 1
call fcn.00410f90
mov dword [ebp - 4], esi
call fcn.00412070
mov ecx, eax
call fcn.00412560
push 0x49a88c
call fcn.004051f0
call fcn.0040ea10
push str.DssConnectionManagerCallbackMonitoringEvent
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
mov dword [0x49a914], eax
jne 0x40e543
push str.DssConnectionManagerCallbackMonitoringEvent
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateEvent_failed_with_error__i_on__s
call fcn.004167d0
mov eax, dword [0x49a914]
add esp, 0xc
cmp eax, 0xffffffff
je 0x40e54c
test eax, eax
jne 0x40e5b8
cmp byte [0x49a925], 0
je 0x40e55a
call fcn.0040fa20
push str.Cannot_create_event__exiting
call fcn.004167d0
add esp, 4
mov edi, str.CConnectionManager::Startup
mov dword [ebp - 4], 0xffffffff
call fcn.0044cfe0
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 eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
setne al
test al, al
jne 0x40e5e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ResetEvent_failed_with_error__i
call fcn.004167d0
push str.Cannot_reset_event
call fcn.004167d0
add esp, 0xc
mov bl, 3
push 0x1e4
mov byte [ebp - 4], bl
call fcn.0044e628
add esp, 4
mov dword [ebp - 0x14], eax
test eax, eax
mov byte [ebp - 4], 4
je 0x40e60b
push eax
call fcn.004086f0
jmp 0x40e60d
xor eax, eax
mov byte [ebp - 4], bl
push eax
mov dword [0x49a920], eax
call fcn.00408ae0
mov dword [ebp - 4], 0
mov byte [ebp - 4], 7
mov eax, dword [0x49a91c]
push eax
call fcn.0041a270
mov ecx, dword [0x49a91c]
call fcn.00419f00
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push ecx
push 0
push 0x49a860
push 0x40f2c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [0x49a908], eax
jne 0x40e768
cmp byte [0x49a925], al
je 0x40e677
call fcn.0040fa20
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateThread_failed__error__i
call fcn.004167d0
add esp, 8
jmp 0x40e567
mov edi, str.CConnectionManager::Startup
mov dword [ebp - 4], 0xffffffff
call fcn.0044cfe0
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
Function at 0x40e790
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4674d8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x480250]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, str.CConnectionManager::Shutdown
mov dword [esp + 0x18], edi
call fcn.0044cf60
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov eax, dword [0x49a908]
mov edi, dword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
push ebx
push eax
call edi
mov ecx, dword [0x49a914]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
setne al
cmp al, bl
jne 0x40e80a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetEvent_failed_with_error__i
call fcn.004167d0
add esp, 8
mov edx, dword [0x49a908]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x1770
push edx
call esi
cmp eax, 0x102
mov ebp, dword [sym.imp.KERNEL32.dll_TerminateThread]
jne 0x40e841
push str.Client_monitoring_thread_not_responding__terminating_thread
call fcn.004167d0
mov eax, dword [0x49a908]
add esp, 4
push ebx
push eax
call ebp
mov ecx, dword [0x49a90c]
push ebx
push ecx
call edi
mov edx, dword [0x49a90c]
push 0x1770
push edx
call esi
cmp eax, 0x102
jne 0x40e876
push str.Start_product_detection_thread_not_responding__terminating_thread
call fcn.004167d0
mov eax, dword [0x49a90c]
add esp, 4
push ebx
push eax
call ebp
call fcn.0040eb10
push 0x49a88c
call fcn.00404f20
call fcn.00410d40
mov ecx, dword [0x49a91c]
cmp ecx, ebx
je 0x40e8a2
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [0x49a91c], ebx
call fcn.004101b0
mov ecx, dword [0x49a920]
cmp ecx, ebx
je 0x40e8b9
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov eax, dword [0x49a918]
cmp eax, ebx
je 0x40e8d9
push eax
mov esi, eax
call fcn.0040e960
push esi
call fcn.0044e982
add esp, 4
mov dword [0x49a918], ebx
mov esi, dword [0x483378]
cmp esi, ebx
je 0x40e8f9
mov edi, esi
call fcn.00411fc0
push edi
call fcn.0044e982
add esp, 4
mov dword [0x483378], ebx
mov eax, dword [0x48337c]
cmp eax, ebx
je 0x40e919
push eax
mov esi, eax
call fcn.0041c9e0
push esi
call fcn.0044e982
add esp, 4
mov dword [0x48337c], ebx
cmp byte [0x49a925], bl
je 0x40e938
call fcn.0040fa20
cmp eax, ebx
je 0x40e938
push eax
push str.Could_not_startup_ZuneLauncher._Last_error_code:__d
call fcn.004167d0
add esp, 8
mov edi, str.CConnectionManager::Shutdown
mov dword [esp + 0x28], 0xffffffff
call fcn.0044cfe0
mov al, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40f8c0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x13c
mov eax, dword [0x480250]
xor eax, esp
mov dword [esp + 0x134], eax
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x14], ebp
jne 0x40f8f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40f9fb
lea eax, [esp + 0x18]
push eax
push ebp
mov dword [esp + 0x20], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x40f925
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebp
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x40f9fb
mov byte [esp + 0x13], bl
mov byte [0x49a925], bl
nop
mov edi, str.Zune.exe
lea esi, [esp + 0x3c]
mov ecx, 9
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x40f958
mov edi, str.ZuneLauncher.exe
lea esi, [esp + 0x3c]
mov ecx, 0x11
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x40f9d1
mov ecx, dword [esp + 0x20]
push ecx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebp, eax
test ebp, ebp
je 0x40f9e6
xor edx, edx
mov edi, str.Zune.exe
lea esi, [esp + 0x3c]
mov ecx, 9
repe cmpsb byte [esi], byte es:[edi]
push edx
push ebp
jne 0x40f997
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x40f9aa
mov byte [esp + 0x13], 1
jmp 0x40f9b2
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x40f9aa
mov byte [0x49a925], 1
jmp 0x40f9b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esp + 0x13], 0
je 0x40f9c9
cmp byte [0x49a925], 0
jne 0x40f9ee
test ebx, ebx
jne 0x40f9ee
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push ebp
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40f930
jmp 0x40f9f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ebp, dword [esp + 0x14]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044e7cc
add esp, 0x13c
ret
Function at 0x40fa20
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x464448
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
mov eax, dword [0x480250]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
push 0x44
xor ebx, ebx
lea eax, [esp + 0x28]
push ebx
push eax
call fcn.00454a00
xor eax, eax
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
mov ecx, str.C:Program_FilesZuneZuneLauncher.exe
mov dword [esp + 0x28], 0x44
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call fcn.0040fb50
lea edx, [esp + 0xc]
push edx
mov ecx, str.C:Program_FilesZune
mov dword [esp + 0x7c], ebx
call fcn.0040fb50
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x28]
push ecx
push edx
push ebx
push 0x20
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x40fac0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esp + 0x14]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x40fad9
push eax
call esi
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40faec
push eax
call esi
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fb0c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x78], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fb34
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x70
ret
Function at 0x4111e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x466328
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push edi
mov eax, dword [0x480250]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, str.CConnectionMap::SaveConnection
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], edi
call fcn.0044cf60
mov byte [esp + 0x28], 1
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
push str.name
mov ecx, eax
lea edx, [esp + 0x34]
call fcn.00447140
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
push 0x46efd8
mov ecx, eax
lea edx, [esp + 0x34]
call fcn.00447140
mov ebp, dword [esp + 0x30]
test ebp, ebp
push ecx
mov eax, esp
mov ebx, 0x46ef90
mov dword [esp + 0x20], esp
mov dword [eax], ebp
je 0x411272
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
push ebp
call ecx
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.00447030
mov byte [esp + 0x28], 2
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
push str.init_string
mov ecx, eax
lea edx, [esp + 0x18]
call fcn.00447140
cmp byte [esi + 0x17e], 0
je 0x4112bb
push str.paired_to_service_adapter
mov ecx, 0x46efb8
lea edx, [esp + 0x18]
call fcn.00447140
mov byte [esp + 0x28], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4112d0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x28], 0
call fcn.0044cfe0
test ebp, ebp
mov dword [esp + 0x28], 0xffffffff
je 0x4112ef
mov eax, dword [ebp]
mov ecx, dword [eax + 8]
push ebp
call ecx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x1c
ret 8
Function at 0x415460
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x1048
call fcn.004573a0
mov eax, dword [0x480250]
xor eax, esp
mov dword [esp + 0x1044], eax
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push str.SOFTWARENokiaFuse
push reloc.WS2_32.dll_bind
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4154cc
push str.SOFTWARENokiaFuse
push eax
lea ecx, [esp + 0x10]
push str.RegOpenKeyEx_failed_with_error__i_on__s
push ecx
mov ecx, str...commondtl_access.cpp_44_
call fcn.00446410
add esp, 0x10
push 0x477dac
lea edx, [esp + 0xc]
push edx
call fcn.00451e1b
mov edx, dword [esp + 4]
push edi
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x4c]
push ecx
push 0
push 0
push str.InstPath
push edx
mov dword [esp + 0x1c], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x415512
push eax
push str.RegCloseKey_failed_with_error__i
call fcn.004167d0
add esp, 8
test edi, edi
je 0x415542
push str.SOFTWARENokiaFuse
push edi
lea ecx, [esp + 0x14]
push str.RegOpenKeyEx_failed_with_error__i_on__s
push ecx
mov ecx, str...commondtl_access.cpp_59_
call fcn.00446410
add esp, 0x10
push 0x477dac
lea edx, [esp + 0x10]
push edx
call fcn.00451e1b
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
lea eax, [esp + 0x48]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], 0
mov byte [esi + 4], 0
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x415566
sub eax, edx
push eax
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
call fcn.004028a0
mov ecx, dword [esp + 0x1048]
pop edi
xor ecx, esp
mov eax, esi
call fcn.0044e7cc
add esp, 0x1048
ret
Function at 0x4155a0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x466273
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x480250]
xor eax, esp
mov dword [esp + 0x74], eax
push ebp
push esi
push edi
mov eax, dword [0x480250]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x98]
cmp dword [ebp], 0
jne 0x415787
lea esi, [esp + 0x10]
call fcn.00415460
push eax
mov edi, str.dtl_be.dll
lea esi, [esp + 0x6c]
mov dword [esp + 0x94], 0
call fcn.004164d0
add esp, 4
mov edi, 0x10
mov byte [esp + 0x90], 2
cmp dword [esp + 0x28], edi
jb 0x41562b
mov eax, dword [esp + 0x14]
push eax
call fcn.0044e982
add esp, 4
cmp dword [esp + 0x80], edi
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
jae 0x415651
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
mov eax, dword [esp + 0x6c]
jne 0x415694
cmp dword [esp + 0x80], edi
jae 0x41566d
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x30]
push str.Unable_to_locate__s
push ecx
mov ecx, str...commondtl_access.cpp_79_
call fcn.00446410
add esp, 0xc
push 0x477dac
lea edx, [esp + 0x30]
push edx
call fcn.00451e1b
cmp dword [esp + 0x80], edi
jae 0x4156a1
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [ebp], eax
jne 0x4156e7
cmp dword [esp + 0x80], edi
mov eax, dword [esp + 0x6c]
jae 0x4156c0
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x30]
push str.LoadLibrary_failed___s_
push eax
mov ecx, str...commondtl_access.cpp_85_
call fcn.00446410
add esp, 0xc
push 0x477dac
lea ecx, [esp + 0x30]
push ecx
call fcn.00451e1b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DllGetClassObject
push eax
call esi
test eax, eax
mov dword [ebp + 4], eax
jne 0x415734
cmp dword [esp + 0x80], edi
mov eax, dword [esp + 0x6c]
jae 0x41570d
lea eax, [esp + 0x6c]
push eax
lea edx, [esp + 0x30]
push str.GetProcAddress_failed:_DllGetClassObject___s_
push edx
mov ecx, str...commondtl_access.cpp_91_
call fcn.00446410
add esp, 0xc
push 0x477dac
lea eax, [esp + 0x30]
push eax
call fcn.00451e1b
mov ecx, dword [ebp]
push str.DllCanUnloadNow
push ecx
call esi
test eax, eax
mov dword [ebp + 8], eax
jne 0x41577e
cmp dword [esp + 0x80], edi
mov eax, dword [esp + 0x6c]
jae 0x415757
lea eax, [esp + 0x6c]
push eax
lea edx, [esp + 0x30]
push str.GetProcAddress_failed:_DllCanUnloadNow___s_
push edx
mov ecx, str...commondtl_access.cpp_97_
call fcn.00446410
add esp, 0xc
push 0x477dac
lea eax, [esp + 0x30]
push eax
call fcn.00451e1b
lea ecx, [esp + 0x68]
call fcn.00402620
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0044e7cc
add esp, 0x84
ret 4