joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408b80
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x442008]
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 0x408be6
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.00416dd6
leave
ret

Function at 0x4090f9
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x442008]
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.00417950
mov esi, dword [0x443f34]
lea ecx, [ebp - 0x80c]
xor edx, edx
call fcn.00404997
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.004015ce
lea ecx, [ebp - 0x808]
call fcn.00409840
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 0x4091ad
sub eax, 1
jne 0x40919e
int3
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
inc eax
call fcn.00416dd6
leave
ret
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x409840
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 0x4098af
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 0x40988b
push ebx
push edi
push eax
call fcn.00418db0
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 0x4098a6
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 0x40a8db
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
lea ebx, [ecx + 0x1c]
mov eax, dword [ebx]
push esi
push edi
mov esi, dword [eax]
mov dword [ebp - 8], esi
cmp esi, eax
je 0x40aa59
mov ecx, dword [esi + 0x14]
sub ecx, 0x10
call fcn.004017ba
and dword [ebp - 0x20], 0
and dword [ebp - 0x1c], 0
lea edi, [eax + 0x10]
mov ecx, edi
mov dword [ebp - 4], edi
call fcn.00404c5a
movzx eax, al
neg eax
push 0
sbb eax, eax
and eax, 0x2000000
push eax
push 3
push 0
push 1
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
xor eax, eax
mov dword [ebp - 0xc], eax
cmp edi, 0xffffffff
jne 0x40a947
call fcn.00408e41
jmp 0x40a96a
push eax
push eax
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x40a960
call fcn.00408e41
mov dword [ebp - 0xc], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
test eax, eax
jns 0x40a987
lea ecx, [ebp - 8]
call fcn.0040411d
push esi
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.0040afcd
jmp 0x40aa43
call fcn.004055dd
xor ecx, ecx
or ecx, dword [ebp - 0x20]
sub eax, ecx
sbb edx, dword [ebp - 0x1c]
cmp edx, 0xc9
jb 0x40aa3b
ja 0x40a9af
cmp eax, 0x2a69c000
jb 0x40aa3b
call fcn.00401371
push eax
lea ecx, [ebp - 0x10]
call fcn.00401791
lea edx, [ebp - 0x10]
lea ecx, [ebp - 4]
call fcn.00411be7
mov edi, dword [ebp - 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 8]
call fcn.0040411d
push esi
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.0040afcd
movzx ecx, byte [0x443f39]
neg ecx
sbb ecx, ecx
and ecx, 0x443f40
je 0x40aa31
xor eax, eax
mov dword [ebp - 0x30], ecx
inc eax
mov dword [ebp - 0x2c], 7
push eax
push ecx
mov dword [ebp - 0x28], eax
call fcn.00406205
push edi
push dword [ebp - 4]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x30]
push str._CrashHandler__Deleted_Stale_Crash__filename__s__custom_data__s_
push eax
call fcn.00403086
add esp, 0x10
lea ecx, [edi - 0x10]
call fcn.004015ce
jmp 0x40aa43
lea ecx, [ebp - 8]
call fcn.0040411d
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.004015ce
mov esi, dword [ebp - 8]
cmp esi, dword [ebx]
jne 0x40a8f6
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40c168
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
push 9
mov esi, ecx
lea edi, [ebp - 0x44]
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [ebp - 0x40]
lea ebx, [edi - 1]
not ebx
and ebx, dword [ebp + 8]
je 0x40c1b9
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
lea ecx, [esi + 0xc]
call fcn.0040cbaa
cmp eax, dword [esi + 0xc]
je 0x40c1ad
cmp ebx, dword [eax + 0x10]
jae 0x40c1b0
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0xc]
jne 0x40c1c2
sub ebx, edi
jne 0x40c194
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
push 7
lea esi, [eax + 0x14]
pop ecx
lea edi, [ebp - 0x20]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x14]
add ecx, ebx
cmp ecx, dword [ebp + 8]
jbe 0x40c1b9
mov eax, ebx
jmp 0x40c1bb

Function at 0x40c4c1
Capabilities:
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x78
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x74]
push 9
pop ecx
xor eax, eax
mov dword [ebp - 0xc], esi
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x30]
and dword [esi + 8], eax
rep stosd dword es:[edi], eax
push 0x1c
lea eax, [ebp - 0x30]
push eax
push 0
jmp 0x40c5c7
cmp dword [ebp - 0x20], 0x1000
jne 0x40c5b8
mov eax, dword [ebp - 0xc]
lea esi, [ebp - 0x30]
push 7
pop ecx
lea edi, [ebp - 0x50]
add eax, 0xc
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x30]
lea ecx, [ebp - 4]
push ecx
mov ecx, eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], edi
call fcn.0040cbaa
mov esi, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp esi, eax
je 0x40c553
cmp edi, dword [esi + 0x10]
jae 0x40c595
push 0x30
call fcn.00404707
mov edx, eax
xor eax, eax
pop ecx
mov ecx, dword [ebp - 4]
push 7
lea edi, [edx + 0x10]
mov dword [edi], ecx
add edi, 4
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [edx + 8], eax
lea eax, [edx + 0x10]
push edx
push eax
push esi
lea eax, [ebp - 0x14]
mov word [edx + 0xc], 0
push eax
call fcn.0040d02e
mov esi, dword [ebp - 0x14]
lea edi, [esi + 0x14]
push 7
pop ecx
lea esi, [ebp - 0x50]
rep movsd dword es:[edi], dword [esi]
test byte [ebp - 0x1c], 0x70
je 0x40c5b8
mov ecx, dword [ebp - 0x24]
xor edx, edx
mov eax, ecx
div dword [ebp - 0x70]
mov edx, dword [ebp - 0xc]
add dword [edx + 8], eax
jmp 0x40c5bb
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x30]
add eax, ecx
lea ecx, [ebp - 0x30]
push 0x1c
push ecx
push eax
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp eax, 0x1c
je 0x40c50e
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x40f7bf
Capabilities:
Create pipe

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x84], edi
jne 0x40f85c
push edi
xor ebx, ebx
mov dword [esi + 0x84], 2
inc ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 0x44], eax
test eax, eax
je 0x40f85c
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x9c], eax
test eax, eax
je 0x40f85c
push 4
push 0xffffffffffffffff
push esi
push 0x40ff76
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
test eax, eax
je 0x40f85c
lea eax, [esi + 0x20]
cmp dword [eax + 0x14], 8
jb 0x40f827
mov eax, dword [eax]
push dword [esi + 0x38]
push edi
push 0x40
push 0x40
push ebx
push 6
push 0x40080003
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [esi + 0x3c], eax
cmp eax, 0xffffffff
je 0x40f85c
push dword [esi + 0x9c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x40f862
mov dword [esi + 0x84], ebx
xor al, al
pop edi
pop esi
pop ebx
ret
mov al, bl
jmp 0x40f85e

Function at 0x40f96e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
push 0x2c
push ebx
mov dword [ebp - 8], ebx
lea esi, [edi + 0xa0]
push esi
call fcn.00417950
add esp, 0xc
lea eax, [edi + 0x8c]
push eax
lea eax, [ebp - 8]
push eax
push 0x2c
push esi
push dword [edi + 0x3c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
setne cl
mov byte [ebp - 1], cl
test eax, eax
jne 0x40f9bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov cl, byte [ebp - 1]
mov ebx, eax
test cl, cl
jne 0x40f9d4
cmp ebx, 0x3e5
je 0x40f9d4
push 0xa
mov ecx, edi
call fcn.0040fbff
jmp 0x40f9de
mov dword [edi + 0x84], 5
pop edi
pop esi
pop ebx
leave
ret

Function at 0x411608
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [esp + 0x13]
mov byte [esp + 0x13], 0
push eax
push 0x4116ce
mov edi, ecx
call dword [sym.imp.USER32.dll_EnumWindows]
call fcn.00401371
push eax
lea ecx, [esp + 0x18]
call fcn.00401791
push dword [ebp + 0xc]
lea eax, [esp + 0x18]
push dword [ebp + 8]
push str._s_s.dmp
push eax
call fcn.0040894b
lea ecx, [esp + 0x24]
call fcn.00408d35
mov bl, byte [esp + 0x23]
lea eax, [esp + 0x24]
mov dl, byte [edi]
mov cl, bl
push 0
push eax
call fcn.00411dcf
add esp, 0x18
cmp byte [edi + 1], 0
je 0x4116b9
push dword [ebp + 0xc]
lea eax, [esp + 0x18]
push dword [ebp + 8]
push str._s_s_full.dmp
push eax
call fcn.0040894b
add esp, 0x10
lea ecx, [esp + 0x14]
call fcn.00408d35
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.00404c1e
test al, al
je 0x4116bd
mov dl, byte [edi]
lea eax, [esp + 0x14]
push 0
push eax
mov cl, bl
call fcn.00411dcf
pop ecx
pop ecx
jmp 0x4116bd
mov esi, dword [esp + 0x14]
lea ecx, [esi - 0x10]
call fcn.004015ce
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4119ff
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov bl, cl
mov dword [ebp - 0x18], edx
push edi
mov byte [ebp - 1], bl
call fcn.00412b13
call fcn.00401371
push eax
test bl, bl
je 0x411a63
lea ecx, [ebp - 0xc]
call fcn.00401791
lea eax, [ebp - 0xc]
push eax
xor eax, eax
lea ecx, [ebp - 0x10]
inc eax
push eax
push str.GoogleCrashReports
mov dword [ebp - 0x14], eax
call fcn.00403f5a
push 0x26
mov edx, eax
pop ecx
call fcn.00412415
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.004015ce
mov eax, dword [ebp - 0xc]
xor ebx, ebx
mov edi, dword [ebp - 8]
mov dword [ebp - 0x10], ebx
jmp 0x411aa6
lea ecx, [ebp - 8]
call fcn.00401791
lea eax, [ebp - 8]
push eax
push 1
push str.GoogleCrashReports
lea ecx, [ebp - 0x14]
call fcn.00403f5a
push 0x1c
mov edx, eax
pop ecx
call fcn.00412415
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.004015ce
mov edi, dword [ebp - 8]
xor ebx, ebx
mov eax, edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 2
lea ecx, [eax - 0x10]
call fcn.004017ba
cmp dword [ebp - 0x10], 0
lea esi, [eax + 0x10]
mov dword [ebp - 8], esi
je 0x411ac2
lea ecx, [edi - 0x10]
call fcn.004015ce
cmp dword [ebp - 0x14], 0
je 0x411ad3
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.004015ce
cmp byte [ebp - 1], 0
je 0x411af4
cmp dword [esi - 0xc], ebx
je 0x411af9
lea ecx, [ebp - 8]
call fcn.00411875
mov esi, dword [ebp - 8]
test eax, eax
jns 0x411af4
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp dword [esi - 0xc], ebx
jne 0x411b24
lea ecx, [ebp - 0x14]
call fcn.00404a2b
push eax
lea ecx, [ebp - 8]
call fcn.004015e6
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.004015ce
mov esi, dword [ebp - 8]
cmp dword [esi - 0xc], ebx
jne 0x411b24
mov ebx, 0x8004fffc
jmp 0x411b36
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x411b36
lea ecx, [ebp - 8]
push ecx
mov ecx, eax
call fcn.004015e6
lea ecx, [esi - 0x10]
call fcn.004015ce
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x411c5b
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
push esi
mov esi, ecx
movzx ecx, byte [0x443f39]
neg ecx
push edi
sbb ecx, ecx
and ecx, 0x443f40
je 0x411ca5
or dword [ebp - 0x18], 0xffffffff
push 0xffffffffffffffff
push ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], 7
call fcn.00406205
push dword [esi]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push str._StartProcessWithNoExceptionHandler___s_
push eax
call fcn.00403086
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.00408d81
push 0x43d9b0
lea ecx, [ebp - 8]
call fcn.00403f5a
push str.GOOGLE_UPDATE_NO_CRASH_HANDLER
lea ecx, [ebp - 4]
call fcn.00403f5a
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040ea8a
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.004015ce
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.004015ce
xor ebx, ebx
mov edi, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov dword [ebp - 8], eax
test eax, eax
je 0x411d8f
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.0040eabb
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov edi, dword [ebp - 0x1c]
cmp edi, dword [ebp - 0x18]
je 0x411d8f
push 0x40
lea eax, [ebp - 0x74]
mov dword [ebp - 0x78], 0x44
push ebx
push eax
call fcn.00417950
xor eax, eax
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esi]
cmp dword [eax - 4], 1
jle 0x411d5c
push dword [eax - 0xc]
mov ecx, esi
call fcn.00401910
mov eax, dword [esi]
mov edi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x78]
push ecx
push ebx
push edi
push 0x400
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x411d8f
push dword [ebp - 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x2c]
call esi
jmp 0x411d96
call fcn.00408e41
mov ebx, eax
test edi, edi
je 0x411dab
mov ecx, dword [ebp - 0x14]
sub ecx, edi
and ecx, 0xfffffffe
push ecx
push edi
call fcn.004046db
pop ecx
pop ecx
mov eax, dword [ebp - 0x10]
push dword [eax + 4]
lea eax, [ebp - 0x10]
push eax
mov ecx, eax
call fcn.00408dee
push 0x18
push dword [ebp - 0x10]
call fcn.004046db
pop ecx
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x413473
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x442008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x200
xor ebx, ebx
lea eax, [ebp - 0x204]
push ebx
push eax
call fcn.00417950
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]
test eax, eax
je 0x4134d7
push ecx
lea ecx, [ebp - 0x204]
call fcn.00404e06
pop ecx
test al, al
je 0x4134d7
mov al, 1
jmp 0x41351c
push esi
lea eax, [ebp - 0x208]
mov dword [ebp - 0x208], ebx
push eax
push 0x64
push ebx
call dword [sym.imp.NETAPI32.dll_NetWkstaGetInfo]
mov esi, dword [ebp - 0x208]
test eax, eax
jne 0x413512
cmp dword [esi + 8], ebx
je 0x413512
push str.google
push dword [esi + 8]
call fcn.004267a4
pop ecx
pop ecx
test eax, eax
jne 0x413512
mov bl, 1
push esi
call dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
mov al, bl
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00416dd6
leave
ret

Function at 0x41414c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov esi, edx
mov ebx, ecx
call fcn.00401371
push eax
lea ecx, [ebp - 4]
call fcn.00401791
push dword [esi]
lea eax, [ebp - 4]
push str.__s__r_n
push eax
call fcn.00408975
mov esi, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [esi]
mov eax, dword [ecx]
mov dword [ebp + 8], eax
cmp eax, ecx
je 0x4141ad
push dword [eax + 0x14]
push dword [eax + 0x10]
lea eax, [ebp - 4]
push str._s_s_r_n
push eax
call fcn.00408975
add esp, 0x10
lea ecx, [ebp + 8]
call fcn.0040411d
mov eax, dword [ebp + 8]
cmp eax, dword [esi]
jne 0x414187
mov esi, dword [ebp - 4]
lea ecx, [ebp - 8]
xor edi, edi
push edi
mov dword [ebp - 8], edi
mov eax, dword [esi - 0xc]
push ecx
add eax, eax
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4141d3
call fcn.00408e41
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.004015ce
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4145fe
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
xor edi, edi
mov byte [ebp - 1], cl
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call fcn.004141e2
test eax, eax
js 0x414720
mov ebx, dword [ebp - 0x18]
cmp dword [ebp - 0x1c], ebx
je 0x414720
call fcn.00412b13
cmp byte [ebp - 1], 0
mov eax, str.HKLMSoftwareGoogleUpdate_
jne 0x414646
mov eax, str.HKCUSoftwareGoogleUpdate_
push eax
lea ecx, [ebp - 8]
call fcn.00403f5a
push 0x43e990
lea ecx, [ebp - 0xc]
call fcn.00403f5a
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 8]
lea ecx, [ebp - 0x10]
call fcn.00403856
pop ecx
push eax
lea ecx, [ebp - 8]
call fcn.004015e6
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.004015ce
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.004015ce
mov esi, dword [ebp - 8]
mov ecx, esi
call fcn.00408362
test al, al
jne 0x4146a7
mov cl, byte [ebp - 1]
mov dl, 1
call fcn.00414732
mov edi, eax
jmp 0x414712
push 1
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0x43b6f0
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], 0x200
call fcn.00407eb2
mov edi, eax
test edi, edi
js 0x414703
mov eax, dword [ebp - 0x1c]
xor edi, edi
sub ebx, eax
sar ebx, 2
test ebx, ebx
je 0x4146f7
push 0
push 0
push 0
push 0
push dword [eax + edi*4]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x41471c
mov eax, dword [ebp - 0x1c]
inc edi
cmp edi, ebx
jb 0x4146d7
mov cl, byte [ebp - 1]
xor dl, dl
call fcn.00414732
mov edi, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0x43b6f0
call fcn.00407d55
lea ecx, [esi - 0x10]
call fcn.004015ce
jmp 0x414723
xor edi, edi
jmp 0x414703
xor edi, edi
inc edi
lea ecx, [ebp - 0x1c]
call fcn.00404ba8
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4148e5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x442008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov bl, cl
push esi
push edi
test bl, bl
je 0x414911
call fcn.004154f9
test al, al
je 0x414911
mov eax, 0x80004005
jmp 0x414a71
xor esi, esi
mov dword [ebp - 0x1c], 0x43c4f8
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x18], esi
mov cl, bl
call fcn.0041447d
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
call dword [eax + 4]
mov dword [ebp - 0x2c], 0x43b6f0
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], 0x200
call fcn.00412b13
mov eax, str.HKLMSoftwareGoogleUpdate_
test bl, bl
jne 0x414954
mov eax, str.HKCUSoftwareGoogleUpdate_
push esi
push ecx
push 0xf003f
push ecx
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00407e00
mov edi, eax
test edi, edi
js 0x414a4f
push esi
push esi
push esi
push esi
push 0x43e990
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41498d
mov edi, esi
jmp 0x414a4f
call fcn.00401371
push eax
lea ecx, [ebp - 0x20]
call fcn.00401791
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
js 0x4149d5
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x30]
call fcn.004037dc
push eax
lea ecx, [ebp - 0x20]
call fcn.004015e6
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.004015ce
mov eax, esi
test eax, eax
mov esi, dword [ebp - 0x20]
js 0x414a45
xor edi, edi
lea ecx, [ebp - 0x2c]
inc edi
push edi
push esi
push 0x43e990
call fcn.004082fc
test eax, eax
js 0x414a45
mov ecx, 0x442c90
call fcn.004099f9
lea ecx, [ebp - 0x2c]
call fcn.0041488e
xor eax, eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
call fcn.004141e2
test eax, eax
js 0x414a3b
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
je 0x414a3b
sub esp, 0xc
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.0041366e
mov cl, bl
call fcn.004144de
add esp, 0xc
mov edi, eax
lea ecx, [ebp - 0x10]
call fcn.00404ba8
jmp 0x414a47
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.004015ce
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x43b6f0
call fcn.00407d55
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
call dword [eax + 8]
lea ecx, [ebp - 0x1c]
call fcn.00407be4
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00416dd6
leave
ret
Function at 0x414be7
Capabilities:
Identify system language via api

Disassembly:
push ebx
mov ebx, ecx
push esi
test dl, dl
je 0x414bf7
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jmp 0x414bfd
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
xor edx, edx
movzx esi, ax
mov ecx, 0x409
push edi
mov edi, edx
mov eax, ecx
cmp si, ax
je 0x414c25
inc edi
imul eax, edi, 0x1a
movzx eax, word [eax + 0x43a5f0]
test ax, ax
jne 0x414c0c
mov esi, ecx
jmp 0x414c28
movzx esi, si
pop edi
cmp cx, si
je 0x414c45
inc edx
imul eax, edx, 0x1a
movzx ecx, word [eax + 0x43a5f0]
test cx, cx
jne 0x414c29
mov eax, 0x4390d8
jmp 0x414c4d
imul eax, edx, 0x1a
add eax, 0x43a5f2
push eax
mov ecx, ebx
call fcn.00403f5a
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x4158c4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0x442c1c
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp + 8]
push 0x442c1c
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x1c]
and dword [esi + 0x18], 0
and dword [esi + 0x1c], 0
mov dword [ebp + 8], eax
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp + 8], 0
jne 0x415906
test ebx, ebx
je 0x415964
lea ebx, [edi + 0x1c]
mov ecx, edi
push ebx
push str.Counts
call fcn.0041589b
test al, al
je 0x415964
push dword [esi + 4]
lea ecx, [ebp - 4]
call fcn.00405321
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x10]
xor edi, edi
mov edx, esi
push eax
mov ecx, ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
call fcn.00415b8d
mov eax, dword [ebp + 8]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
adc dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
pop ecx
push 8
push eax
push 3
push edi
push esi
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [esi - 0x10]
call fcn.004015ce
pop edi
pop esi
pop ebx
leave
ret 4