joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x42dcb8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push 0
push 0
push str.Language
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x408d7a
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
push 0
push 0
push str.Language
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x408d90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
lea eax, [ebp - 4]
push eax
push 0x201
push 0
push 0x42dcb8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push 0
push 0
push str.installpath
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, dword [ebp + 8]
test eax, eax
jne 0x408def
lea eax, [ebp - 8]
push eax
push esi
push 0
push 0
push str.installpath
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test esi, esi
je 0x408e0c
mov ecx, 0x104
mov eax, esi
lea ebx, [ebx]
cmp word [eax], 0
je 0x408e34
add eax, 2
dec ecx
jne 0x408e00
xor eax, eax
cmp word [esi + eax*2 - 2], 0x5c
je 0x408e26
push 0x435ce4
push 0x104
push esi
call fcn.00401200
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x408e0c
mov eax, 0x104
sub eax, ecx
jmp 0x408e0e

Function at 0x408e50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x43d180]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov edi, ecx
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00417930
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 1
push 0
push 0x42dcb8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0
push str.LicUrlPrefix
push dword [ebp - 0x210]
mov dword [ebp - 0x214], 0
call esi
test eax, eax
jne 0x408eed
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push str.LicUrlPrefix
push dword [ebp - 0x210]
call esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x20c]
push eax
push str._s.guardedid.com
lea esi, [edi + 0x414]
push 0x208
push esi
call fcn.00401280
mov ecx, dword [ebp - 4]
add esp, 0x10
mov eax, esi
xor ecx, ebp
pop edi
pop esi
call fcn.00416230
mov esp, ebp
pop ebp
ret
Function at 0x408f30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x43d180]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov edi, ecx
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00417930
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 1
push 0
push 0x42dcb8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0
push str.LicUrlPostfix
push dword [ebp - 0x210]
mov dword [ebp - 0x214], 0
call esi
test eax, eax
jne 0x408fcd
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push str.LicUrlPostfix
push dword [ebp - 0x210]
call esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x20c]
push eax
push 0x42de44
lea esi, [edi + 0x824]
push 0x104
push esi
call fcn.00401280
mov ecx, dword [ebp - 4]
add esp, 0x10
mov eax, esi
xor ecx, ebp
pop edi
pop esi
call fcn.00416230
mov esp, ebp
pop ebp
ret

Function at 0x409010
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x43d180]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
lea eax, [ebp - 0x118]
mov dword [ebp - 0x11c], 0
push 0
push eax
call fcn.00417930
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 5
jbe 0x4090c9
push str.ieframe.dll
mov dword [ebp - 0x120], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.IEGetWriteableHKCU
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4090e0
lea ecx, [ebp - 0x120]
push ecx
call eax
lea eax, [ebp - 0x11c]
push eax
push 0x42dc9c
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00416230
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x11c]
push eax
push 0x42dc9c
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x11c]
xor ecx, ebp
call fcn.00416230
mov esp, ebp
pop ebp
ret
Function at 0x409890
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c63b
mov eax, dword fs:[0]
push eax
mov eax, 0x1bfc
call fcn.00417900
mov eax, dword [0x43d180]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [ebp - 0x338]
call fcn.004116e0
mov dword [ebp - 4], 0
call fcn.00408940
push 0x50
lea ecx, [edi + 0x3cb0]
call fcn.00408e50
push eax
lea ecx, [ebp - 0x338]
call fcn.00411900
lea ecx, [edi + 0x3cb0]
call fcn.00408f30
push eax
lea ecx, [ebp - 0x338]
call fcn.004118f0
mov ecx, edi
call fcn.00410950
mov esi, eax
lea eax, [ebp - 0xa4]
push 0x80
push 0
push eax
mov dword [ebp - 0x1c08], esi
call fcn.00417930
lea eax, [ebp - 0xa4]
push eax
call fcn.00410880
add esp, 0x10
mov dword [ebp - 0xd64], 0x1000
xor eax, eax
mov dword [ebp - 0x1c04], 4
mov word [ebp - 0x24], ax
xorps xmm0, xmm0
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x1c00]
push eax
push 1
push 0
push 0x42dcb8
push reloc.OLEAUT32.dll_SysReAllocString
movdqu xmmword [ebp - 0x22], xmm0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x1c04]
push eax
lea eax, [ebp - 0xd64]
push eax
push 0
push 0
push 0x42d928
push dword [ebp - 0x1c00]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x1c00]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x10
push 0xa
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0xd64]
call fcn.00417b8d
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x2b0], ax
lea eax, [ebp - 0x2ae]
push eax
call fcn.00417930
lea eax, [ebp - 0x2b0]
push eax
call fcn.00408d20
add esp, 0x20
lea eax, [ebp - 0x1bfc]
mov ecx, edi
push eax
lea eax, [ebp - 0x2b0]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x42d8f8
lea eax, [ebp - 0xa4]
push eax
call fcn.00409e30
push eax
push esi
lea ecx, [ebp - 0x338]
call fcn.00411870
mov esi, eax
test esi, esi
jne 0x409a68
cmp dword [ebp - 0x1bf8], 0xc8
jne 0x409a63
mov eax, dword [ebp - 0x1bf4]
test eax, eax
je 0x409a51
cmp eax, 0x4b1
je 0x409a51
cmp eax, 0x516
je 0x409a51
push eax
call fcn.00409100
add esp, 4
mov esi, eax
jmp 0x409a68
push 1
push 0
mov ecx, edi
mov esi, 0x15
call fcn.00410d10
jmp 0x409a68
mov esi, 0x1e
mov ecx, edi
call fcn.004110d0
push dword [ebp - 0x1bf4]
mov ecx, edi
call fcn.00409e30
push eax
push dword [ebp - 0x1c08]
push str.Deactivate__s__s___d
call fcn.00401350
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x338]
call fcn.00411760
mov eax, esi
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.00416230
mov esp, ebp
pop ebp
ret
Function at 0x40a9b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c77b
mov eax, dword fs:[0]
push eax
mov eax, 0x2c20
call fcn.00417900
mov eax, dword [0x43d180]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [ebp - 0x2b8]
mov dword [ebp - 0x2c24], 1
call fcn.004116e0
push 0x84e
lea eax, [ebp - 0x1534]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00417930
push 0x84e
lea eax, [ebp - 0x1d84]
push 0
push eax
call fcn.00417930
add esp, 0x18
lea eax, [ebp - 0x1534]
mov ecx, edi
push eax
call fcn.0040fb60
lea eax, [ebp - 0x1d84]
mov ecx, edi
push eax
call fcn.0040f860
push 0x50
lea ecx, [edi + 0x3cb0]
call fcn.00408e50
push eax
lea ecx, [ebp - 0x2b8]
call fcn.00411900
lea ecx, [edi + 0x3cb0]
call fcn.00408f30
push eax
lea ecx, [ebp - 0x2b8]
call fcn.004118f0
mov ecx, edi
call fcn.00410950
cmp dword [ebp + 8], 0
mov dword [ebp - 0x2c2c], eax
je 0x40aab5
lea edx, [ebp - 0x1534]
mov esi, 0x84a
lea eax, [ebp - 0x1d84]
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x40aab5
add edx, 4
add eax, 4
sub esi, 4
jae 0x40aa98
mov cx, word [edx]
cmp cx, word [eax]
je 0x40aba3
xor eax, eax
mov dword [ebp - 0xce4], 0x1000
mov word [ebp - 0x24], ax
xorps xmm0, xmm0
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x2c20]
push eax
push 1
push 0
push 0x42dcb8
push reloc.OLEAUT32.dll_SysReAllocString
movdqu xmmword [ebp - 0x22], xmm0
mov dword [ebp - 0x2c28], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x2c28]
push eax
lea eax, [ebp - 0xce4]
push eax
push 0
push 0
push 0x42d928
push dword [ebp - 0x2c20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x2c20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x10
push 0xa
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0xce4]
call fcn.00417b8d
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x22e]
push eax
call fcn.00417930
lea eax, [ebp - 0x230]
push eax
call fcn.00408d20
add esp, 0x20
lea eax, [ebp - 0x230]
mov ecx, edi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c1c]
push eax
lea eax, [ebp - 0x1d84]
push eax
call fcn.00409e30
push eax
push dword [ebp - 0x2c2c]
lea ecx, [ebp - 0x2b8]
call fcn.00411db0
test eax, eax
cmove eax, dword [ebp - 0x2c18]
mov dword [ebp - 0x2c24], eax
lea ecx, [ebp - 0x2b8]
mov dword [ebp - 4], 0xffffffff
call fcn.00411760
mov eax, dword [ebp - 0x2c24]
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.00416230
mov esp, ebp
pop ebp
ret 4
Function at 0x40ace0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x43d180]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push str.ALLUSERSPROFILE
xor edi, edi
lea eax, [ebp - 0x220]
push edi
push edi
push eax
call fcn.00416749
mov eax, dword [ebp - 0x220]
add esp, 0x10
test eax, eax
jne 0x40ad25
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00416230
mov esp, ebp
pop ebp
ret
xor ecx, ecx
mov edx, 2
mul edx
push ebx
push esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00417498
push str.ALLUSERSPROFILE
push dword [ebp - 0x220]
mov ebx, eax
lea eax, [ebp - 0x220]
push ebx
push eax
call fcn.00416749
lea ecx, [ebp - 0x21c]
mov esi, ebx
mov eax, ecx
add esp, 0x14
mov edx, 0x100
sub esi, eax
jmp 0x40ad70
lea eax, [edx + 0x7ffffefe]
test eax, eax
je 0x40ad8e
movzx eax, word [esi + ecx]
test ax, ax
je 0x40ad8e
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x40ad70
jmp 0x40ad92
test edx, edx
jne 0x40ad95
sub ecx, 2
xor eax, eax
push str.GID
mov word [ecx], ax
lea eax, [ebp - 0x21c]
push 0x100
push eax
call fcn.00401200
push str.PrivCHK.ws
push 0x100
lea eax, [ebp - 0x21c]
push eax
call fcn.00401200
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x42e264
lea eax, [ebp - 0x1c]
push 0xc
push eax
call fcn.00401280
add esp, 0x10
lea eax, [ebp - 0x1c]
push eax
push 0x100
lea eax, [ebp - 0x21c]
push eax
call fcn.00401200
push 0x42e2b0
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.00417ca9
add esp, 0xc
test eax, eax
jne 0x40ae34
push dword [ebp - 0x224]
call fcn.00417e24
add esp, 4
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, 1
push ebx
call fcn.004174a1
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, edi
xor ecx, ebp
pop esi
pop ebx
pop edi
call fcn.00416230
mov esp, ebp
pop ebp
ret
Function at 0x40bde0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x43d180]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor eax, eax
mov edi, ecx
push 0x7fe
push eax
mov word [ebp - 0x804], ax
lea eax, [ebp - 0x802]
push eax
call fcn.00417930
mov ebx, dword [edi + 0xe4]
add esp, 0xc
push 5
push dword [edi + 0x40]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0x80]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp ebx, 3
jne 0x40be4c
push 0x400
lea eax, [ebp - 0x804]
push eax
push 0x7b
jmp 0x40bf0a
cmp ebx, 0xa
jne 0x40be67
push 0x400
lea eax, [ebp - 0x804]
push eax
push 0x93
jmp 0x40bf0a
cmp ebx, 6
jne 0x40beb0
push 0x400
lea eax, [ebp - 0x804]
push eax
push 0x84
push dword [0x440914]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x804]
push eax
push dword [edi + 0x40]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, edi
call fcn.0040bf40
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00416230
mov esp, ebp
pop ebp
ret
cmp ebx, 8
jne 0x40bec5
push 0x400
lea eax, [ebp - 0x804]
push eax
push 0x7d
jmp 0x40bf0a
cmp ebx, 9
jne 0x40beda
push 0x400
lea eax, [ebp - 0x804]
push eax
push 0x7e
jmp 0x40bf0a
cmp ebx, 0x14
jne 0x40beef
push 0x400
lea eax, [ebp - 0x804]
push eax
push 0x7f
jmp 0x40bf0a
cmp ebx, 0x2c
je 0x40bedf
cmp ebx, 0x17
jne 0x40bf26
push 0x400
lea eax, [ebp - 0x804]
push eax
push 0x92
push dword [0x440914]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x804]
push eax
push dword [edi + 0x40]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00416230
mov esp, ebp
pop ebp
ret

Function at 0x40bf40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c41b
mov eax, dword fs:[0]
push eax
mov eax, 0x4cfc
call fcn.00417900
mov eax, dword [0x43d180]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [ebp - 0x4d08]
call fcn.00408870
push 0
push 0x42db30
lea ecx, [ebp - 0x4d08]
mov dword [ebp - 4], 0
call fcn.00408a90
push eax
lea ecx, [edi + 0x7c]
call fcn.00407b50
push 5
push dword [edi + 0x40]
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [edi + 0x80]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x4d08]
mov dword [ebp - 4], 0xffffffff
call fcn.00408930
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00416230
mov esp, ebp
pop ebp
ret
Function at 0x40c070
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push 0x201
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallID_Vault
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
push eax
push esi
push esi
push esi
push str.DisplayName
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
test eax, eax
mov ecx, 1
cmove esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40c850
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
lea eax, [ebp - 4]
push eax
push 0x201
push 0
push 0x42e4a4
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push 0
push 0
push str.installpath
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, dword [ebp + 8]
test eax, eax
jne 0x40c8af
lea eax, [ebp - 8]
push eax
push esi
push 0
push 0
push str.installpath
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test esi, esi
je 0x40c8cc
mov ecx, 0x104
mov eax, esi
lea ebx, [ebx]
cmp word [eax], 0
je 0x40c8f4
add eax, 2
dec ecx
jne 0x40c8c0
xor eax, eax
cmp word [esi + eax*2 - 2], 0x5c
je 0x40c8e6
push 0x435ce4
push 0x104
push esi
call fcn.00401200
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x40c8cc
mov eax, 0x104
sub eax, ecx
jmp 0x40c8ce

Function at 0x40c910
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x43d180]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
lea eax, [ebp - 0x118]
mov dword [ebp - 0x11c], 0
push 0
push eax
call fcn.00417930
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 5
jbe 0x40c9c9
push str.ieframe.dll
mov dword [ebp - 0x120], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.IEGetWriteableHKCU
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c9e0
lea ecx, [ebp - 0x120]
push ecx
call eax
lea eax, [ebp - 0x11c]
push eax
push 0x42e488
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00416230
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x11c]
push eax
push 0x42e488
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x11c]
xor ecx, ebp
call fcn.00416230
mov esp, ebp
pop ebp
ret
Function at 0x40ede0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
lea eax, [ebp - 4]
push eax
push 0x201
push 0
push 0x42eb10
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push 0
push 0
push str.installpath
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, dword [ebp + 8]
test eax, eax
jne 0x40ee3f
lea eax, [ebp - 8]
push eax
push esi
push 0
push 0
push str.installpath
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test esi, esi
je 0x40ee5c
mov ecx, 0x104
mov eax, esi
lea ebx, [ebx]
cmp word [eax], 0
je 0x40ee84
add eax, 2
dec ecx
jne 0x40ee50
xor eax, eax
cmp word [esi + eax*2 - 2], 0x5c
je 0x40ee76
push 0x435ce4
push 0x104
push esi
call fcn.00401200
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x40ee5c
mov eax, 0x104
sub eax, ecx
jmp 0x40ee5e

Function at 0x40eea0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x43d180]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 0x214]
mov edi, ecx
push eax
push 1
push 0
push str.SOFTWAREMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x218]
mov dword [ebp - 0x218], 0
push eax
push 0
push 0
push 0
push 0x42eae4
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40ef20
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x42eae4
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0
push eax
lea eax, [ebp - 0x20c]
push 0x42fd9c
push eax
call fcn.00417ab8
push eax
call fcn.00417472
mov word [edi + 0x41c], ax
lea eax, [ebp - 0x210]
push eax
push 0x42fd9c
push 0
call fcn.00417ab8
push eax
call fcn.00417472
mov word [edi + 0x41e], ax
lea eax, [ebp - 0x210]
push eax
push 0x42fd9c
push 0
call fcn.00417ab8
push eax
call fcn.00417472
mov word [edi + 0x420], ax
lea eax, [ebp - 0x210]
push eax
push 0x42fd9c
push 0
call fcn.00417ab8
push eax
call fcn.00417472
mov ecx, dword [ebp - 4]
add esp, 0x40
mov word [edi + 0x422], ax
xor ecx, ebp
pop edi
call fcn.00416230
mov esp, ebp
pop ebp
ret
Function at 0x40f860
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c4
mov eax, dword [0x43d180]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x6bc]
push esi
push 0x638
push 0
push eax
call fcn.00417930
add esp, 0xc
lea eax, [ebp - 0x6c0]
lea ecx, [ebp - 0x6bc]
push eax
call fcn.0040efd0
lea ecx, [ebx + 0x556]
mov esi, 0x42ff18
mov edx, 0x1e
sub esi, ecx
lea eax, [edx + 0x7fffffe0]
test eax, eax
je 0x40f8d0
movzx eax, word [esi + ecx]
test ax, ax
je 0x40f8d0
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x40f8b2
jmp 0x40f8d4
test edx, edx
jne 0x40f8d7
sub ecx, 2
push edi
mov edi, dword [ebp - 0x6c0]
xor eax, eax
mov word [ecx], ax
movzx eax, word [edi + 0x422]
push eax
movzx eax, word [edi + 0x420]
push eax
movzx eax, word [edi + 0x41e]
push eax
movzx eax, word [edi + 0x41c]
push eax
push str._d:_d:_d:_d
lea eax, [ebx + 0x51a]
push 0x1e
push eax
call fcn.00401280
lea esi, [edi + 0x430]
add esp, 0x1c
lea ecx, [ebx + 0xca]
mov edx, 0x200
sub esi, ecx
lea esp, [esp]
lea eax, [edx + 0x7ffffdfe]
test eax, eax
je 0x40f94e
movzx eax, word [esi + ecx]
test ax, ax
je 0x40f94e
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x40f930
jmp 0x40f952
test edx, edx
jne 0x40f955
sub ecx, 2
xor eax, eax
mov word [ecx], ax
lea eax, [ebx + 0x4ca]
push dword [edi + 0x428]
push dword [edi + 0x424]
push str._2d__04d
push 0xa
push eax
call fcn.00401280
mov esi, edi
add esp, 0x14
mov edx, 0x33
mov ecx, ebx
sub esi, ebx
jmp 0x40f990
lea eax, [edx + 0x7fffffcb]
test eax, eax
je 0x40f9ae
movzx eax, word [esi + ecx]
test ax, ax
je 0x40f9ae
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x40f990
jmp 0x40f9b2
test edx, edx
jne 0x40f9b5
sub ecx, 2
xor eax, eax
mov word [ecx], ax
lea eax, [edi + 0x208]
push dword [edi + 0x414]
push dword [edi + 0x410]
push eax
push str._s__d:_d
lea eax, [ebx + 0x66]
push 0x1e
push eax
call fcn.00401280
add esp, 0x18
lea ecx, [ebx + 0xa2]
mov esi, 0x42d8f8
mov edx, 0x14
sub esi, ecx
pop edi
lea eax, [edx + 0x7fffffea]
test eax, eax
je 0x40fa11
movzx eax, word [esi + ecx]
test ax, ax
je 0x40fa11
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x40f9f3
jmp 0x40fa15
test edx, edx
jne 0x40fa18
sub ecx, 2
xor eax, eax
push 0x80
push eax
mov word [ecx], ax
lea eax, [ebp - 0x84]
push eax
call fcn.00417930
add esp, 0xc
mov dword [ebp - 0x6c4], 0x18
xor eax, eax
mov word [ebp - 0x84], ax
lea eax, [ebp - 0x6c0]
push eax
push 1
push 0
push 0x42eb10
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x6c4]
push eax
lea eax, [ebp - 0x84]
push eax
push 0
push 0
push 0x42eae4
push dword [ebp - 0x6c0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x6c0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebx + 0x4de]
mov edx, 0x1e
lea esi, [ebp - 0x84]
sub esi, ecx
lea eax, [edx + 0x7fffffe0]
test eax, eax
je 0x40fac0
movzx eax, word [esi + ecx]
test ax, ax
je 0x40fac0
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x40faa2
jmp 0x40fac4
test edx, edx
jne 0x40fac7
sub ecx, 2
xor eax, eax
mov word [ecx], ax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00416230
mov esp, ebp
pop ebp
ret 4