joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4046e0
Capabilities:
Get storage device properties

Disassembly:
sub esp, 0x1c
mov eax, dword [0x43e6dc]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
push ebp
xor ebp, ebp
mov dword [esp + 0xc], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebp
cmp eax, ebp
je 0x404820
cmp dword [esp + 0x28], ebp
je 0x404820
push ebx
push 0x2800
call fcn.0041d475
mov ebx, eax
add esp, 4
cmp ebx, ebp
jne 0x404743
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop ebx
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0041ce01
add esp, 0x1c
ret
push esi
push edi
xor edi, edi
jmp 0x404750
push edi
push str..PhysicalDrive_d
mov ecx, 0x2800
call fcn.00402660
add esp, 8
push ebp
push 0x80
push 3
push ebp
push 3
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4047f6
xor eax, eax
push 0x2800
push ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call fcn.0041ce70
add esp, 0xc
push ebp
lea eax, [esp + 0x18]
push eax
push 0x2800
push ebx
push 0xc
lea ecx, [esp + 0x30]
push ecx
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4047e9
mov eax, dword [ebx + 0x18]
cmp eax, ebp
jbe 0x4047e9
mov edx, dword [esp + 0x18]
add eax, ebx
push eax
mov eax, dword [esp + 0x38]
push edx
push str.DISKID:
call fcn.00404480
add esp, 0xc
mov dword [esp + 0x10], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], ebp
jne 0x404800
inc edi
cmp edi, 0x10
jl 0x404750
push ebx
call fcn.0041cfe4
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0041ce01
add esp, 0x1c
ret
mov ecx, dword [esp + 0x1c]
pop ebp
xor ecx, esp
or eax, 0xffffffff
call fcn.0041ce01
add esp, 0x1c
ret
Function at 0x4048d0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
xor esi, esi
push edi
xor edi, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], esi
cmp dword [esp + 0x30], esi
je 0x40490a
cmp dword [esp + 0x34], esi
je 0x40490a
push 0x200
call fcn.0041d475
mov ebx, eax
add esp, 4
cmp ebx, esi
jne 0x404915
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
lea eax, [esp + 0x14]
push eax
push 0x20119
push esi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x404a74
mov edx, dword [esp + 0x14]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
push esi
push esi
push esi
lea ecx, [esp + 0x20]
push ecx
push ebx
push esi
push edx
mov dword [esp + 0x30], 0x100
call ebp
test eax, eax
jne 0x404a0a
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x40496d
mov eax, reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x1c]
push ecx
push 0x20119
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4049e3
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x20]
lea eax, [ebx + 4]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
push str.ServiceName
push edx
mov dword [esp + 0x38], 1
mov dword [esp + 0x28], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4049d8
mov eax, ebx
mov dword [ebx], 0x5c2e5c5c
call fcn.00404840
cmp edx, edi
jb 0x4049d8
ja 0x4049d2
cmp eax, dword [esp + 0x24]
jbe 0x4049d8
mov dword [esp + 0x24], eax
mov edi, edx
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x14]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
push ebx
inc esi
push esi
push edx
mov dword [esp + 0x30], 0x100
call ebp
test eax, eax
je 0x404960
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
ja 0x404a20
cmp dword [esp + 0x24], 0
jbe 0x404a74
mov ecx, dword [esp + 0x24]
push edi
push ecx
push str._012I64X
mov ecx, 0x200
call fcn.00402660
add esp, 0xc
test eax, eax
jne 0x404a59
push ebx
mov dword [esp + 0x1c], 0xffffffff
call fcn.0041cfe4
mov eax, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
push ebx
push edx
push str.MAC:
call fcn.00404480
add esp, 0xc
mov dword [esp + 0x18], eax
push ebx
call fcn.0041cfe4
mov eax, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x407830
Capabilities:
Check mutex on windows

Disassembly:
push ebp
lea ebp, [esp - 0xc8]
sub esp, 0xc8
push 0xffffffffffffffff
push 0x433aab
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x43e6dc]
xor eax, ebp
mov dword [ebp + 0xc4], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor esi, esi
mov dword [0x441e40], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.1830B7BD_F7A3_4c4d_989B_C004DE465EDE
push str._s__u
lea eax, [ebp]
push 0x40
push eax
call fcn.00420eab
add esp, 0x14
lea edx, [ebp]
push edx
push 1
xor ecx, ecx
push esi
mov word [ebp + 0x80], cx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, eax
mov dword [ebp - 0x18], ebx
cmp ebx, esi
je 0x407a24
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4078ce
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x3e
lea ecx, [ebp + 0x86]
xor eax, eax
push esi
mov dword [ebp - 4], esi
push ecx
mov word [ebp + 0x84], ax
call fcn.0041ce70
add esp, 0xc
push 0x1f
lea edx, [ebp + 0x84]
push edx
call fcn.00407520
mov dword [ebp - 0x14], esi
cmp eax, esi
je 0x407935
lea edx, [ebp - 0x14]
xor ecx, ecx
push edx
mov word [ebp + eax*2 + 0x84], cx
lea eax, [ebp + 0x84]
push 0x439d30
push eax
call fcn.00420a25
add esp, 0xc
cmp eax, 1
jne 0x407935
mov eax, dword [ebp - 0x14]
mov dword [0x441e40], eax
jmp 0x407a05
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x40794f
push 0x5c0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x407963
push ebx
push esi
call fcn.00407c80
jmp 0x407965
xor eax, eax
mov byte [ebp - 4], 0
mov dword [0x441e40], eax
test eax, eax
jne 0x407987
push 0x43b2b4
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x20], 1
call fcn.004208e5
push eax
lea edx, [ebp + 0x84]
push 0x439d30
push edx
mov edi, 1
call fcn.0041dd3b
add esp, 0xc
lea esi, [ebp + 0x84]
call fcn.00407660
test eax, eax
jne 0x4079fe
push 0x43b2b4
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 3
call fcn.004208e5
call fcn.00407700
mov edi, dword [ebp - 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov esi, dword [0x441e40]
test esi, esi
je 0x4079ef
call fcn.00407dd0
mov dword [0x441e40], 0
jmp 0x4079f6
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x4079fc
ret
mov eax, dword [0x441e40]
xor esi, esi
inc dword [eax + 0x5bc]
push ebx
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp edi, esi
jne 0x407a24
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x441e40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xc4]
xor ecx, ebp
call fcn.0041ce01
add ebp, 0xc8
mov esp, ebp
pop ebp
ret
Function at 0x407a50
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433a50
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x43e6dc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, dword [0x441e40]
xor edi, edi
cmp ecx, edi
jne 0x407a9b
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
jne 0x407aa8
mov dword [ebp - 0x14], edi
jmp 0x407ac0
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
cmp eax, edi
jne 0x407b56
mov ecx, dword [0x441e40]
mov eax, dword [ecx]
cmp eax, edi
je 0x407a87
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x407a87
mov ebx, 0x441e40
mov dword [ebp - 4], edi
call fcn.00407b70
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, edi
jne 0x407afe
push 0x43b2b4
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], 1
call fcn.004208e5
mov ecx, dword [0x441e40]
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x407b18
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp eax, edi
jne 0x407b42
push 0x43b2b4
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], 4
call fcn.004208e5
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x407b39
call fcn.00407ed0
mov eax, 0x407b3f
ret
mov eax, dword [0x441e40]
mov eax, dword [eax]
test eax, eax
je 0x407b54
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
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 0x407b70
Capabilities:
Print debug messages

Disassembly:
sub esp, 8
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x5b0]
add eax, 8
mov dword [eax + 0x5b0], ecx
cmp ecx, eax
jne 0x407b9d
xor ecx, ecx
jmp 0x407ba9
mov edx, dword [ecx + 0x5a8]
mov dword [eax + 0x5b0], edx
push esi
mov esi, ecx
test ecx, ecx
je 0x407c5d
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenThread]
mov eax, dword [esi]
cmp dword [esp + 0x10], eax
jne 0x407bd0
mov dword [esp + 0xc], esi
jmp 0x407c30
push eax
push 1
push 0x40
call edi
test eax, eax
jne 0x407c29
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x407c1c
mov eax, dword [esi + 0x5ac]
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5a8], ecx
mov edx, dword [esi + 0x5a8]
mov eax, dword [esi + 0x5ac]
mov dword [edx + 0x5ac], eax
call ebp
test eax, eax
je 0x407c30
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x407c30
push 0x439d38
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x407c30
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx]
mov esi, dword [eax + 0x5b8]
add eax, 8
cmp esi, eax
je 0x407c53
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5b0], ecx
test esi, esi
jne 0x407bc2
mov eax, dword [esp + 0xc]
pop edi
pop ebp
test eax, eax
jne 0x407c71
mov ecx, dword [ebx]
add ecx, 8
call fcn.00407e00
test eax, eax
je 0x407c71
mov edx, dword [esp + 8]
mov dword [eax], edx
pop esi
add esp, 8
ret

Function at 0x407c80
Capabilities:
Allocate thread local storage

Disassembly:
push 0xffffffffffffffff
push 0x433a7b
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x43e6dc]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
lea esi, [edi + 8]
push 0x5a0
lea eax, [esi + 8]
push 0
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
push eax
mov dword [esi], 0
call fcn.0041ce70
add esp, 0xc
mov dword [esi + 0x5ac], esi
mov dword [esi + 0x5a8], esi
mov dword [esi + 0x5b0], esi
mov dword [esp + 0x14], 0
mov dword [edi + 0x5bc], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
jne 0x407d18
push 0x43b2b4
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 2
call fcn.004208e5
mov ecx, dword [esp + 0x20]
mov dword [edi], ecx
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 8
Function at 0x407f50
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [0x43ffc0], 0
push str.Global__Q360XPFixMutex__
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x43ffc0], eax
cmp dword [0x43ffc0], 0
je 0x407fbe
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x407fbe
push 0x434488
push 0x43449c
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x407fb7
push 9
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, 1
jmp 0x407fc0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x408e80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x43e6dc]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 0
jne 0x408e9d
xor eax, eax
jmp 0x408eeb
mov dword [ebp - 4], 0x400
push 0x800
push 0
lea eax, [ebp - 0x808]
push eax
call fcn.0041ce70
add esp, 0xc
push 0x400
lea ecx, [ebp - 0x808]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00408f00
add esp, 0x10
test eax, eax
jne 0x408ede
xor eax, eax
jmp 0x408eeb
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041ce01
mov esp, ebp
pop ebp
ret
Function at 0x40a900
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1478
call fcn.0041cf80
mov eax, dword [0x43e6dc]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1478], ecx
mov dword [ebp - 0x1474], 0
mov dword [ebp - 0x1470], 0
push 0x24c
push 0
lea eax, [ebp - 0x146c]
push eax
call fcn.0041ce70
add esp, 0xc
lea ecx, [ebp - 4]
call fcn.0040d870
mov cx, word [0x43976c]
mov word [ebp - 0x1218], cx
push 0x206
push 0
lea edx, [ebp - 0x1216]
push edx
call fcn.0041ce70
add esp, 0xc
mov dword [ebp - 0x121c], 0x400
push 0x800
push 0
lea eax, [ebp - 0x1010]
push eax
call fcn.0041ce70
add esp, 0xc
push 0x800
push 0
lea ecx, [ebp - 0x810]
push ecx
call fcn.0041ce70
add esp, 0xc
push 0x400
lea edx, [ebp - 0x1010]
push edx
push 0
call fcn.00408b20
add esp, 0xc
mov dword [ebp - 8], 0
mov dword [ebp - 8], 0
jmp 0x40a9d8
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x1478]
mov edx, dword [ebp - 8]
cmp edx, dword [ecx + 8]
jge 0x40a9f5
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
jmp 0x40a9cf
push str.config
lea ecx, [ebp - 0x1010]
push ecx
lea edx, [ebp - 0x1218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x1218]
push eax
lea ecx, [ebp - 4]
call fcn.0040ddf0
push 0x43490c
lea ecx, [ebp - 4]
call fcn.0040adc0
lea ecx, [ebp - 0x1470]
push ecx
lea ecx, [ebp - 4]
call fcn.0041add0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x1474], eax
cmp dword [ebp - 0x1474], 0
je 0x40aada
mov edx, dword [ebp - 0x1470]
and edx, 0x10
je 0x40aabb
push 0x434908
lea eax, [ebp - 0x1444]
push eax
call fcn.0041d53f
add esp, 8
test eax, eax
je 0x40aabb
push 0x434900
lea ecx, [ebp - 0x1444]
push ecx
call fcn.0041d53f
add esp, 8
test eax, eax
je 0x40aabb
lea edx, [ebp - 0x1444]
push edx
lea eax, [ebp - 0x1218]
push eax
lea ecx, [ebp - 0x810]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [ebp - 0x810]
push edx
mov ecx, dword [ebp - 0x1478]
call fcn.0040ab10
lea eax, [ebp - 0x1470]
push eax
mov ecx, dword [ebp - 0x1474]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40aad5
jmp 0x40aada
jmp 0x40aa46
cmp dword [ebp - 0x1474], 0
je 0x40aaf0
mov edx, dword [ebp - 0x1474]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x1474], 0
lea ecx, [ebp - 4]
call fcn.0040d8f0
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0041ce01
mov esp, ebp
pop ebp
ret

Function at 0x40d240
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call fcn.0040d0c0
add esp, 4
test eax, eax
je 0x40d25b
mov eax, 1
jmp 0x40d29b
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40d26d
xor eax, eax
jmp 0x40d29b
push 1
call fcn.0040d2a0
push eax
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 4]
call fcn.0040c8c0
mov ecx, eax
call fcn.0041add0
push eax
call fcn.0040d2b0
add esp, 0xc
lea ecx, [ebp - 4]
call fcn.0041ac80
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x40d490
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop ebp
ret 0x18

Function at 0x40d4f0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x43e6dc]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x820], 0x400
xor eax, eax
mov word [ebp - 0x808], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x806]
push ecx
call fcn.0041ce70
add esp, 0xc
mov dword [ebp - 0x80c], 1
mov dword [ebp - 0x814], 0x800
lea edx, [ebp - 0x814]
push edx
lea eax, [ebp - 0x808]
push eax
lea ecx, [ebp - 0x80c]
push ecx
push 0x434b08
push 0x434a88
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [ebp - 0x810], eax
cmp dword [ebp - 0x810], 0
je 0x40d583
mov eax, 1
jmp 0x40d60a
push str.360ver.dll
lea edx, [ebp - 0x808]
push edx
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40d5b4
mov eax, 1
jmp 0x40d60a
lea edx, [ebp - 0x808]
push edx
call fcn.0040d070
add esp, 4
mov dword [ebp - 0x81c], eax
cmp dword [ebp - 0x81c], 0
jne 0x40d5d9
mov eax, 1
jmp 0x40d60a
push str.IsBetaVersion
mov eax, dword [ebp - 0x81c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
call dword [ebp - 4]
mov dword [ebp - 0x818], eax
mov ecx, dword [ebp - 0x81c]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x818]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041ce01
mov esp, ebp
pop ebp
ret
Function at 0x40fa90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
mov eax, dword [0x43e6dc]
xor eax, ebp
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x454], ecx
call fcn.0040f410
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x2c]
call fcn.0040b390
mov eax, dword [ebp - 0x454]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040fd80
lea ecx, [ebp - 0x438]
call fcn.0040b390
push 0x400
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040f470
add esp, 8
mov dword [ebp - 8], eax
push 2
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40fb0e
call fcn.0040f480
mov dword [ebp - 0x444], eax
jmp 0x40fc63
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x440], 0
jne 0x40fb3f
call fcn.0040f480
mov dword [ebp - 0x444], eax
jmp 0x40fc63
mov eax, dword [ebp - 0x440]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0
jne 0x40fb6f
call fcn.0040f480
mov dword [ebp - 0x444], eax
jmp 0x40fc63
mov edx, dword [ebp - 0x440]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x448]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x1c]
add edx, 1
cmp edx, dword [ebp - 0x1c]
jae 0x40fbbf
mov dword [ebp - 0x44c], 0x8007000e
lea ecx, [ebp - 0x438]
call fcn.00412810
lea ecx, [ebp - 0x2c]
call fcn.00412520
mov eax, dword [ebp - 0x44c]
jmp 0x40fc98
mov eax, dword [ebp - 0x1c]
add eax, 1
push eax
lea ecx, [ebp - 0x438]
call fcn.00412830
lea ecx, [ebp - 0x438]
call fcn.0041add0
test eax, eax
jne 0x40fbec
mov dword [ebp - 0x444], 0x8007000e
jmp 0x40fc63
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x438]
call fcn.0041add0
push eax
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 0
call fcn.0040f410
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x43c], eax
cmp dword [ebp - 0x43c], 0
jne 0x40fc2e
call fcn.0040f480
mov dword [ebp - 0x444], eax
jmp 0x40fc63
lea ecx, [ebp - 0x438]
call fcn.0041add0
xor ecx, ecx
mov edx, dword [ebp - 0x43c]
mov word [eax + edx*2], cx
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x438]
call fcn.0041add0
push eax
lea ecx, [ebp - 0x18]
call fcn.0040fdb0
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x10], 0
je 0x40fc73
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [ebp - 0x444]
mov dword [ebp - 0x450], edx
lea ecx, [ebp - 0x438]
call fcn.00412810
lea ecx, [ebp - 0x2c]
call fcn.00412520
mov eax, dword [ebp - 0x450]
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.0041ce01
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4115e0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x43e6dc]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x230], ecx
lea ecx, [ebp - 0x14]
call fcn.00419aa0
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00411570
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x41164b
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x14]
call fcn.00411360
mov eax, dword [ebp - 0x224]
jmp 0x4116dc
mov dword [ebp - 4], 0x100
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4116b1
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004115e0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4116a8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x228], edx
lea ecx, [ebp - 0x14]
call fcn.00411360
mov eax, dword [ebp - 0x228]
jmp 0x4116dc
mov dword [ebp - 4], 0x100
jmp 0x411652
lea ecx, [ebp - 0x14]
call fcn.004114a0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x230]
call fcn.004113e0
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x14]
call fcn.00411360
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0041ce01
mov esp, ebp
pop ebp
ret 4