joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404210
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440ae8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x452284]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [ebp + 0x10]
mov esi, 0x10
lea ebx, [edi + 2]
cmp dword [ebp + 0x24], esi
jae 0x404256
lea eax, [ebp + 0x10]
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0x40428d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp + 0x24], esi
jb 0x404378
mov ecx, dword [ebp + 0x10]
push ecx
jmp 0x404370
lea edx, [ebp - 0x18]
push edx
push eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov dword [ebp - 0x1c], eax
call fcn.00437be0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
add esp, 4
push edi
mov esi, eax
lea eax, [ebp - 0x20]
push eax
push ecx
push esi
push edx
mov dword [ebp - 0x20], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x404360
mov ecx, dword [esi]
lea eax, [esi + 9]
cmp ecx, 4
je 0x4042da
cmp ecx, 5
jne 0x404341
mov edx, dword [esi + 4]
mov ebx, 1
mov dword [ebp - 0x24], ebx
cmp edx, edi
jbe 0x404341
lea esp, [esp]
mov ecx, eax
add eax, 6
cmp byte [ebp + 0x2c], 0
je 0x404312
test eax, eax
je 0x404321
movzx ebx, word [ecx]
cmp dword [ebp + 0x28], ebx
jne 0x404321
mov ecx, dword [ecx + 2]
mov eax, dword [eax + 2]
sub eax, ecx
push eax
jmp 0x404334
test eax, eax
je 0x404321
mov ebx, dword [eax + 2]
sub ebx, dword [ecx + 2]
cmp ebx, 0x40
je 0x40432b
inc edi
cmp edi, edx
jb 0x4042f0
mov ebx, dword [ebp - 0x24]
jmp 0x404341
mov ecx, dword [ecx + 2]
mov edx, dword [eax + 2]
sub edx, ecx
push edx
mov eax, dword [ebp - 0x14]
add ecx, esi
push ecx
call fcn.0040d2f0
xor ebx, ebx
push esi
call fcn.00438d1c
mov eax, dword [ebp - 0x10]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x24], 0x10
jb 0x404378
mov ecx, dword [ebp + 0x10]
push ecx
jmp 0x404370
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp + 0x24], 0x10
jb 0x404378
mov edx, dword [ebp + 0x10]
push edx
call fcn.00438d27
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
Function at 0x404a40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x442572
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x452284]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push esi
push edi
mov eax, dword [0x452284]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
lea esi, [esp + 0x58]
mov dword [esp + 0x14], eax
call fcn.00407010
mov dword [esp + 0x130], ebx
mov eax, dword [esp + 0x68]
push 0x445d34
xor edi, edi
mov ecx, esi
call fcn.0040ec00
test eax, eax
je 0x404c9d
cmp dword [esp + 0x6c], 8
mov eax, dword [esp + 0x58]
jae 0x404ac3
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x404c9d
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push 0xffffffffffffffff
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push ebx
lea eax, [esp + 0x78]
mov word [ecx + 4], dx
call fcn.00402780
lea ebx, [esp + 0x8c]
call fcn.00408f60
add esp, 0x1c
lea eax, [esp + 0x8c]
push eax
mov byte [esp + 0x134], 1
call fcn.00418dc0
and dword [esp + 0x1c], 0xfffffe00
xor edi, edi
mov dword [esp + 0x20], edi
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x78]
push ecx
mov bl, 4
lea ecx, [esp + 0xd8]
mov byte [esp + 0x13c], bl
call fcn.00402610
mov eax, dword [esp + 0xd0]
mov esi, 0x10
cmp dword [esp + 0xe4], esi
jae 0x404b62
lea eax, [esp + 0xd0]
mov edx, dword [esp + 0xe0]
lea ecx, [edx + eax]
lea edx, [esp + 0x14]
push edx
push ecx
push eax
lea eax, [esp + 0x98]
push eax
call fcn.00418e80
test al, al
je 0x404c5c
and dword [esp + 0x2c], 0xfffffe00
mov dword [esp + 0x30], edi
push str.extensions
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x138], 6
call fcn.004171f0
push str.last_chrome_version
push eax
call fcn.004171f0
push eax
lea ecx, [esp + 0x28]
call fcn.00416760
test al, al
jne 0x404c4c
push str.extensions
lea edx, [esp + 0x18]
push edx
call fcn.004171f0
push str.last_chrome_version
push eax
call fcn.004171f0
lea esi, [esp + 0x38]
mov ecx, eax
call fcn.00416850
mov ecx, dword [esp + 0x10]
push 0xffffffffffffffff
push edi
push eax
mov byte [esp + 0x13c], 7
call fcn.00402610
mov ecx, esi
call fcn.00402540
lea eax, [esp + 0x24]
mov byte [esp + 0x130], bl
call fcn.004165e0
lea eax, [esp + 0x14]
mov byte [esp + 0x130], 2
call fcn.004165e0
lea edi, [esp + 0x8c]
call fcn.004049b0
lea ecx, [esp + 0x70]
call fcn.00402540
lea esi, [esp + 0x54]
call fcn.004025e0
mov al, 1
jmp 0x404cb3
lea eax, [esp + 0x24]
mov byte [esp + 0x130], bl
call fcn.004165e0
lea eax, [esp + 0x14]
mov byte [esp + 0x130], 2
call fcn.004165e0
lea edi, [esp + 0x8c]
call fcn.004049b0
cmp dword [esp + 0x88], esi
jb 0x404c8f
mov eax, dword [esp + 0x74]
push eax
call fcn.00438d27
add esp, 4
cmp dword [esp + 0x6c], 8
jb 0x404cb1
mov ecx, dword [esp + 0x58]
push ecx
jmp 0x404ca9
cmp dword [esp + 0x6c], 8
jb 0x404cb1
mov edx, dword [esp + 0x58]
push edx
call fcn.00438d27
add esp, 4
xor al, al
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.00425608
mov esp, ebp
pop ebp
ret 4
Function at 0x4065b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x452284]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x210]
push eax
push 0xf023f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, ecx
call edi
test eax, eax
je 0x40661b
lea ecx, [ebp - 0x210]
push ecx
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
push SysReAllocStringLen
call edi
test eax, eax
je 0x40661b
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00425608
mov esp, ebp
pop ebp
ret
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x20a]
push eax
mov word [ebp - 0x20c], dx
call fcn.0042b460
mov eax, dword [ebp - 0x210]
add esp, 0xc
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x20c]
push edx
push 0
push 0
push 0x445f24
push eax
mov dword [ebp - 0x214], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x406609
lea ecx, [ebp - 0x20c]
push 0x2c
push ecx
call fcn.00439356
add esp, 8
test eax, eax
je 0x406685
xor edx, edx
mov word [eax], dx
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x406690
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
call fcn.00402a90
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.00425608
mov esp, ebp
pop ebp
ret

Function at 0x4066c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x452284]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x210]
push eax
push 0xf023f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360se6
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, ecx
call edi
test eax, eax
je 0x40672b
lea ecx, [ebp - 0x210]
push ecx
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360se6
push SysReAllocStringLen
call edi
test eax, eax
je 0x40672b
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00425608
mov esp, ebp
pop ebp
ret
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x20a]
push eax
mov word [ebp - 0x20c], dx
call fcn.0042b460
mov eax, dword [ebp - 0x210]
add esp, 0xc
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x20c]
push edx
push 0
push 0
push 0x445f24
push eax
mov dword [ebp - 0x214], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x406719
lea ecx, [ebp - 0x20c]
push 0x2c
push ecx
call fcn.00439356
add esp, 8
test eax, eax
je 0x406795
xor edx, edx
mov word [eax], dx
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4067a0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
call fcn.00402a90
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.00425608
mov esp, ebp
pop ebp
ret
Function at 0x4067d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x452284]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x210]
push eax
push 0xf023f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360Chrome
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, ecx
call edi
test eax, eax
je 0x40683b
lea ecx, [ebp - 0x210]
push ecx
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360Chrome
push SysReAllocStringLen
call edi
test eax, eax
je 0x40683b
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00425608
mov esp, ebp
pop ebp
ret
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x20a]
push eax
mov word [ebp - 0x20c], dx
call fcn.0042b460
mov eax, dword [ebp - 0x210]
add esp, 0xc
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x20c]
push edx
push 0
push 0
push 0x445f24
push eax
mov dword [ebp - 0x214], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x406829
lea ecx, [ebp - 0x20c]
push 0x2c
push ecx
call fcn.00439356
add esp, 8
test eax, eax
je 0x4068a5
xor edx, edx
mov word [eax], dx
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4068b0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
call fcn.00402a90
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.00425608
mov esp, ebp
pop ebp
ret

Function at 0x4068e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x452284]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x210]
push eax
push 0xf023f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallUCBrowser
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, ecx
call edi
test eax, eax
je 0x40694b
lea ecx, [ebp - 0x210]
push ecx
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallUCBrowser
push SysReAllocStringLen
call edi
test eax, eax
je 0x40694b
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00425608
mov esp, ebp
pop ebp
ret
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x20a]
push eax
mov word [ebp - 0x20c], dx
call fcn.0042b460
mov eax, dword [ebp - 0x210]
add esp, 0xc
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x20c]
push edx
push 0
push 0
push 0x445f24
push eax
mov dword [ebp - 0x214], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x406939
lea ecx, [ebp - 0x20c]
push 0x2c
push ecx
call fcn.00439356
add esp, 8
test eax, eax
je 0x4069b5
xor edx, edx
mov word [eax], dx
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4069c0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
call fcn.00402a90
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.00425608
mov esp, ebp
pop ebp
ret
Function at 0x4069f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x452284]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x210]
push eax
push 0xf023f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall2345Explorer
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, ecx
call edi
test eax, eax
je 0x406a5b
lea ecx, [ebp - 0x210]
push ecx
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall2345Explorer
push SysReAllocStringLen
call edi
test eax, eax
je 0x406a5b
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00425608
mov esp, ebp
pop ebp
ret
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x20a]
push eax
mov word [ebp - 0x20c], dx
call fcn.0042b460
mov eax, dword [ebp - 0x210]
add esp, 0xc
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x20c]
push edx
push 0
push 0
push 0x445f24
push eax
mov dword [ebp - 0x214], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x406a49
lea ecx, [ebp - 0x20c]
push 0x2c
push ecx
call fcn.00439356
add esp, 8
test eax, eax
je 0x406ac5
xor edx, edx
mov word [eax], dx
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x406ad0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
call fcn.00402a90
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.00425608
mov esp, ebp
pop ebp
ret

Function at 0x406b00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x452284]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x210]
push eax
push 0xf023f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, ecx
call edi
test eax, eax
je 0x406b6b
lea ecx, [ebp - 0x210]
push ecx
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
push SysReAllocStringLen
call edi
test eax, eax
je 0x406b6b
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00425608
mov esp, ebp
pop ebp
ret
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x20a]
push eax
mov word [ebp - 0x20c], dx
call fcn.0042b460
mov eax, dword [ebp - 0x210]
add esp, 0xc
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x20c]
push edx
push 0
push 0
push 0x445f24
push eax
mov dword [ebp - 0x214], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x406b59
lea ecx, [ebp - 0x20c]
push 0x2c
push ecx
call fcn.00439356
add esp, 8
test eax, eax
je 0x406bd5
xor edx, edx
mov word [eax], dx
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x406be0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
call fcn.00402a90
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.00425608
mov esp, ebp
pop ebp
ret
Function at 0x406c10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x452284]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x210]
push eax
push 0xf023f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallSogouExplorer
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, ecx
call edi
test eax, eax
je 0x406c7b
lea ecx, [ebp - 0x210]
push ecx
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallSogouExplorer
push SysReAllocStringLen
call edi
test eax, eax
je 0x406c7b
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00425608
mov esp, ebp
pop ebp
ret
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x20a]
push eax
mov word [ebp - 0x20c], dx
call fcn.0042b460
mov eax, dword [ebp - 0x210]
add esp, 0xc
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x20c]
push edx
push 0
push 0
push 0x445f24
push eax
mov dword [ebp - 0x214], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x406c69
lea ecx, [ebp - 0x20c]
push 0x2c
push ecx
call fcn.00439356
add esp, 8
test eax, eax
je 0x406ce5
xor edx, edx
mov word [eax], dx
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x406cf0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
call fcn.00402a90
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.00425608
mov esp, ebp
pop ebp
ret
Function at 0x406d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x452284]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x18], 0x10
push edi
mov dword [ebp - 0x114], eax
lea edi, [esi + 4]
jb 0x406d4e
mov eax, dword [edi]
jmp 0x406d50
mov eax, edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [ebp - 0x10c]
push ecx
push 0xf023f
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
je 0x406da7
cmp dword [esi + 0x18], 0x10
jb 0x406d78
mov edi, dword [edi]
lea edx, [ebp - 0x10c]
push edx
push 0xf003f
push 0
push edi
push SysReAllocStringLen
call ebx
test eax, eax
je 0x406da7
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00425608
mov esp, ebp
pop ebp
ret 4
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.0042b460
mov eax, dword [ebp - 0x10c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add esp, 0xc
lea ecx, [ebp - 0x110]
push ecx
lea edx, [ebp - 0x108]
push edx
push 0
push 0
push str.InstallLocation
push eax
mov dword [ebp - 0x110], 0x104
call esi
test eax, eax
je 0x406e55
mov eax, dword [ebp - 0x10c]
lea ecx, [ebp - 0x110]
push ecx
lea edx, [ebp - 0x108]
push edx
push 0
push 0
push str.DisplayIcon
push eax
call esi
test eax, eax
jne 0x406d92
lea ecx, [ebp - 0x108]
push 0x5c
push ecx
call fcn.00426b80
add esp, 8
cmp byte [eax], 0
je 0x406e39
mov byte [eax], 0
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406e42
sub eax, edx
push eax
lea edx, [ebp - 0x108]
push edx
jmp 0x406e71
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406e60
sub eax, edx
push eax
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp - 0x114]
call fcn.00402850
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00425608
mov esp, ebp
pop ebp
ret 4
Function at 0x406ea0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44171b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x452284]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push 0x206
lea ecx, [ebp - 0x216]
xor eax, eax
push ebx
push ecx
mov dword [ebp - 0x238], ebx
mov word [ebp - 0x218], ax
call fcn.0042b460
xor edx, edx
add esp, 0xc
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], ebx
mov word [ebp - 0x230], dx
push ebx
push 0x1c
lea eax, [ebp - 0x218]
push eax
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x406f5c
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push 0xffffffffffffffff
mov word [esi + 4], cx
push ebx
lea eax, [ebp - 0x234]
mov ecx, esi
call fcn.00402780
cmp dword [ebp - 0x21c], 8
jb 0x406fe4
mov edx, dword [ebp - 0x230]
push edx
jmp 0x406fdc
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x406f65
sub eax, edx
lea ecx, [ebp - 0x218]
sar eax, 1
push ecx
lea edx, [ebp - 0x234]
call fcn.0040ea60
lea edx, [ebp - 0x234]
cmp byte [ebp + 8], bl
je 0x406f9d
push str.GoogleChromeUser_DataDefaultSecure_Preferences
mov eax, 0x33
jmp 0x406fa7
push str.GoogleChromeUser_DataDefaultPreferences
mov eax, 0x2c
call fcn.0040ea60
push 0xffffffffffffffff
xor edx, edx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push ebx
lea eax, [ebp - 0x234]
mov ecx, esi
mov word [esi + 4], dx
call fcn.00402780
cmp dword [ebp - 0x21c], 8
jb 0x406fe4
mov eax, dword [ebp - 0x230]
push eax
call fcn.00438d27
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00425608
mov esp, ebp
pop ebp
ret 4
Function at 0x407010
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44171b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x452284]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push 0x206
lea ecx, [ebp - 0x216]
xor eax, eax
push ebx
push ecx
mov dword [ebp - 0x238], ebx
mov word [ebp - 0x218], ax
call fcn.0042b460
xor edx, edx
add esp, 0xc
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], ebx
mov word [ebp - 0x230], dx
push ebx
push 0x1c
lea eax, [ebp - 0x218]
push eax
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x4070cc
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push 0xffffffffffffffff
mov word [esi + 4], cx
push ebx
lea eax, [ebp - 0x234]
mov ecx, esi
call fcn.00402780
cmp dword [ebp - 0x21c], 8
jb 0x407154
mov edx, dword [ebp - 0x230]
push edx
jmp 0x40714c
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4070d5
sub eax, edx
lea ecx, [ebp - 0x218]
sar eax, 1
push ecx
lea edx, [ebp - 0x234]
call fcn.0040ea60
lea edx, [ebp - 0x234]
cmp byte [ebp + 8], bl
je 0x40710d
push str.2345ExplorerUser_DataDefaultSecure_Preferences
mov eax, 0x32
jmp 0x407117
push str.2345ExplorerUser_DataDefaultPreferencesV2
mov eax, 0x2d
call fcn.0040ea60
push 0xffffffffffffffff
xor edx, edx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push ebx
lea eax, [ebp - 0x234]
mov ecx, esi
mov word [esi + 4], dx
call fcn.00402780
cmp dword [ebp - 0x21c], 8
jb 0x407154
mov eax, dword [ebp - 0x230]
push eax
call fcn.00438d27
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00425608
mov esp, ebp
pop ebp
ret 4
Function at 0x407180
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44171b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x452284]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push 0x206
lea ecx, [ebp - 0x216]
xor eax, eax
push ebx
push ecx
mov dword [ebp - 0x238], ebx
mov word [ebp - 0x218], ax
call fcn.0042b460
xor edx, edx
add esp, 0xc
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], ebx
mov word [ebp - 0x230], dx
push ebx
push 0x1c
lea eax, [ebp - 0x218]
push eax
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x407239
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push 0xffffffffffffffff
mov word [esi + 4], cx
push ebx
lea eax, [ebp - 0x234]
mov ecx, esi
call fcn.00402780
cmp dword [ebp - 0x21c], 8
jb 0x4072b0
mov edx, dword [ebp - 0x230]
push edx
jmp 0x4072a8
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x407242
sub eax, edx
lea ecx, [ebp - 0x218]
sar eax, 1
push ecx
lea edx, [ebp - 0x234]
call fcn.0040ea60
push str.UCBrowserUser_DataLocal_State
mov eax, 0x20
lea edx, [ebp - 0x234]
call fcn.0040ea60
push 0xffffffffffffffff
xor edx, edx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push ebx
lea eax, [ebp - 0x234]
mov ecx, esi
mov word [esi + 4], dx
call fcn.00402780
cmp dword [ebp - 0x21c], 8
jb 0x4072b0
mov eax, dword [ebp - 0x230]
push eax
call fcn.00438d27
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00425608
mov esp, ebp
pop ebp
ret 4