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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push ecx
lea ecx, [ebp - 8]
mov dword [ebp - 4], edx
mov edi, 0x80070003
call fcn.00404b61
lea ecx, [ebp - 8]
call fcn.0041011a
mov esi, dword [ebp - 8]
test eax, eax
je 0x40f8dd
and dword [ebp - 0x10], 0
or edx, 0xf003f
push 0
push ecx
push edx
push ecx
push ecx
push esi
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0x539394
mov dword [ebp - 0xc], 0x200
call fcn.0040f646
mov edi, eax
test edi, edi
jne 0x40f8ce
mov eax, dword [ebp + 8]
sub eax, 1
je 0x40f8b0
sub eax, 1
je 0x40f8ac
sub eax, 1
je 0x40f880
sub eax, 1
je 0x40f871
sub eax, 3
je 0x40f85e
sub eax, 4
je 0x40f84c
mov edi, 0x8007065d
jmp 0x40f8c0
push dword [ebx + 4]
lea ecx, [ebp - 0x14]
push dword [ebx]
push dword [ebp - 4]
call fcn.0040fd09
jmp 0x40f8be
push 7
push dword [ebp + 0x10]
lea ecx, [ebp - 0x14]
push ebx
push dword [ebp - 4]
call fcn.0040fd6e
jmp 0x40f8be
push dword [ebx]
lea ecx, [ebp - 0x14]
push dword [ebp - 4]
call fcn.0040fce0
jmp 0x40f8be
mov eax, ebx
neg eax
sbb eax, eax
and eax, dword [ebp + 0x10]
push eax
push ebx
push 3
push 0
push dword [ebp - 4]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test edi, edi
jle 0x40f8c0
movzx edi, di
or edi, 0x80070000
jmp 0x40f8c0
push 2
jmp 0x40f8b2
push 1
push ebx
push dword [ebp - 4]
lea ecx, [ebp - 0x14]
call fcn.0040fd32
mov edi, eax
lea ecx, [ebp - 0x14]
call fcn.0040f61a
test edi, edi
jne 0x40f8ce
mov edi, eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0x539394
call fcn.0040f61a
lea ecx, [esi - 0x10]
call fcn.00403f90
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40fafc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov edi, ecx
lea eax, [ebp - 4]
push eax
xor ecx, ecx
lea eax, [ebp - 8]
push ecx
push eax
push ecx
push dword [ebp + 8]
mov dword [ebp - 4], ecx
push dword [edi + 4]
mov dword [ebp - 8], ecx
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
mov esi, eax
test esi, esi
jle 0x40fb34
movzx esi, si
or esi, 0x80070000
test esi, esi
jne 0x40fb96
mov eax, dword [ebp - 4]
xor ecx, ecx
shr eax, 1
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e3322
pop ecx
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
test ecx, ecx
je 0x40fb91
cmp dword [ebp - 4], 0
je 0x40fb8a
lea eax, [ebp - 4]
push eax
push ecx
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
mov esi, eax
test esi, esi
jle 0x40fb96
movzx esi, si
or esi, 0x80070000
jmp 0x40fb96
xor eax, eax
mov word [ecx], ax
jmp 0x40fb96
mov esi, 0x8007000e
pop edi
mov eax, esi
pop esi
leave
ret 8
Function at 0x41001d
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x551008]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
mov ebx, ecx
mov dword [esp + 8], 0x539394
mov ecx, dword [ebp + 8]
push esi
push edi
mov eax, dword [ebx + 8]
xor edi, edi
or eax, 0xf003f
mov dword [esp + 0x1c], ecx
push eax
push ecx
push dword [ebx + 4]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], 0x200
call fcn.0040f712
mov esi, eax
cmp esi, 0x80070002
je 0x410081
cmp esi, 0x80070003
jne 0x410084
xor esi, esi
inc esi
test esi, esi
jne 0x4100f0
lea eax, [esp + 0x20]
push eax
push edi
push edi
push edi
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x3c]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x4100c8
lea eax, [esp + 0x28]
push eax
call fcn.0041001d
mov esi, eax
test esi, esi
jne 0x4100f0
lea eax, [esp + 0x20]
xor ecx, ecx
push eax
push ecx
push ecx
push ecx
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x3c]
push eax
push ecx
push dword [esp + 0x30]
mov dword [esp + 0x2c], 0x100
call edi
lea ecx, [esp + 0x10]
test eax, eax
je 0x4100a3
call fcn.0040f61a
push dword [esp + 0x1c]
mov ecx, ebx
call fcn.0040f5ea
mov esi, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x539394
call fcn.0040f61a
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004e302f
mov esp, ebp
pop ebp
ret 4

Function at 0x410582
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x551008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov word [ebp - 8], 0x500
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
mov dword [ebp - 0x14], ebx
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4105e8
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x14]
neg eax
sbb eax, eax
and dword [ebp - 0x10], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x10]
test eax, eax
mov ecx, dword [ebp - 4]
setne al
xor ecx, ebp
pop ebx
call fcn.004e302f
leave
ret
Function at 0x4106e5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push ebx
push esi
push edi
lea ecx, [ebp - 0x24]
mov ebx, edx
call fcn.0040d523
push 0x40
xor esi, esi
mov dword [ebp - 0x6c], 0x44
lea eax, [ebp - 0x68]
push esi
push eax
call fcn.004e5020
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x6c]
add esp, 0xc
mov dword [ebp - 0x40], 0x80
push edi
push eax
push esi
cmp dword [ebp + 8], esi
jne 0x410729
push esi
push esi
jmp 0x410731
push dword [ebp + 8]
push 0x400
push esi
push esi
push esi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x410749
call fcn.00410c11
mov esi, eax
jmp 0x410789
movzx ecx, byte [0x558e46]
neg ecx
sbb ecx, ecx
and ecx, 0x557fc0
je 0x410789
push 7
pop edx
xor eax, eax
mov dword [ebp - 0x14], ecx
inc eax
mov dword [ebp - 0x10], edx
push eax
push edx
mov dword [ebp - 0xc], eax
call fcn.0040b7e8
push dword [edi + 8]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push str._Started_process___u_
push eax
call fcn.004041cc
add esp, 0xc
lea ecx, [ebp - 0x24]
call fcn.0040d57d
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x410800
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
lea ecx, [ebp - 0x14]
call fcn.0040d523
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.00404e70
add eax, 0x10
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.004123d5
push 0x20
lea ecx, [ebp - 4]
call fcn.00407496
mov eax, dword [ebp + 8]
lea ecx, [ebp - 4]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.0040758c
push 0x40
xor ebx, ebx
mov dword [ebp - 0x60], 0x44
lea eax, [ebp - 0x5c]
push ebx
push eax
call fcn.004e5020
mov esi, dword [ebp - 4]
xor ecx, ecx
mov dword [ebp - 0x58], str.WinSta0Default
inc ecx
mov edx, 0x104
add esp, 0xc
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or ecx, eax
jge 0x41088a
push edx
lea ecx, [ebp - 4]
call fcn.00404ec3
mov esi, dword [ebp - 4]
push dword [ebp + 0x14]
lea eax, [ebp - 0x60]
push eax
push ebx
push dword [ebp + 0x10]
push 0x400
push ebx
push ebx
push ebx
push esi
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
push 0xffffffffffffffff
lea ecx, [ebp - 4]
mov edi, eax
call fcn.00404bbc
test edi, edi
jne 0x4108bd
call fcn.00410c11
mov ebx, eax
lea ecx, [esi - 0x10]
call fcn.00403f90
lea ecx, [ebp - 0x14]
call fcn.0040d57d
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x4108d4
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x551008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x18]
push ecx
push 0x28
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x41094a
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], esi
push eax
push str.SeDebugPrivilege
push esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x41094a
mov eax, dword [ebp - 0x20]
push esi
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
push esi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x410951
call fcn.00410c11
mov esi, eax
cmp dword [ebp - 0x18], 0
je 0x410960
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004e302f
leave
ret

Function at 0x4109e7
Capabilities:
Get session information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
call fcn.0041096f
mov ebx, eax
or edi, 0xffffffff
xor ecx, ecx
cmp ebx, edi
je 0x410a3e
lea eax, [ebp - 0x10]
mov dword [ebp - 8], ecx
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x10], ecx
push eax
push 8
push ebx
push ecx
call dword [sym.imp.WTSAPI32.dll_WTSQuerySessionInformationW]
test eax, eax
je 0x410a32
mov eax, dword [ebp - 8]
push esi
push eax
mov esi, dword [eax]
call dword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
test esi, esi
pop esi
sete al
xor ecx, ecx
jmp 0x410a36
xor ecx, ecx
mov al, cl
test al, al
je 0x410a3e
mov eax, ebx
jmp 0x410a86
lea eax, [ebp - 4]
mov dword [ebp - 0xc], ecx
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 4], ecx
push eax
push 1
push ecx
push ecx
call dword [sym.imp.WTSAPI32.dll_WTSEnumerateSessionsW]
test eax, eax
je 0x410a84
mov ecx, dword [ebp - 0xc]
xor eax, eax
cmp dword [ebp - 4], eax
jbe 0x410a7d
lea edx, [ecx + 8]
cmp dword [edx], 0
je 0x410a77
inc eax
add edx, 0xc
cmp eax, dword [ebp - 4]
jb 0x410a67
jmp 0x410a7d
imul eax, eax, 0xc
mov edi, dword [eax + ecx]
push ecx
call dword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
mov eax, edi
pop edi
pop ebx
leave
ret
Function at 0x411a98
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x551008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x802
lea eax, [ebp - 0x808]
mov edi, edx
push 0
push eax
mov ebx, ecx
call fcn.004e5020
mov esi, dword [0x55809c]
lea ecx, [ebp - 0x80c]
xor edx, edx
call fcn.0040c8ff
push edi
push str.baselogging.cc
push 0
push esi
push dword [ebp - 0x80c]
lea eax, [ebp - 0x808]
push ebx
push str.Exception__x_in__s__s__u_r_n_r_n_hs:_d_r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 0x80c]
add esp, 0x2c
lea ecx, [ecx - 0x10]
call fcn.00403f90
lea ecx, [ebp - 0x808]
call fcn.004138f1
push 0x250012
push str.Exception
lea eax, [ebp - 0x808]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
pop esi
pop ebx
sub eax, 3
je 0x411b4c
sub eax, 1
jne 0x411b3d
int3
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
inc eax
call fcn.004e302f
leave
ret
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x412163
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea esi, [ecx + 4]
push esi
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
jne 0x4121a4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
jne 0x4121a4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
jb 0x41217f
xor al, al
jmp 0x4121a6
mov al, 1
pop esi
leave
ret 4

Function at 0x412717
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x551008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x234], ecx
push edi
push 2
mov dword [ebx], edi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x4127b3
push 0x22c
lea eax, [ebp - 0x230]
push edi
push eax
call fcn.004e5020
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4127b3
mov ecx, dword [ebp - 0x234]
mov eax, dword [ebp - 0x228]
cmp eax, dword [ecx + 0x1c]
jne 0x412796
mov eax, dword [ebp - 0x218]
test eax, eax
jne 0x4127af
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x41277b
mov edi, 0x80004005
jmp 0x4127ba
mov dword [ebx], eax
jmp 0x4127ba
call fcn.00410c11
mov edi, eax
cmp esi, 0xffffffff
je 0x4127c6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e302f
leave
ret 4
Function at 0x412cb7
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1220
call fcn.004fdd60
mov eax, dword [0x551008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ecx
xor ebx, ebx
mov edi, str.EXPLORER.EXE
push ebx
push 0x410
mov dword [ebp - 0x1220], edi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x412e48
push 0x5c
pop edx
mov ecx, edi
call fcn.0040910e
mov edi, eax
cmp edi, 0xffffffff
setne byte [ebp - 0x121c]
call fcn.00403fa8
push eax
lea ecx, [ebp - 0x1214]
call fcn.00404df3
cmp edi, 0xffffffff
je 0x412d47
lea edx, [ebp - 0x1214]
mov ecx, str.EXPLORER.EXE
call fcn.00412e59
test eax, eax
js 0x412e33
mov edi, dword [ebp - 0x1214]
mov dword [ebp - 0x1220], edi
jmp 0x412d4c
mov edi, str.EXPLORER.EXE
push 0x1000
lea eax, [ebp - 0x120c]
push ebx
push eax
call fcn.004e5020
add esp, 0xc
mov dword [ebp - 0x1218], ebx
lea eax, [ebp - 0x1218]
push eax
push 4
lea eax, [ebp - 0x120c]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
jne 0x412dae
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.004131a8
test al, al
je 0x412e33
push dword [ebp - 0x121c]
mov edx, edi
mov ecx, esi
call fcn.00412c10
pop ecx
mov bl, al
jmp 0x412e33
mov edi, dword [ebp - 0x1218]
shr edi, 2
cmp edi, 1
jbe 0x412dbf
xor edi, edi
inc edi
mov dword [ebp - 0x1210], ebx
test edi, edi
je 0x412e33
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004e5020
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
mov eax, dword [ebp - 0x1210]
push dword [ebp + eax*4 - 0x120c]
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x412e1e
push dword [ebp - 0x121c]
mov edx, dword [ebp - 0x1220]
lea ecx, [ebp - 0x20c]
call fcn.00412b79
pop ecx
test al, al
jne 0x412e31
mov eax, dword [ebp - 0x1210]
inc eax
mov dword [ebp - 0x1210], eax
cmp eax, edi
jl 0x412dc9
jmp 0x412e33
mov bl, 1
mov ecx, dword [ebp - 0x1214]
add ecx, 0xfffffff0
call fcn.00403f90
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e302f
leave
ret

Function at 0x4138f1
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push edi
mov edi, ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0
mov ebx, eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x413960
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ebx, [ebx*2 + 2]
push ebx
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x41393c
push ebx
push edi
push eax
call fcn.004e4aa0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x413957
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop esi
pop edi
pop ebx
jmp dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop ebx
ret
Function at 0x413a8e
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x551008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, edx
push ebx
mov ebx, ecx
mov dword [ebp - 0x420], eax
mov ecx, eax
call fcn.00404c0b
mov ax, word [0x512eb8]
push 0x206
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push 0
push eax
call fcn.004e5020
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
jne 0x413af6
call fcn.00410c11
jmp 0x413ba1
mov eax, dword [0x53b094]
mov dword [ebp - 0xc], eax
mov ax, word [0x53b098]
mov word [ebp - 8], ax
mov ax, word [ebp - 0x214]
push esi
lea esi, [ebp - 0x214]
push edi
test ax, ax
je 0x413b9a
movzx ecx, ax
mov ax, word [0x512eb8]
push 0x206
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push 0
push eax
mov word [ebp - 0xc], cx
call fcn.004e5020
add esp, 0xc
lea eax, [ebp - 0x41c]
push 0x104
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x413b83
lea eax, [ebp - 0x41c]
push eax
call fcn.004e7010
mov edi, eax
lea eax, [ebp - 0x41c]
push edi
push eax
push ebx
call fcn.004f8856
add esp, 0x10
test eax, eax
je 0x413bae
push esi
call fcn.004e7010
pop ecx
lea esi, [esi + eax*2]
add esi, 2
movzx eax, word [esi]
mov ecx, eax
test ax, ax
jne 0x413b1f
mov eax, 0x8007000f
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004e302f
leave
ret
lea eax, [ebx + edi*2]
push eax
lea eax, [ebp - 0xc]
push eax
push str._s_s
push dword [ebp - 0x420]
call fcn.00410ae2
add esp, 0x10
xor eax, eax
jmp 0x413b9f
Function at 0x414633
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov bl, cl
push esi
push edi
test bl, bl
je 0x414655
call fcn.0041c2e5
test al, al
je 0x414655
mov eax, 0x80004005
jmp 0x414785
xor esi, esi
mov dword [ebp - 0xc], 0x53ae58
lea edx, [ebp - 0xc]
mov dword [ebp - 8], esi
mov cl, bl
call fcn.00414227
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0xc]
call dword [eax + 4]
mov dword [ebp - 0x18], 0x539394
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0x200
call fcn.00415ce9
mov eax, str.HKLMSoftwareGoogleUpdate_
test bl, bl
jne 0x414698
mov eax, str.HKCUSoftwareGoogleUpdate_
push esi
push ecx
push 0xf003f
push ecx
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.0040f6c5
mov edi, eax
test edi, edi
js 0x414763
push esi
push esi
push esi
push esi
push 0x53b220
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4146d1
mov edi, esi
jmp 0x414763
call fcn.00403fa8
push eax
lea ecx, [ebp - 4]
call fcn.00404df3
lea ecx, [ebp - 4]
call fcn.0040de29
mov esi, dword [ebp - 4]
test eax, eax
js 0x414759
xor edi, edi
lea ecx, [ebp - 0x18]
inc edi
push edi
push esi
push 0x53b220
call fcn.0040fd32
test eax, eax
js 0x414759
mov ecx, 0x552130
call fcn.00413c4e
lea ecx, [ebp - 0x18]
call fcn.004145dc
xor eax, eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
call fcn.00413fa3
test eax, eax
js 0x41474f
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x20]
je 0x41474f
sub esp, 0xc
lea eax, [ebp - 0x24]
mov ecx, esp
push eax
call fcn.00414b2b
mov cl, bl
call fcn.00414288
add esp, 0xc
mov edi, eax
lea ecx, [ebp - 0x24]
call fcn.004112c3
jmp 0x41475b
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.00403f90
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x539394
call fcn.0040f61a
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0xc]
call dword [eax + 8]
lea ecx, [ebp - 0xc]
call fcn.004120a7
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4151d1
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, ecx
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x4151f6
call fcn.00403fa8
push eax
mov ecx, ebx
call fcn.00404df3
jmp 0x4152c0
push esi
push edi
push str.SystemTemp
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], 0x24
call fcn.00404b61
push str.GoogleTemp
lea ecx, [ebp - 0x14]
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0x26
call fcn.00404b61
lea esi, [ebp - 0x24]
mov byte [ebp - 0x10], 1
mov dword [ebp - 8], esi
call fcn.00403fa8
push eax
lea ecx, [ebp - 4]
call fcn.00404df3
mov ecx, dword [esi]
lea eax, [ebp - 4]
lea edx, [esi + 4]
push eax
movzx eax, byte [edx + 4]
push eax
call fcn.00415130
mov esi, dword [ebp - 4]
pop ecx
pop ecx
test eax, eax
js 0x415284
mov ecx, esi
call fcn.0040d4dc
test al, al
je 0x415284
push 0x53b8a8
mov edx, esi
lea ecx, [ebp - 0xc]
call fcn.0040574c
mov edi, dword [ebp - 0xc]
pop ecx
cmp dword [edi - 0xc], 0
jne 0x4152c5
lea ecx, [edi - 0x10]
call fcn.00403f90
lea ecx, [esi - 0x10]
call fcn.00403f90
mov esi, dword [ebp - 8]
lea eax, [ebp - 0xc]
add esi, 0xc
mov dword [ebp - 8], esi
cmp esi, eax
jne 0x41522e
call fcn.00403fa8
push eax
mov ecx, ebx
call fcn.00404df3
push 2
pop esi
lea edi, [ebp - 0xc]
sub edi, 0xc
mov ecx, edi
call fcn.0040eebe
sub esi, 1
jne 0x4152af
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi - 0x10]
call fcn.00404e70
add eax, 0x10
lea ecx, [edi - 0x10]
mov dword [ebx], eax
call fcn.00403f90
lea ecx, [esi - 0x10]
call fcn.00403f90
push 2
pop esi
lea edi, [ebp - 0xc]
sub edi, 0xc
mov ecx, edi
call fcn.0040eebe
sub esi, 1
jne 0x4152ef
jmp 0x4152be

Function at 0x416e50
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x551008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x200
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.004e5020
add esp, 0xc
mov dword [ebp - 0x20c], 0x100
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x204]
push eax
push 3
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
xor ebx, ebx
inc ebx
test eax, eax
je 0x416eb7
push ebx
mov edx, str..google.com
lea ecx, [ebp - 0x204]
call fcn.0040889e
pop ecx
test al, al
jne 0x416efc
and dword [ebp - 0x208], 0
lea eax, [ebp - 0x208]
push esi
push eax
push 0x64
push 0
call dword [sym.imp.NETAPI32.dll_NetWkstaGetInfo]
mov esi, dword [ebp - 0x208]
test eax, eax
jne 0x416ef2
cmp dword [esi + 8], eax
je 0x416ef2
push str.google
push dword [esi + 8]
call fcn.004f8706
pop ecx
pop ecx
test eax, eax
je 0x416ef4
xor bl, bl
push esi
call dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
pop esi
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.004e302f
leave
ret