joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418ff0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 0xc]
push eax
xor esi, esi
lea ecx, [ebp - 4]
push ecx
push esi
push 0x20006
push esi
push esi
push esi
push str.SOFTWAREMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
push SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41905e
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
push edi
push 4
lea ecx, [ebp - 8]
push ecx
push 4
push esi
push 0x49d06c
push eax
mov edi, eax
mov dword [ebp - 8], edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x41904b
mov esi, 0x80004005
test edi, edi
je 0x419056
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x80004005
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x419070
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4e1644]
mov dword [ebp - 8], 0x1b58
test eax, eax
jne 0x4190e8
push esi
push edi
lea eax, [ebp - 0x10]
push eax
xor esi, esi
lea ecx, [ebp - 4]
push ecx
push esi
push 0x20019
push esi
push esi
push esi
push str.SOFTWAREMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
push SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4190d6
mov esi, dword [ebp - 4]
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0x49d06c
push esi
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, dword [ebp - 8]
test esi, esi
je 0x4190e4
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41a600
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e91b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4b6798]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00472fda
push 4
mov dword [ebp - 4], 0
call fcn.004739eb
mov edi, eax
add esp, 4
test edi, edi
je 0x41a67c
call fcn.004725b9
mov dword [edi], eax
call fcn.00472378
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.004722ad
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x41a672
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.004722d5
jmp 0x41a67e
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 [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41e820
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4b6798]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
mov ecx, dword [edi]
xor esi, esi
lea edx, [ebp - 0x218]
push edx
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
call fcn.0040f3d0
mov ebx, eax
cmp ebx, esi
je 0x41e899
mov eax, dword [ebp - 0x218]
cmp eax, esi
je 0x41e884
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004736db
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x228]
push eax
mov eax, dword [ebp - 0x218]
push esi
push esi
push esi
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x20c]
push edx
push esi
push eax
mov dword [ebp - 0x21c], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x41e91c
lea ecx, [ecx]
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x218]
call fcn.0041e820
mov ebx, eax
cmp ebx, esi
jne 0x41e873
lea edx, [ebp - 0x228]
push edx
mov edx, dword [ebp - 0x218]
push esi
push esi
push esi
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push esi
push edx
mov dword [ebp - 0x21c], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x41e8d0
mov eax, dword [ebp - 0x218]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0x41e935
push eax
call ebx
mov dword [ebp - 0x218], esi
mov eax, dword [ebp - 0x220]
push edi
mov dword [ebp - 0x214], esi
call fcn.0041ea20
mov edi, eax
mov eax, dword [ebp - 0x218]
cmp eax, esi
je 0x41e956
push eax
call ebx
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004736db
mov esp, ebp
pop ebp
ret 4
Function at 0x41f5b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4926c6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x4b6798]
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 + 8]
mov ebx, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x418], esi
push 2
push esi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
cmp edi, esi
jne 0x41f630
call fcn.00416f20
mov esi, eax
jmp 0x41f749
mov eax, dword [ebp - 0x41c]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
cmp ebx, esi
jne 0x41f64f
call fcn.00416f20
jmp 0x41f740
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, esi
jne 0x41f66b
call fcn.00416f20
jmp 0x41f740
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
lea eax, [ebx + 1]
mov dword [ebp - 0x41c], ebx
cmp eax, ebx
jae 0x41f68c
mov esi, 0x8007000e
jmp 0x41f742
xor ecx, ecx
shld ecx, eax, 1
add eax, eax
mov byte [ebp - 4], 2
cmp ecx, esi
ja 0x41f6a1
cmp eax, 0xffffffff
jbe 0x41f6ab
push 0x80070216
call fcn.004189e0
cmp eax, 0x400
jbe 0x41f6dd
lea ecx, [ebp - 0x418]
push ecx
call fcn.0041e260
jmp 0x41f6e9
lea edx, [ebp - 0x414]
mov dword [ebp - 0x418], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x418]
cmp eax, esi
jne 0x41f701
mov esi, 0x8007000e
jmp 0x41f742
push ebx
push eax
mov eax, dword [ebp - 0x420]
push ebx
push eax
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
jne 0x41f71f
call fcn.00416f20
jmp 0x41f740
mov edx, dword [ebp - 0x418]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x418]
push eax
lea esi, [ebp - 0x42c]
call fcn.0041f410
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x414]
cmp dword [ebp - 0x418], ecx
je 0x41f762
lea eax, [ebp - 0x418]
call fcn.0041e1f0
mov eax, esi
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.004736db
mov esp, ebp
pop ebp
ret 0xc
Function at 0x423560
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, eax
test edi, edi
je 0x4235e1
push str.file:
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
cmp eax, edi
jne 0x4235e1
push 0x1c
call fcn.004739eb
add esp, 4
test eax, eax
je 0x4235a3
xor ecx, ecx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
mov word [eax], cx
mov esi, eax
jmp 0x4235a5
xor esi, esi
mov eax, edi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4235b0
sub eax, edx
sar eax, 1
push eax
mov eax, edi
call fcn.00409bc0
mov edx, dword [ebp + 8]
push 0
push esi
push 0x83e9
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [0x4e1648], 0
je 0x4235fc
mov eax, dword [ebp + 8]
push eax
call fcn.004234b0
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 4]
push ecx
call fcn.004237f0
mov dword [ebp - 8], eax
test eax, eax
js 0x42364d
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423611
sub eax, edx
push ebx
mov ebx, dword [ebp - 4]
sar eax, 1
push eax
lea esi, [ebx + 0x2c]
mov eax, edi
call fcn.00409bc0
mov edx, dword [ebp + 8]
push 0
push 0
push ebx
push 0x423390
push 0
push 0
mov dword [ebx + 0x28], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [ebp - 8]
pop ebx
xor ecx, ecx
test eax, eax
pop edi
setns al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x423960
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [edi]
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp + 8]
push esi
add eax, eax
lea edx, [ebp + 0xc]
push edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push 0
mov dword [edi], 0
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4239ce
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x42399d
cmp eax, 2
jne 0x4239b8
mov eax, dword [ebp - 4]
test esi, esi
je 0x4239c8
test eax, eax
je 0x4239c3
test al, 1
jne 0x4239b8
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x4239c8
mov eax, 0xd
mov esp, ebp
pop ebp
ret 8
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x423a50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48f358
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
mov eax, dword [0x4b6798]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
cmp byte [0x4e1a18], bl
jne 0x423b63
push 0x20019
lea eax, [ebp - 0x24]
push eax
mov eax, str.SoftwarePoliciesMicrosoftWindowsCurrentVersionInternet_Settings
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
mov byte [0x4e1a18], 1
call fcn.0040f3d0
test eax, eax
jne 0x423b55
mov esi, dword [ebp - 0x24]
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x18]
push eax
push ebx
push str.Security_HKLM_Only
push esi
mov dword [ebp - 0x14], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x423ae5
cmp dword [ebp - 0x18], 4
je 0x423aec
cmp esi, ebx
je 0x423b63
push esi
jmp 0x423b5d
cmp dword [ebp - 0x10], ebx
je 0x423ae5
lea esi, [ebp - 0x24]
call fcn.0040f550
push 0x20019
mov ecx, esi
push ecx
mov eax, str.SoftwarePoliciesIE_TabIE_Tab_
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.0040f3d0
test eax, eax
jne 0x423b43
push str.Security_HKLM_Only
mov edx, esi
push edx
lea ecx, [ebp - 0x10]
call fcn.0041c8d0
test eax, eax
jne 0x423b43
cmp dword [ebp - 0x10], ebx
je 0x423b43
call fcn.0040f580
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4239e0
push 0x4e17b8
call fcn.004579e0
add esp, 8
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x423b63
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x433790
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48eadb
mov eax, dword fs:[0]
push eax
mov eax, 0x2010
call fcn.0047f210
mov eax, dword [0x4b6798]
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
test byte [ebp + 0xc], 1
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x18]
je 0x433906
xor ebx, ebx
cmp eax, ebx
je 0x433906
cmp dword [eax], 4
jne 0x433906
mov dword [ebp - 0x2018], ebx
mov dword [ebp - 4], ebx
mov esi, dword [eax + 4]
cmp esi, ebx
je 0x433805
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov ebx, esi
mov dword [ebp - 0x2018], ebx
mov eax, dword [edi + 0xc8]
test eax, eax
je 0x4338e5
cmp dword [edi + 0xcc], 8
lea eax, [edi + 0xb8]
jb 0x433824
mov eax, dword [eax]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [edi + 0x10c], eax
cmp eax, 0xffffffff
je 0x4338e5
lea esp, [esp]
mov edx, dword [ebx]
mov edx, dword [edx + 0xc]
lea eax, [ebp - 0x2014]
push eax
push 0x2000
lea ecx, [ebp - 0x2010]
push ecx
push ebx
call edx
mov esi, eax
mov eax, dword [ebp - 0x2014]
test eax, eax
je 0x43389b
add dword [edi + 0x110], eax
push 0
lea ecx, [ebp - 0x201c]
push ecx
push eax
mov eax, dword [edi + 0x10c]
lea edx, [ebp - 0x2010]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, reloc.OLEAUT32.dll_VariantCopyInd
jne 0x4338af
mov esi, 0x64
call fcn.00470310
jmp 0x433850
test esi, esi
js 0x4338ba
cmp esi, 1
jne 0x433850
jmp 0x4338c5
cmp esi, 1
je 0x4338c5
test byte [ebp + 0xc], 4
je 0x4338ce
mov esi, edi
call fcn.00433930
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x4338e1
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
push ebx
call edx
mov eax, esi
jmp 0x43390b
mov esi, edi
call fcn.00433930
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x4338ff
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
mov eax, 1
jmp 0x43390b
mov eax, 0x80004005
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.004736db
mov esp, ebp
pop ebp
ret 0x14
Function at 0x434650
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push edi
lea eax, [ebp - 0x10]
push eax
xor edi, edi
lea ecx, [ebp - 4]
push ecx
push edi
push 0x20019
push edi
push edi
push edi
push str.SOFTWAREMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
push SysReAllocString
mov dword [ebp - 4], edi
call esi
test eax, eax
jne 0x4346b1
mov edi, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0x49d06c
push edi
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0xc], 0x1b58
ja 0x434707
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 8]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push str.SOFTWAREMicrosoftInternet_ExplorerMainFeatureControlFEATURE_NINPUT_LEGACYMODE
push SysReAllocString
mov dword [ebp - 8], 0
call esi
test eax, eax
jne 0x434707
mov esi, dword [ebp - 8]
push 4
lea ecx, [ebp - 0xc]
push ecx
push 4
push eax
push 0x49d06c
push esi
mov dword [ebp - 0xc], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x434707
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x434712
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x434720
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493530
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4b6798]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
xor esi, esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
push ecx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push str.SOFTWAREMicrosoftInternet_ExplorerMainFeatureControl
mov byte [ebp - 4], 1
push SysReAllocString
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x43478d
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x20], edx
xor edi, edi
nop
mov eax, dword [edi + 0x4b8c80]
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x10]
push edx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push eax
mov eax, dword [ebp - 0x20]
push eax
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x4347c7
cmp esi, ebx
je 0x4347c4
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x10]
mov ecx, dword [edi + 0x4b8c84]
push 4
lea edx, [ebp - 0x10]
push edx
push 4
push ebx
push 0x49d06c
push esi
mov dword [ebp - 0x10], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp esi, ebx
je 0x4347f2
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
add edi, 8
mov dword [ebp - 0x28], ebx
cmp edi, 0xa0
jb 0x434790
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x2c], esi
cmp edi, ebx
je 0x434816
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x20], ebx
mov edi, ebx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x1c], ebx
call fcn.00434350
add esp, 4
push SysReAllocString
call fcn.00434350
add esp, 4
call fcn.00434650
cmp esi, ebx
je 0x434843
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
je 0x43484e
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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 0x434860
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 0xc]
push eax
xor esi, esi
lea ecx, [ebp - 4]
push ecx
push esi
push 0x20006
push esi
push esi
push esi
push str.SOFTWAREMicrosoftInternet_ExplorerMainFeatureControlFEATURE_SPELLCHECKING
push SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4348d3
mov eax, dword [ebp - 4]
push edi
xor edx, edx
cmp dword [ebp + 8], edx
push 4
lea ecx, [ebp - 8]
push ecx
push 4
setne dl
push esi
push 0x49d06c
push eax
mov edi, eax
mov dword [ebp - 8], edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4348c0
mov esi, 0x80004005
test edi, edi
je 0x4348cb
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x80004005
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4348e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 0xc]
push eax
xor esi, esi
lea ecx, [ebp - 4]
push ecx
push esi
push 0x20006
push esi
push esi
push esi
push str.SOFTWAREMicrosoftInternet_ExplorerMainFeatureControlFEATURE_SCRIPTURL_MITIGATION
push SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x434953
mov eax, dword [ebp - 4]
push edi
xor edx, edx
cmp dword [ebp + 8], edx
push 4
lea ecx, [ebp - 8]
push ecx
push 4
setne dl
push esi
push 0x49d06c
push eax
mov edi, eax
mov dword [ebp - 8], edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x434940
mov esi, 0x80004005
test edi, edi
je 0x43494b
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x80004005
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x434960
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 0xc]
push eax
xor esi, esi
lea ecx, [ebp - 4]
push ecx
push esi
push 0x20006
push esi
push esi
push esi
push str.SOFTWAREMicrosoftInternet_ExplorerMainFeatureControlFEATURE_TABBED_BROWSING
push SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4349d3
mov eax, dword [ebp - 4]
push edi
xor edx, edx
cmp dword [ebp + 8], edx
push 4
lea ecx, [ebp - 8]
push ecx
push 4
setne dl
push esi
push 0x49d06c
push eax
mov edi, eax
mov dword [ebp - 8], edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4349c0
mov esi, 0x80004005
test edi, edi
je 0x4349cb
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x80004005
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4349e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 0xc]
push eax
xor esi, esi
lea ecx, [ebp - 4]
push ecx
push esi
push 0x20006
push esi
push esi
push esi
push str.SOFTWAREMicrosoftInternet_ExplorerMainFeatureControlFEATURE_NINPUT_LEGACYMODE
push SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x434a53
mov eax, dword [ebp - 4]
push edi
xor edx, edx
cmp dword [ebp + 8], edx
push 4
lea ecx, [ebp - 8]
push ecx
push 4
sete dl
push esi
push 0x49d06c
push eax
mov edi, eax
mov dword [ebp - 8], edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x434a40
mov esi, 0x80004005
test edi, edi
je 0x434a4b
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x80004005
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x434d10
Capabilities:
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1024
call fcn.0047f210
mov eax, dword [0x4b6798]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x1020], eax
mov dword [ebp - 0x101c], eax
mov dword [ebp - 0x1018], eax
mov dword [ebp - 0x1014], eax
mov dword [ebp - 0x1010], eax
mov dword [ebp - 0x100c], eax
mov word [ebp - 0x1008], ax
lea eax, [ebp - 0x1004]
push eax
push 0x800
mov dword [ebp - 0x1024], 0
mov dword [ebp - 0x1020], 3
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.ietabtemp_fls.tmp
lea ecx, [ebp - 0x1004]
push 0x800
push ecx
call fcn.004771d6
lea eax, [ebp - 0x1004]
add esp, 0xc
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x434da0
sub eax, edx
sar eax, 1
mov dword [ebp + eax*2 - 0x1004], 0
lea ecx, [ebp - 0x1024]
lea edx, [ebp - 0x1004]
mov eax, 0x1494
push ecx
mov dword [ebp - 0x101c], edx
mov word [ebp - 0x1014], ax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004736db
mov esp, ebp
pop ebp
ret

Function at 0x435160
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8d0
mov eax, dword [0x4b6798]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push str.winsta.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4352a4
push str.WinStationQueryInformationW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x435261
lea ecx, [ebp - 0x8c0]
push ecx
push 0x8a0
lea edx, [ebp - 0x8b8]
push edx
push 8
push 0xffffffffffffffff
push 0
call eax
movzx eax, al
test eax, eax
je 0x4352a4
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea ecx, [ebp - 0x8c8]
push ecx
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov ecx, dword [ebp - 0x8c4]
xor eax, eax
xor esi, esi
add eax, dword [ebp - 0x8c8]
push esi
push 0x2710
adc ecx, esi
push ecx
push eax
call fcn.00485e50
mov ecx, dword [ebp - 0x858]
push 0
mov esi, eax
mov eax, dword [ebp - 0x854]
push 0x2710
push eax
push ecx
call fcn.00485e50
sub esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
lea edx, [ebp - 0x8cc]
push edx
lea eax, [ebp - 0x8bc]
push eax
sub edi, esi
xor esi, esi
push esi
push 0x2001f
push esi
push esi
push esi
push str.SOFTWAREIE_Tab
push SysReAllocString
mov dword [ebp - 0x8bc], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x435278
mov esi, dword [ebp - 0x8bc]
jmp 0x43527a
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004736db
mov esp, ebp
pop ebp
ret
js 0x4352a4
push 4
lea ecx, [ebp - 0x8c0]
push ecx
push 4
push 0
push str.LastInputTick
push esi
mov dword [ebp - 0x8c0], edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x4352a4
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004736db
mov esp, ebp
pop ebp
ret