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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ecfe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x808
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov ecx, 0x4d5279
call fcn.0047b83a
mov ecx, dword [ebp + 8]
call fcn.004066d0
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
push 0x800
push 0
lea ecx, [ebp - 0x814]
push ecx
call fcn.0047e8a0
add esp, 0xc
push 0x800
push 0
lea edx, [ebp - 0x814]
push edx
call fcn.0047e8a0
add esp, 0xc
push 0
push 0x10
lea eax, [ebp - 0x814]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40e7a0
lea ecx, [ebp - 0x814]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00407400
push 0x4a61f8
mov ecx, dword [ebp + 8]
call fcn.00407840
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x40e7c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ecfe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x808
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov ecx, 0x4d5279
call fcn.0047b83a
mov ecx, dword [ebp + 8]
call fcn.004066d0
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
push 0x800
push 0
lea ecx, [ebp - 0x814]
push ecx
call fcn.0047e8a0
add esp, 0xc
push 0x800
push 0
lea edx, [ebp - 0x814]
push edx
call fcn.0047e8a0
add esp, 0xc
push 0
push 0x19
lea eax, [ebp - 0x814]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40e870
lea ecx, [ebp - 0x814]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00407400
push 0x4a61f4
mov ecx, dword [ebp + 8]
call fcn.00407840
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x40e8c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ecfe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x808
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov ecx, 0x4d5279
call fcn.0047b83a
mov ecx, dword [ebp + 8]
call fcn.004066d0
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
push 0x800
push 0
lea ecx, [ebp - 0x814]
push ecx
call fcn.0047e8a0
add esp, 0xc
push 0x800
push 0
lea edx, [ebp - 0x814]
push edx
call fcn.0047e8a0
add esp, 0xc
push 0
push 2
lea eax, [ebp - 0x814]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40e970
lea ecx, [ebp - 0x814]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00407400
push 0x4a61f0
mov ecx, dword [ebp + 8]
call fcn.00407840
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x40e990
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49eecd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x808
mov dword [ebp - 0x10], 0
mov ecx, 0x4d5279
call fcn.0047b83a
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x40e9e6
mov eax, dword [ebp + 8]
push eax
call fcn.0040e7c0
add esp, 4
mov ecx, dword [ebp - 0x10]
or ecx, 1
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
jmp 0x40ea7b
lea ecx, [ebp - 0x14]
call fcn.004066d0
mov dword [ebp - 4], 0
push 0x800
push 0
lea edx, [ebp - 0x814]
push edx
call fcn.0047e8a0
add esp, 0xc
push 0x800
push 0
lea eax, [ebp - 0x814]
push eax
call fcn.0047e8a0
add esp, 0xc
push 0
push 0x10
lea ecx, [ebp - 0x814]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40ea54
lea edx, [ebp - 0x814]
push edx
lea ecx, [ebp - 0x14]
call fcn.00407400
push 0x4a5c34
lea ecx, [ebp - 0x14]
call fcn.00407840
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.00406700
mov ecx, dword [ebp - 0x10]
or ecx, 1
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00407090
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x40ea90
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov ecx, 0x4d5279
call fcn.0047b83a
mov byte [ebp - 1], 0
mov dword [ebp - 0x14], 0
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
lea ecx, [ebp + 8]
call fcn.004074e0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x40eaf1
mov byte [ebp - 2], 0
lea ecx, [ebp + 8]
call fcn.00407090
lea ecx, [ebp + 0x10]
call fcn.00407090
mov al, byte [ebp - 2]
jmp 0x40eb81
lea ecx, [ebp + 0x10]
call fcn.004074e0
push eax
movzx eax, word [ebp + 0xc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40eb12
jmp 0x40eb5e
mov ecx, dword [ebp - 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40eb29
jmp 0x40eb5e
mov edx, dword [ebp - 8]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x18], eax
push 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40eb56
jmp 0x40eb5e
mov byte [ebp - 1], 1
xor ecx, ecx
jne 0x40eaf1
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 1]
mov byte [ebp - 3], al
lea ecx, [ebp + 8]
call fcn.00407090
lea ecx, [ebp + 0x10]
call fcn.00407090
mov al, byte [ebp - 3]
mov esp, ebp
pop ebp
ret
Function at 0x40ebd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov ecx, 0x4d521c
call fcn.0047b83a
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40ebfe
xor eax, eax
jmp 0x40ec7e
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40ec15
xor eax, eax
jmp 0x40ec7e
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x40ec61
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x40ec61
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x40ec38
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x40ec6d
xor eax, eax
jmp 0x40ec7e
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x40ec7b
xor eax, eax
jmp 0x40ec7e
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x410cb0
Capabilities:
Hash data via bcrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f25e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov ecx, 0x4d53a1
call fcn.0047b83a
mov dword [ebp - 0x24], 0x10
mov dword [ebp - 0x28], 4
mov ecx, dword [ebp + 8]
call fcn.00410090
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
or eax, 1
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
push 0
push 0
push 0x4a6480
lea ecx, [ebp - 0x14]
push ecx
call sub.bcrypt.dll_BCryptOpenAlgorithmProvider
test eax, eax
jl 0x410dc3
mov dword [ebp - 0x10], 0
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
call sub.bcrypt.dll_BCryptCreateHash
test eax, eax
jl 0x410db8
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
call sub.bcrypt.dll_BCryptHashData
test eax, eax
jl 0x410daf
push 4
lea ecx, [ebp - 0x20]
push ecx
call fcn.00410850
add esp, 8
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp + 8]
call fcn.004100f0
lea ecx, [ebp - 0x20]
call fcn.00410b40
push 0
push 0x10
mov ecx, dword [ebp + 8]
call fcn.00412bb0
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.bcrypt.dll_BCryptFinishHash
test eax, eax
jge 0x410daf
push 0
mov ecx, dword [ebp + 8]
call fcn.00412cc0
mov ecx, dword [ebp - 0x10]
push ecx
call sub.bcrypt.dll_BCryptDestroyHash
push 0
mov edx, dword [ebp - 0x14]
push edx
call sub.bcrypt.dll_BCryptCloseAlgorithmProvider
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x410eb0
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov ecx, 0x4d53a1
call fcn.0047b83a
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0x40000001
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
test eax, eax
jne 0x410f06
push 0
mov ecx, dword [ebp + 8]
call fcn.004100c0
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
jmp 0x410f91
mov ecx, dword [ebp - 0xc]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.004108f0
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
call fcn.00410010
lea ecx, [ebp - 0x14]
call fcn.00410b40
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
call fcn.00412bb0
push eax
push 0x40000001
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
test eax, eax
jne 0x410f71
push 0
mov ecx, dword [ebp + 8]
call fcn.004100c0
mov ecx, dword [ebp - 4]
or ecx, 1
mov dword [ebp - 4], ecx
lea ecx, [ebp - 8]
call fcn.00410b40
mov eax, dword [ebp + 8]
jmp 0x410f91
lea edx, [ebp - 8]
push edx
mov ecx, dword [ebp + 8]
call fcn.00410010
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
lea ecx, [ebp - 8]
call fcn.00410b40
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x411e30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
mov ecx, 0x4d538c
call fcn.0047b83a
xor eax, eax
jne 0x411e43
cmp dword [ebp + 0xc], 0
je 0x411e56
mov dword [ebp - 0xc], 1
jmp 0x411e5d
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jne 0x411e70
mov eax, 0xd
jmp 0x411ec5
xor edx, edx
jne 0x411e47
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
add ecx, 2
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 8]
mov ax, word [edx]
mov word [ebp - 2], ax
add dword [ebp - 8], 2
cmp word [ebp - 2], 0
jne 0x411e83
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x14]
sar ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
lea eax, [edx + edx + 2]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x414520
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov ecx, 0x4d5499
call fcn.0047b83a
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], 0xffffffff
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4146e9
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x414598
mov dword [ebp - 0x10], 0x64
mov dword [ebp - 8], 0
jmp 0x4145aa
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x10]
jae 0x4146e9
mov dword [ebp - 4], 0
push 0x104
push 0
lea edx, [ebp - 0x228]
push edx
call fcn.0047e8a0
add esp, 0xc
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0x104
push 0x104
push 0
lea eax, [ebp - 0x124]
push eax
call fcn.0047e8a0
add esp, 0xc
mov ecx, dword [ebp - 8]
push ecx
push str._04u
push 0x104
lea edx, [ebp - 0x124]
push edx
call fcn.004133b0
add esp, 0x10
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x124]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x414640
jmp 0x4145a1
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x228]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0
push str.NetCfgInstanceId
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x414673
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4145a1
lea edx, [ebp - 0x228]
push edx
mov ecx, dword [ebp + 8]
call fcn.00404160
push eax
call fcn.00485af8
add esp, 8
test eax, eax
je 0x41469e
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4145a1
mov dword [ebp - 0x14], 4
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x18]
push eax
push 0
push 0x4a7768
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4146da
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4146e9
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4145a1
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x20]
mov esp, ebp
pop ebp
ret
Function at 0x4165d0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f8bd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov dword [ebp - 0x4c], ecx
mov ecx, 0x4d5715
call fcn.0047b83a
lea eax, [ebp - 0x24]
push eax
call fcn.0040e6f0
add esp, 4
mov dword [ebp - 4], 0
push 0x4a8c88
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.004075a0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.004074e0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x20]
push eax
call fcn.0040e7c0
add esp, 4
mov byte [ebp - 4], 2
push 0x4a8ca8
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x30]
push edx
call fcn.004075a0
add esp, 0xc
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00407340
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.00407090
lea ecx, [ebp - 0x1c]
call fcn.004074e0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [ebp - 0x18]
push edx
call fcn.0040e8c0
add esp, 4
mov byte [ebp - 4], 4
push 0x4a8cc8
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.004075a0
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14]
call fcn.004074e0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [ebp - 0x3c]
push edx
call fcn.00419dc0
add esp, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00407340
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
call fcn.00407090
push 0x4a8ce8
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x48]
push eax
call fcn.004075a0
add esp, 0xc
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x44], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x44]
push edx
lea ecx, [ebp - 0x14]
call fcn.00407340
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x48]
call fcn.00407090
lea ecx, [ebp - 0x14]
call fcn.004074e0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x10]
push eax
call fcn.0040c640
add esp, 4
mov byte [ebp - 4], 8
push 0x4a8d08
lea ecx, [ebp - 0x10]
call fcn.00407840
lea ecx, [ebp - 0x10]
call fcn.004074e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41677d
lea ecx, [ebp - 0x10]
call fcn.004074e0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x10]
call fcn.00407090
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.00407090
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00407090
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00407090
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00407090
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00407090
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x417190
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49fa05
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x254
mov ecx, 0x4d5715
call fcn.0047b83a
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x4171c9
mov al, 1
jmp 0x4172f4
push 0x208
push 0
lea eax, [ebp - 0x260]
push eax
call fcn.0047e8a0
add esp, 0xc
mov dword [ebp - 0x1c], 0
push 0x104
lea ecx, [ebp - 0x260]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x58], 0x3c
push 0x38
push 0
lea eax, [ebp - 0x54]
push eax
call fcn.0047e8a0
add esp, 0xc
mov dword [ebp - 0x4c], 0x4a8fac
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x3c], 1
lea ecx, [ebp - 0x14]
call fcn.004066d0
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
test eax, eax
je 0x417252
push str._upprivi__can_ins_d
lea ecx, [ebp - 0x14]
call fcn.00407400
jmp 0x41725f
push str._upprivi
lea ecx, [ebp - 0x14]
call fcn.00407400
lea ecx, [ebp - 0x14]
call fcn.004074e0
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x58]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x4172de
push 0x4a8ff4
lea ecx, [ebp - 0x18]
call fcn.004067e0
mov byte [ebp - 4], 1
push 0x4a900c
lea ecx, [ebp - 0x18]
call fcn.00407840
push 4
push 0x4a9030
lea ecx, [ebp - 0x18]
call fcn.004074e0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x4172ba
push 0
call fcn.00486324
mov byte [ebp - 0xd], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00407090
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00407090
mov al, byte [ebp - 0xd]
jmp 0x4172f4
mov byte [ebp - 0xe], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00407090
mov al, byte [ebp - 0xe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x417430
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, 0x4d5715
call fcn.0047b83a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x18], ecx
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 0x419d80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret 4
Function at 0x417470
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49fa6d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov dword [ebp - 0x10], ecx
mov ecx, 0x4d5715
call fcn.0047b83a
push 0x4a7cb8
lea ecx, [ebp - 0x2c]
call fcn.004030b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00404160
push eax
push 0
push 0x469
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 0x46a
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
call fcn.0040e370
add esp, 4
push 0x4a7cc4
call fcn.0040b820
add esp, 4
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x4a7cec
call fcn.0040d910
add esp, 4
mov dword [ebp - 0x14], 0
jmp 0x417524
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x14
jge 0x417559
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
add edx, 4
push edx
call fcn.0040b840
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
add ecx, 4
call fcn.004074e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x417557
jmp 0x417559
jmp 0x41751b
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00403360
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x418dc0
Capabilities:
Check if file exists
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49fdbd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0
mov ecx, 0x4d5715
call fcn.0047b83a
xor eax, eax
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x154], 0
push 0x104
push 0
lea ecx, [ebp - 0x150]
push ecx
call fcn.0047e8a0
add esp, 0xc
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x1c], 0
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x48], edx
push 0
push 0
lea eax, [ebp - 0x158]
push eax
push 0x419c20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x40]
call fcn.00403130
mov byte [ebp - 4], 1
call fcn.0040ce80
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x40
jne 0x418e89
push str.https:__dw.gptchrome.net_bropkg_GInstallerx64_162.exe
lea ecx, [ebp - 0x40]
call fcn.00404930
jmp 0x418e96
push str.https:__dw.gptchrome.net_bropkg_GInstallerx86_162.exe
lea ecx, [ebp - 0x40]
call fcn.00404930
lea ecx, [ebp - 0x40]
call fcn.0040f810
movzx ecx, al
test ecx, ecx
je 0x418ecc
mov byte [ebp - 0xd], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00403360
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00407090
mov al, byte [ebp - 0xd]
jmp 0x418fc1
lea ecx, [ebp - 0x40]
call fcn.00404160
push eax
lea ecx, [ebp - 0x18]
call fcn.00406760
mov byte [ebp - 4], 2
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x14], 0
jmp 0x418efa
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 5
jge 0x418f3d
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x48]
push eax
lea ecx, [ebp + 8]
call fcn.004074e0
push eax
lea ecx, [ebp - 0x18]
call fcn.004074e0
push eax
call fcn.00408650
add esp, 0xc
movzx ecx, al
test ecx, ecx
je 0x418f30
jmp 0x418f3d
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x418ef1
mov dword [ebp - 0x4c], 1
push 0xffffffffffffffff
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp + 8]
call fcn.004074e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x418f93
mov byte [ebp - 0xe], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00407090
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00403360
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00407090
mov al, byte [ebp - 0xe]
jmp 0x418fc1
mov byte [ebp - 0xf], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00407090
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00403360
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00407090
mov al, byte [ebp - 0xf]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4