joyce8/EMBER2024-capa huggingface dataset:
Function at 0x476950
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x59134c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00471d7f
and dword [ebp - 0x14], 0
cmp dword [0x594000], 0
mov dword [ebp - 0x18], eax
jne 0x476a03
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x476aab
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x476aab
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x5876cc
push ebx
mov dword [0x594000], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x594004], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x594008], eax
call edi
push eax
call esi
mov dword [0x594010], eax
test eax, eax
je 0x476a03
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x59400c], eax
mov eax, dword [0x59400c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x476a5c
cmp dword [0x594010], ecx
je 0x476a5c
push eax
call esi
push dword [0x594010]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x476a5c
test ebx, ebx
je 0x476a5c
call edi
test eax, eax
je 0x476a53
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x476a53
test byte [ebp - 8], 1
jne 0x476a5c
or dword [ebp + 0x10], 0x200000
jmp 0x476a8f
mov eax, dword [0x594004]
cmp eax, dword [ebp - 0x18]
je 0x476a8f
push eax
call esi
test eax, eax
je 0x476a8f
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x476a8f
mov eax, dword [0x594008]
cmp eax, dword [ebp - 0x18]
je 0x476a8f
push eax
call esi
test eax, eax
je 0x476a8f
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x594000]
call esi
test eax, eax
je 0x476aab
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x476aad
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046afc7
leave
ret

Function at 0x486f58
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x486f80
call fcn.0046d8cc
and dword [eax], 0
call fcn.0046d8b9
mov dword [eax], 0x16
call fcn.00472412
or eax, 0xffffffff
pop ebp
ret
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x486f9d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0046d8df
pop ecx
jmp 0x486f7b
test byte [ebp + 0xc], 0x80
je 0x486fa8
and eax, 0xfffffffe
jmp 0x486fab
or eax, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x486f8e
xor eax, eax
pop ebp
ret
Function at 0x404350
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3c5b
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x4e43e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x1c], 0
mov eax, dword [ebp + 8]
je 0x404393
mov eax, 1
jmp 0x40454c
mov eax, dword [eax]
mov ecx, dword [eax - 0x10]
lea esi, [eax - 0x10]
mov dword [ebp - 0x424], eax
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
mov ecx, eax
lea eax, [esi + 0xc]
jl 0x4043ba
cmp ecx, dword [esi]
jne 0x4043ba
lock inc dword [eax]
jmp 0x4043ed
mov eax, dword [ecx]
lea edi, [esi + 4]
push 2
push dword [edi]
call dword [eax]
mov esi, eax
test esi, esi
je 0x40456a
mov eax, dword [edi]
mov dword [esi + 4], eax
mov eax, dword [edi]
inc eax
add eax, eax
push eax
push dword [ebp - 0x424]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.00405170
add esp, 0x10
add esi, 0x10
mov dword [ebp - 0x424], esi
cmp dword [esi - 0xc], 0
mov dword [ebp - 4], 0
jne 0x4044af
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004421a0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004421a0
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0046a4af
add esp, 0x18
lea eax, [ebp - 0x218]
push str.DrvMgr360NetUL.dll
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404487
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x424]
call fcn.00404a50
mov esi, dword [ebp - 0x424]
push esi
call fcn.00429300
add esp, 4
test eax, eax
jne 0x4044c0
xor edi, edi
jmp 0x40452b
mov dword [ebx + 0x1c], 1
cmp dword [ebx], 0
jne 0x404526
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebx], eax
test eax, eax
je 0x404526
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HttpInit
push eax
call edi
push str.HttpUninit
push dword [ebx]
mov dword [ebx + 4], eax
call edi
push str.zlib_uncompress
push dword [ebx]
mov dword [ebx + 8], eax
call edi
push str.zlib_compress
push dword [ebx]
mov dword [ebx + 0x10], eax
call edi
push str.zlib_compressBound
push dword [ebx]
mov dword [ebx + 0x14], eax
call edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
test eax, eax
je 0x404526
call eax
mov dword [ebx + 0xc], eax
mov edi, 1
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40454a
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
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 - 0x10]
xor ecx, ebp
call fcn.0042a228
mov esp, ebp
pop ebp
ret 4
call fcn.004037b0
int3
Function at 0x405040
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x405099
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x405099
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x40508a
cmp esi, edx
jae 0x405099
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x405078
cmp esi, edx
jae 0x405099
cmp word [esi], 0
je 0x405099
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x405920
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x4e43e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x800
lea eax, [ebp - 0x804]
mov ebx, ecx
push 0
push eax
call fcn.004421a0
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x400
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push str.Q360ComputerZLiteSetupMutext
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov dword [ebp - 0x808], esi
test esi, esi
je 0x405a2d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4059fc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x4bc7e0
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
mov esi, eax
test esi, esi
je 0x4059e9
push esi
call dword [sym.imp.USER32.dll_IsIconic]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x4059d2
push 9
push esi
call edi
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4059e2
push 5
push esi
call edi
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042a228
mov esp, ebp
pop ebp
ret
lea edi, [ebx + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 8]
lea ecx, [ebx + 4]
cmp dword [ecx + 8], eax
je 0x405a19
mov dword [eax], esi
add dword [ecx + 4], 4
jmp 0x405a26
lea edx, [ebp - 0x808]
push edx
push eax
call fcn.00405370
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042a228
mov esp, ebp
pop ebp
ret
Function at 0x405ad0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1a3c
call fcn.0042a240
mov eax, dword [0x4e43e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push 0
push 2
mov dword [ebp - 0x1a34], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x405ce9
push edi
push 0x22c
lea eax, [ebp - 0x1a30]
push 0
push eax
call fcn.004421a0
add esp, 0xc
mov dword [ebp - 0x1a30], 0x22c
lea eax, [ebp - 0x1a30]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x405ce5
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x1a3c], eax
cmp eax, dword [ebp - 0x1a28]
je 0x405cca
push dword [ebp - 0x1a34]
lea eax, [ebp - 0x1a0c]
push eax
call fcn.0046a6b6
add esp, 8
test eax, eax
jne 0x405cca
push 0x800
push eax
lea eax, [ebp - 0x1804]
push eax
call fcn.004421a0
add esp, 0xc
push dword [ebp - 0x1a28]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x405c86
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.004421a0
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x400
push eax
push 0
push edi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x405c7b
push 0x800
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.004421a0
lea eax, [ebp - 0x804]
push 0x7e
push eax
call fcn.00443204
add esp, 0x14
test eax, eax
je 0x405c43
push 0x400
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
dec eax
cmp eax, 0x3fe
ja 0x405c43
lea ecx, [ebp - 0x1004]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405c30
lea eax, [ebp - 0x1004]
jmp 0x405c61
lea ecx, [ebp - 0x804]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405c50
lea eax, [ebp - 0x804]
sub ecx, edx
sar ecx, 1
push ecx
push eax
lea eax, [ebp - 0x1804]
push 0x400
push eax
call fcn.0046a6ab
add esp, 0x10
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
jmp 0x405c8c
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x1804]
push eax
call fcn.00429300
add esp, 4
test eax, eax
je 0x405cca
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x1a28]
mov dword [ebp - 0x1a38], ecx
cmp dword [esi + 8], eax
je 0x405cbb
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x405cca
lea ecx, [ebp - 0x1a38]
push ecx
push eax
mov ecx, esi
call fcn.00405210
lea eax, [ebp - 0x1a30]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
mov eax, dword [ebp - 0x1a3c]
jne 0x405b51
push ebx
call edi
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042a228
mov esp, ebp
pop ebp
ret 8
Function at 0x407420
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 4], esi
push edi
test ebx, ebx
jne 0x40743d
xor edi, edi
jmp 0x407594
cmp dword [ebp + 0x14], 0
je 0x40756d
push 0x1440
call fcn.0042a297
mov edi, eax
add esp, 4
test edi, edi
je 0x407503
mov ecx, dword [ebp + 0x40]
xor edx, edx
mov dword [ebp - 0x28], edx
test ecx, ecx
je 0x407477
mov eax, dword [ecx]
lea edx, [ebp - 0x4c]
push edx
call dword [eax]
mov edx, eax
mov dword [ebp - 0x28], edx
mov ecx, dword [ebp + 8]
lea esi, [edi + 0x1418]
mov dword [edi], ecx
mov dword [edi + 0x1414], 1
mov dword [esi + 0x24], 0
test edx, edx
je 0x4074a1
mov eax, dword [edx]
mov ecx, edx
push esi
call dword [eax]
mov dword [esi + 0x24], eax
push 0x1000
lea esi, [edi + 4]
push 0
push esi
call fcn.004421a0
push 0x800
push ebx
push esi
call fcn.0046b15d
push 0x410
lea esi, [edi + 0x1004]
push 0
push esi
call fcn.004421a0
mov eax, dword [ebp - 4]
add esp, 0x24
test eax, eax
je 0x4074e9
push 0x208
push eax
push esi
call fcn.0046b15d
add esp, 0xc
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x407505
mov edx, dword [ecx]
lea eax, [ebp - 0x4c]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
jmp 0x407505
xor edi, edi
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x24], vtable.CSimpleThread.0
push eax
push 0
push edi
push 0x4075c0
push 0
push 0
mov dword [ebp - 0xc], 0x4075c0
mov dword [ebp - 8], edi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
call fcn.0046b507
add esp, 0x18
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], vtable.CSimpleThread.0
test eax, eax
je 0x407566
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, 1
jmp 0x407594
sub esp, 0x28
mov edi, esp
mov dword [edi + 0x24], 0
mov ecx, dword [ebp + 0x40]
test ecx, ecx
je 0x407588
mov eax, dword [ecx]
push edi
call dword [eax]
mov dword [edi + 0x24], eax
mov ecx, dword [ebp + 8]
push esi
push ebx
call fcn.00407950
mov edi, eax
mov ecx, dword [ebp + 0x40]
test ecx, ecx
je 0x4075ac
mov esi, dword [ecx]
lea eax, [ebp + 0x1c]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x3c
Function at 0x407700
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.0042a240
mov eax, dword [0x4e43e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x4004]
push edi
mov edi, dword [ebp + 0x10]
push 0x4000
push 0
push eax
call fcn.004421a0
add esp, 0xc
mov dword [ebp - 0x4008], 0
test esi, esi
je 0x4077f8
test edi, edi
je 0x4077f8
lea eax, [ebp - 0x4008]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x4077f8
cmp eax, 0x3fff
ja 0x4077f8
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4077f8
lea eax, [ebp - 0x4010]
push eax
lea eax, [ebp - 0x400c]
push eax
push 0x4bc670
lea eax, [ebp - 0x4004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4077f8
mov esi, dword [ebp + 0x14]
lea eax, [esi + esi]
push eax
push 0
push edi
call fcn.004421a0
mov ecx, dword [ebp - 0x400c]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
lea eax, [esi - 1]
push eax
push edi
call fcn.00409650
add esp, 0x28
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042a228
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0042a228
mov esp, ebp
pop ebp
ret 0x10

Function at 0x407870
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x407895
test byte [ebp - 4], 7
je 0x407895
mov eax, 1
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x407950
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3ef8
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x4e43e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], 0
test esi, esi
je 0x4079f2
cmp word [esi], di
je 0x4079f2
test eax, eax
je 0x4079ae
cmp word [eax], di
je 0x4079ae
push edi
push edi
push eax
push esi
push edi
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
js 0x4079f2
jmp 0x4079ed
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004421a0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0
push 0
push 0x104
push eax
push esi
push 0
call sub.urlmon.dll_URLDownloadToCacheFileW
test eax, eax
js 0x4079f2
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, 1
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x407a23
mov dword [ebp - 0x424], edi
lea edx, [ebp - 0x424]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x407a23
mov esi, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
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.0042a228
mov esp, ebp
pop ebp
ret 0x30
Function at 0x40c9a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b44ab
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4e43e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.liteuninst
call fcn.0040c7a0
mov ecx, eax
call fcn.00409240
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004421a0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x4bc884
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call fcn.0040c7a0
mov ecx, eax
call fcn.004091a0
mov eax, dword [0x4e7d74]
test al, 1
jne 0x40ca77
or eax, 1
mov dword [0x4e7d74], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x4ba370
mov dword [0x4e7d68], 0x4bc678
mov dword [0x4e7d6c], eax
mov byte [0x4e7d70], 0
call fcn.0042a213
mov eax, dword [0x4e7d74]
add esp, 4
test al, 2
jne 0x40cad3
or eax, 2
mov dword [0x4e7d78], 0x4bc690
mov dword [0x4e7d74], eax
xor eax, eax
push 0x4ba3a0
mov dword [0x4e7d7c], 0x4e7d68
mov dword [0x4e7d8c], 2
mov dword [0x4e7d84], 0
mov dword [0x4e7d88], 0
mov dword [0x4e7d90], eax
mov dword [0x4e7d80], 0x4e7d78
call fcn.0042a213
add esp, 4
mov eax, dword [0x4e7d78]
mov ecx, 0x4e7d78
call dword [eax + 0xc]
lea edx, [eax + 0x10]
mov dword [ebp - 0x21c], edx
mov dword [ebp - 0x220], 0x104
mov ecx, 1
mov dword [ebp - 0x224], 1
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
mov dword [ebp - 4], 0
jge 0x40cb2e
push 0x104
lea ecx, [ebp - 0x21c]
call fcn.00404850
mov edx, dword [ebp - 0x21c]
cmp dword [edx - 8], 0x104
jl 0x40cbf8
mov dword [edx - 0xc], 0x104
xor ecx, ecx
mov eax, dword [ebp - 0x21c]
mov word [eax + 0x208], cx
lea eax, [ebp - 0x220]
push eax
push edx
lea eax, [ebp - 0x224]
push eax
push str.VendorID
push str.SOFTWAREldslite
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, dword [ebp - 0x21c]
push dword [eax - 8]
push eax
call fcn.0046afa6
mov edx, eax
add esp, 8
test edx, edx
js 0x40cbf8
mov ecx, dword [ebp - 0x21c]
cmp edx, dword [ecx - 8]
jg 0x40cbf8
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x21c]
mov word [eax + edx*2], cx
lea eax, [ebp - 0x21c]
push eax
call fcn.0040c7a0
mov ecx, eax
call fcn.00409230
mov edx, dword [ebp - 0x21c]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40cbdf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042a228
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004031c0
int3
Function at 0x40d580
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4526
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x4e43e0]
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 dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push edi
mov byte [ebp - 4], 1
call ebx
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x40d62c
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x40d62c
call fcn.0040c470
mov edi, eax
jmp 0x40d74b
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x40d64f
call fcn.0040c470
jmp 0x40d73e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x40d66d
call fcn.0040c470
jmp 0x40d73e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x40d68e
mov edi, 0x8007000e
jmp 0x40d740
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x40d784
jb 0x40d6ac
cmp eax, 0xffffffff
ja 0x40d784
cmp eax, 0x400
jbe 0x40d6c1
push eax
lea ecx, [ebp - 0x418]
call fcn.0040c390
jmp 0x40d6e7
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x40d6e7
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x40d6fe
mov edi, 0x8007000e
jmp 0x40d740
push edi
push dword [ebp - 0x418]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x40d71e
call fcn.0040c470
jmp 0x40d73e
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.0040d3e0
mov edi, eax
test esi, esi
je 0x40d74b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x40d764
lea ecx, [ebp - 0x418]
call fcn.0040c790
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 - 0x14]
xor ecx, ebp
call fcn.0042a228
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.004031c0
int3