joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46f330
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50592a
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x5732cc]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x12c], 0
lea ecx, [ebp - 0x14]
call fcn.00417420
mov dword [ebp - 4], 1
push 0
call fcn.0046a840
add esp, 4
push eax
lea ecx, [ebp - 0x10]
call fcn.0041ad50
mov byte [ebp - 4], 2
lea eax, [ebp - 0x10]
push eax
push 0x51d330
call fcn.0042f890
movzx ecx, al
test ecx, ecx
je 0x46f42c
mov byte [ebp - 0x124], 0
push 0x104
push 0
lea edx, [ebp - 0x123]
push edx
call fcn.004dba80
add esp, 0xc
lea eax, [ebp - 0x124]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jne 0x46f42a
movsx ecx, byte [ebp - 0x124]
test ecx, ecx
je 0x46f42a
lea edx, [ebp - 0x124]
push edx
lea ecx, [ebp - 0x14]
call fcn.004199b0
lea ecx, [ebp - 0x14]
call fcn.0041cde0
sub eax, 1
push eax
lea ecx, [ebp - 0x14]
call fcn.00423b30
movsx eax, al
cmp eax, 0x5c
je 0x46f41d
push 0x51d338
lea ecx, [ebp - 0x14]
call fcn.0041d470
push 0x5771e4
lea ecx, [ebp - 0x14]
call fcn.00422350
jmp 0x46f471
push 0
lea ecx, [ebp - 0x128]
push ecx
call fcn.0046e970
add esp, 8
mov dword [ebp - 0x130], eax
mov edx, dword [ebp - 0x130]
mov dword [ebp - 0x134], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x134]
push eax
lea ecx, [ebp - 0x14]
call fcn.0041e3d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x128]
call fcn.00416630
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041ea10
mov edx, dword [ebp - 0x12c]
or edx, 1
mov dword [ebp - 0x12c], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00416630
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00416630
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004db901
mov esp, ebp
pop ebp
ret
Function at 0x46f4c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x5732cc]
xor eax, ebp
mov dword [ebp - 8], eax
mov byte [ebp - 1], 0
cmp dword [ebp + 0xc], 0
jbe 0x46f6da
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
push 0x90
push 0
lea eax, [ebp - 0x9c]
push eax
call fcn.004dba80
add esp, 0xc
mov dword [ebp - 0xa0], 0x94
lea ecx, [ebp - 0xa0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je case.default.0x46f5c7
cmp dword [ebp - 0x90], 1
jne 0x46f58c
cmp dword [ebp - 0x9c], 4
jne 0x46f587
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0xa8], edx
cmp dword [ebp - 0xa8], 0
je 0x46f565
cmp dword [ebp - 0xa8], 0xa
je 0x46f571
cmp dword [ebp - 0xa8], 0x5a
je 0x46f57d
jmp 0x46f587
mov dword [ebp - 0xa4], str.Win95
jmp 0x46f587
mov dword [ebp - 0xa4], str.Win98
jmp 0x46f587
mov dword [ebp - 0xa4], str.Win_Me
jmp case.default.0x46f5c7
cmp dword [ebp - 0x90], 2
jne case.default.0x46f5c7
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
sub ecx, 3
mov dword [ebp - 0xac], ecx
cmp dword [ebp - 0xac], 3
ja case.default.0x46f5c7
mov edx, dword [ebp - 0xac]
jmp dword [edx*4 + 0x46f6ec]
mov dword [ebp - 0xa4], str.Win_NT_3.51
jmp case.default.0x46f5c7
mov dword [ebp - 0xa4], str.Win_NT_4.0
jmp case.default.0x46f5c7
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
je 0x46f615
cmp dword [ebp - 0xb0], 1
je 0x46f621
cmp dword [ebp - 0xb0], 2
je 0x46f62d
jmp 0x46f637
mov dword [ebp - 0xa4], str.Win_2000
jmp 0x46f637
mov dword [ebp - 0xa4], str.Win_XP
jmp 0x46f637
mov dword [ebp - 0xa4], str.Windows_Server_2003_family
jmp case.default.0x46f5c7
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0xb4], ecx
cmp dword [ebp - 0xb4], 0
je 0x46f659
cmp dword [ebp - 0xb4], 1
je 0x46f665
jmp case.default.0x46f5c7
mov dword [ebp - 0xa4], str.Windows_Vista
jmp case.default.0x46f5c7
mov dword [ebp - 0xa4], str.Windows_7
cmp dword [ebp - 0xa4], 0
je 0x46f6da
mov edx, dword [ebp + 0xc]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.004dba80
add esp, 0xc
mov ecx, dword [ebp + 0xc]
sub ecx, 1
push ecx
mov edx, dword [ebp - 0xa4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00421d20
add esp, 0xc
mov ecx, dword [ebp + 0xc]
sub ecx, 1
push ecx
push 0x51d3b8
mov edx, dword [ebp + 8]
push edx
call fcn.00423a50
add esp, 0xc
mov eax, dword [ebp + 0xc]
sub eax, 1
push eax
lea ecx, [ebp - 0x8c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00423a50
add esp, 0xc
mov byte [ebp - 1], 1
mov al, byte [ebp - 1]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004db901
mov esp, ebp
pop ebp
ret
Function at 0x46f700
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov byte [ebp - 1], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
mov byte [eax], 0
mov ecx, dword [ebp + 0xc]
sub ecx, 1
mov dword [ebp + 0xc], ecx
push 0
lea edx, [ebp - 8]
push edx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x46f78d
mov eax, dword [ebp - 8]
and eax, 2
je 0x46f74f
mov ecx, dword [ebp + 0xc]
push ecx
push str._Connected_via_LAN.
mov edx, dword [ebp + 8]
push edx
call fcn.00423a50
add esp, 0xc
jmp 0x46f76c
mov eax, dword [ebp - 8]
and eax, 1
je 0x46f76c
mov ecx, dword [ebp + 0xc]
push ecx
push str._Connected_via_modem.
mov edx, dword [ebp + 8]
push edx
call fcn.00423a50
add esp, 0xc
mov eax, dword [ebp - 8]
and eax, 4
je 0x46f789
mov ecx, dword [ebp + 0xc]
push ecx
push str._Uses_proxy.
mov edx, dword [ebp + 8]
push edx
call fcn.00423a50
add esp, 0xc
mov byte [ebp - 1], 1
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x46f850
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov byte [ebp - 5], 0
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x46f8c0
mov dword [ebp - 0xc], 0
push 0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
xor edx, edx
cmp ecx, dword [ebp + 0x10]
sete dl
mov byte [ebp - 5], dl
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x46f8d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5059c8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5732cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov byte [ebp - 0x15], 0
push 0x51c3fa
lea ecx, [ebp - 0x14]
call fcn.0041ad50
mov byte [ebp - 4], 1
push 0x51c3fb
lea ecx, [ebp - 0x10]
call fcn.0041ad50
mov byte [ebp - 4], 2
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.0041e3d0
push 1
lea ecx, [ebp - 0x28]
push ecx
call fcn.0046ed40
add esp, 8
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041e3d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00416630
lea ecx, [ebp - 0x14]
call fcn.00418070
lea ecx, [ebp - 0x14]
call fcn.00431570
lea ecx, [ebp - 0x14]
call fcn.00424990
lea ecx, [ebp - 0x10]
call fcn.00418070
lea ecx, [ebp - 0x10]
call fcn.00431570
lea ecx, [ebp - 0x10]
call fcn.00424990
lea ecx, [ebp - 0x10]
call fcn.0041cde0
test eax, eax
jle 0x46f9b7
lea ecx, [ebp - 0x10]
call fcn.00415d40
push eax
lea ecx, [ebp - 0x14]
call fcn.00424960
cmp eax, 0xffffffff
je 0x46f9b7
mov byte [ebp - 0x15], 1
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
jne 0x46faa9
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x1c]
call fcn.0041ea10
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
lea eax, [ebp - 0x1c]
push eax
call fcn.0041ea10
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x44], ecx
mov byte [ebp - 4], 5
mov byte [ebp - 4], 4
call fcn.0046faf0
add esp, 4
mov byte [ebp - 0x45], al
movzx edx, byte [ebp - 0x45]
test edx, edx
je 0x46fa25
push 0x51d444
lea ecx, [ebp - 0x1c]
call fcn.00424960
cmp eax, 0xffffffff
jne 0x46fa25
push 0x51d448
lea ecx, [ebp - 0x1c]
call fcn.0041d470
push 0x51d44c
lea ecx, [ebp - 0x1c]
call fcn.00424960
cmp eax, 0xffffffff
je 0x46fa9d
push 0x51d450
lea ecx, [ebp - 0x1c]
call fcn.00424960
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
add eax, 1
push eax
push 0
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004249b0
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041e3d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.00416630
lea ecx, [ebp - 0x1c]
call fcn.00415d40
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jne 0x46fa9d
mov byte [ebp - 0x15], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00416630
mov cl, byte [ebp - 0x15]
mov byte [ebp - 0x31], cl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00416630
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00416630
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00416630
mov al, byte [ebp - 0x31]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x46fbf0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505a48
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5732cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov byte [ebp - 0x15], 0
push 0x51c401
lea ecx, [ebp - 0x14]
call fcn.0041ad50
mov byte [ebp - 4], 1
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.0041e3d0
lea ecx, [ebp - 0x14]
call fcn.00418070
lea ecx, [ebp - 0x14]
call fcn.00431570
lea ecx, [ebp - 0x14]
call fcn.00424990
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0041ea10
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
lea edx, [ebp - 0x10]
push edx
call fcn.0041ea10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 3
mov byte [ebp - 4], 2
call fcn.0046faf0
add esp, 4
mov byte [ebp - 0x35], al
movzx ecx, byte [ebp - 0x35]
test ecx, ecx
je 0x46fcb7
push 0x51d458
lea ecx, [ebp - 0x10]
call fcn.00424960
cmp eax, 0xffffffff
jne 0x46fcb7
push 0x51d45c
lea ecx, [ebp - 0x10]
call fcn.0041d470
push 0x51d460
lea ecx, [ebp - 0x10]
call fcn.00424960
cmp eax, 0xffffffff
je 0x46fd3b
push 0x51d464
lea ecx, [ebp - 0x10]
call fcn.00424960
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
add edx, 1
push edx
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.004249b0
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x40]
push edx
lea ecx, [ebp - 0x10]
call fcn.0041e3d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00416630
lea ecx, [ebp - 0x10]
call fcn.00415d40
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x46fd31
cmp dword [ebp - 0x20], 1
jne 0x46fd37
mov byte [ebp - 0x15], 0
jmp 0x46fd3b
mov byte [ebp - 0x15], 1
mov al, byte [ebp - 0x15]
mov byte [ebp - 0x29], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00416630
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00416630
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00416630
mov al, byte [ebp - 0x29]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x46fe50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505aaa
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x138
mov eax, dword [0x5732cc]
xor eax, ebp
mov dword [ebp - 0x24], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x140], 0
mov dword [ebp - 4], 1
push 0x468ad0
call fcn.004dbbc8
add esp, 4
lea ecx, [ebp - 0x20]
call fcn.00417420
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.0042d080
push 0x577250
lea ecx, [ebp - 0x14]
call fcn.0041ea10
mov byte [ebp - 4], 3
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x14]
call fcn.00415d40
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x46ffb2
push 0x100
push 0
lea ecx, [ebp - 0x128]
push ecx
call fcn.004dba80
add esp, 0xc
mov dword [ebp - 0x12c], 0x100
lea edx, [ebp - 0x12c]
push edx
lea eax, [ebp - 0x128]
push eax
push 0
push 0
push str.UninstallString
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x46ffb2
lea edx, [ebp - 0x128]
push edx
lea ecx, [ebp - 0x20]
call fcn.004199b0
push str.uninstall.exe
lea ecx, [ebp - 0x20]
call fcn.00424960
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0xffffffff
je 0x46ffb2
mov eax, dword [ebp - 0x130]
push eax
push 0
lea ecx, [ebp - 0x13c]
push ecx
lea ecx, [ebp - 0x20]
call fcn.004249b0
mov dword [ebp - 0x144], eax
mov edx, dword [ebp - 0x144]
mov dword [ebp - 0x148], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x148]
push eax
lea ecx, [ebp - 0x20]
call fcn.0041e3d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x13c]
call fcn.00416630
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041ea10
mov edx, dword [ebp - 0x140]
or edx, 1
mov dword [ebp - 0x140], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00416630
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00416630
mov eax, dword [ebp + 8]
jmp 0x47016b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.004db901
mov esp, ebp
pop ebp
ret
Function at 0x470190
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505b09
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5732cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 1
push 0x468ad0
call fcn.004dbbc8
add esp, 4
push 1
lea eax, [ebp - 0x18]
push eax
call fcn.0046e970
add esp, 8
mov byte [ebp - 4], 2
push str.logs
lea ecx, [ebp - 0x18]
call fcn.0041d470
push 0x51c40f
lea ecx, [ebp - 0x14]
call fcn.0041ad50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0041e3d0
push 1
push 0
lea ecx, [ebp - 0x14]
call fcn.00415d40
push eax
call fcn.0046dc30
add esp, 0xc
movzx edx, al
test edx, edx
jne 0x470262
push 0
lea ecx, [ebp - 0x14]
call fcn.00415d40
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x470253
push 0x51c421
lea ecx, [ebp - 0x18]
call fcn.004199b0
jmp 0x470260
push 0x51d590
lea ecx, [ebp - 0x18]
call fcn.0041d470
jmp 0x47026f
push 0x51d594
lea ecx, [ebp - 0x18]
call fcn.0041d470
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041ea10
mov ecx, dword [ebp - 0x24]
or ecx, 1
mov dword [ebp - 0x24], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00416630
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00416630
mov eax, dword [ebp + 8]
jmp 0x470404
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 0x471080
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov byte [ebp - 1], 0
cmp dword [ebp + 0xc], 0
jbe 0x4710f5
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.004dba80
add esp, 0xc
mov edx, dword [ebp + 0xc]
sub edx, 1
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x10]
push eax
push 0x20219
push 0
push str.SOFTWAREMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4710f5
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 8]
push eax
push 0
push 0x51d9f8
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4710f5
cmp dword [ebp - 8], 1
jne 0x4710f5
mov byte [ebp - 1], 1
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x4715f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505c38
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x5732cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
push 0x468ad0
call fcn.004dbbc8
add esp, 4
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], 0x100
mov eax, dword [ebp - 0x18]
push eax
call fcn.004da8e1
add esp, 4
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x20], ecx
mov byte [ebp - 0x19], 0
mov edx, dword [ebp - 0x20]
mov al, byte [0x51c44f]
mov byte [edx], al
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x14]
push eax
push 0x51daec
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x47168c
cmp dword [ebp - 0x14], 1
jne 0x4716e9
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x24]
call fcn.0041ad50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00422240
test eax, eax
je 0x4716d9
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0x51daf4
push str.SoftwareGoogleUpdateClients8A69D345_D564_463c_AFF1_A69D9E530F96
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x4716d3
cmp dword [ebp - 0x14], 1
jne 0x4716d7
mov byte [ebp - 0x19], 1
jmp 0x4716dd
mov byte [ebp - 0x19], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00416630
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
push eax
call fcn.004db910
add esp, 4
mov dword [ebp - 0x20], 0
mov al, byte [ebp - 0x19]
jmp 0x471834
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 0x471bb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505d69
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5732cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x1c]
call fcn.0041ba00
mov dword [ebp - 4], 1
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x471ceb
push 0x104
call fcn.004dbafa
add esp, 4
mov dword [ebp - 0x28], eax
push 0x104
push 0
mov eax, dword [ebp - 0x28]
push eax
call fcn.004dba80
add esp, 0xc
mov dword [ebp - 0x30], 0x104
mov dword [ebp - 0x2c], 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x471cac
lea ecx, [ebp - 0x34]
call fcn.00417420
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x28]
push edx
lea ecx, [ebp - 0x34]
call fcn.004199b0
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x34]
call fcn.00424960
cmp eax, 0xffffffff
je 0x471ca0
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0043b160
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.00416630
push 0x104
push 0
mov edx, dword [ebp - 0x28]
push edx
call fcn.004dba80
add esp, 0xc
mov dword [ebp - 0x30], 0x104
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x24], 0
je 0x471c44
cmp dword [ebp - 0x28], 0
je 0x471ceb
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004dbb8e
add esp, 4
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp + 8]
call fcn.0043e7f0
mov eax, dword [ebp - 0x38]
or eax, 1
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00423740
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x472090
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505e00
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x5732cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
push 0x468ad0
call fcn.004dbbc8
add esp, 4
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x1c], 4
mov byte [ebp - 0x25], 0
push 0x5771d8
lea ecx, [ebp - 0x20]
call fcn.0041ea10
mov byte [ebp - 4], 1
push 0
call fcn.0046a840
add esp, 4
push eax
lea ecx, [ebp - 0x14]
call fcn.0041ad50
mov byte [ebp - 4], 2
lea eax, [ebp - 0x14]
push eax
push 0x51dd54
call fcn.00422290
movzx ecx, al
test ecx, ecx
je 0x472132
lea edx, [ebp - 0x20]
push edx
call fcn.0046ba20
add esp, 4
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x18]
push edx
push str.OfferAssistantFlag
lea ecx, [ebp - 0x20]
call fcn.00415d40
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
je 0x472162
mov dword [ebp - 0x24], 1
xor eax, eax
cmp eax, dword [ebp - 0x24]
sbb ecx, ecx
neg ecx
mov byte [ebp - 0x25], cl
mov dl, byte [ebp - 0x25]
mov byte [ebp - 0x31], dl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00416630
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00416630
mov al, byte [ebp - 0x31]
jmp 0x4722be
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 0x473690
Capabilities:
Log keystrokes via application hook
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505f3e
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5732cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x20]
add ecx, 8
call fcn.00473830
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
add ecx, 0x18
call fcn.00415ae0
mov byte [ebp - 4], 1
mov byte [ebp - 4], 2
push 0x468ad0
call fcn.004dbbc8
add esp, 4
mov eax, dword [ebp - 0x20]
add eax, 0x18
push eax
lea ecx, [ebp - 0x14]
call fcn.0041cce0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp + 8]
mov dword [ecx], edx
mov eax, dword [ebp + 8]
push eax
push 0
push 0x474400
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 4], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.0041cd00
jmp 0x47380b
mov dword [ebp - 4], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
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