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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x441008]
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 0x408402
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.0041682f
leave
ret

Function at 0x408915
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x441008]
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.004173b0
mov esi, dword [0x442d14]
lea ecx, [ebp - 0x80c]
xor edx, edx
call fcn.00404996
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.0040914b
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 0x4089c9
sub eax, 1
jne 0x4089ba
int3
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
inc eax
call fcn.0041682f
leave
ret
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x40914b
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 0x4091ba
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 0x409196
push ebx
push edi
push eax
call fcn.00418800
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 0x4091b1
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 0x40a1e3
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 0x40a361
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.00404c59
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 0x40a24f
call fcn.0040865d
jmp 0x40a272
push eax
push eax
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x40a268
call fcn.0040865d
mov dword [ebp - 0xc], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
test eax, eax
jns 0x40a28f
lea ecx, [ebp - 8]
call fcn.0040411c
push esi
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.0040a8d5
jmp 0x40a34b
call fcn.004055dc
xor ecx, ecx
or ecx, dword [ebp - 0x20]
sub eax, ecx
sbb edx, dword [ebp - 0x1c]
cmp edx, 0xc9
jb 0x40a343
ja 0x40a2b7
cmp eax, 0x2a69c000
jb 0x40a343
call fcn.00401371
push eax
lea ecx, [ebp - 0x10]
call fcn.00401791
lea edx, [ebp - 0x10]
lea ecx, [ebp - 4]
call fcn.00411673
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.0040411c
push esi
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.0040a8d5
movzx ecx, byte [0x442d19]
neg ecx
sbb ecx, ecx
and ecx, 0x442d20
je 0x40a339
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.0040619a
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 0x40a34b
lea ecx, [ebp - 8]
call fcn.0040411c
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.004015ce
mov esi, dword [ebp - 8]
cmp esi, dword [ebx]
jne 0x40a1fe
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40bbf5
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 0x40bc46
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
lea ecx, [esi + 0xc]
call fcn.0040c637
cmp eax, dword [esi + 0xc]
je 0x40bc3a
cmp ebx, dword [eax + 0x10]
jae 0x40bc3d
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0xc]
jne 0x40bc4f
sub ebx, edi
jne 0x40bc21
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 0x40bc46
mov eax, ebx
jmp 0x40bc48

Function at 0x40bf4e
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 0x40c054
cmp dword [ebp - 0x20], 0x1000
jne 0x40c045
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.0040c637
mov esi, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp esi, eax
je 0x40bfe0
cmp edi, dword [esi + 0x10]
jae 0x40c022
push 0x30
call fcn.00404706
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.0040cabb
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 0x40c045
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 0x40c048
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 0x40bf9b
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x40f24c
Capabilities:
Create pipe

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x84], edi
jne 0x40f2e9
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 0x40f2e9
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x9c], eax
test eax, eax
je 0x40f2e9
push 4
push 0xffffffffffffffff
push esi
push 0x40fa03
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
test eax, eax
je 0x40f2e9
lea eax, [esi + 0x20]
cmp dword [eax + 0x14], 8
jb 0x40f2b4
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 0x40f2e9
push dword [esi + 0x9c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x40f2ef
mov dword [esi + 0x84], ebx
xor al, al
pop edi
pop esi
pop ebx
ret
mov al, bl
jmp 0x40f2eb

Function at 0x40f3fb
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.004173b0
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 0x40f44a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov cl, byte [ebp - 1]
mov ebx, eax
test cl, cl
jne 0x40f461
cmp ebx, 0x3e5
je 0x40f461
push 0xa
mov ecx, edi
call fcn.0040f68c
jmp 0x40f46b
mov dword [edi + 0x84], 5
pop edi
pop esi
pop ebx
leave
ret

Function at 0x411094
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 0x41115a
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.00408167
lea ecx, [esp + 0x24]
call fcn.00408551
mov bl, byte [esp + 0x23]
lea eax, [esp + 0x24]
mov dl, byte [edi]
mov cl, bl
push 0
push eax
call fcn.0041185b
add esp, 0x18
cmp byte [edi + 1], 0
je 0x411145
push dword [ebp + 0xc]
lea eax, [esp + 0x18]
push dword [ebp + 8]
push str._s_s_full.dmp
push eax
call fcn.00408167
add esp, 0x10
lea ecx, [esp + 0x14]
call fcn.00408551
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.00404c1d
test al, al
je 0x411149
mov dl, byte [edi]
lea eax, [esp + 0x14]
push 0
push eax
mov cl, bl
call fcn.0041185b
pop ecx
pop ecx
jmp 0x411149
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 0x41148b
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.0041259f
call fcn.00401371
push eax
test bl, bl
je 0x4114ef
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.00403f59
push 0x26
mov edx, eax
pop ecx
call fcn.00411ea1
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 0x411532
lea ecx, [ebp - 8]
call fcn.00401791
lea eax, [ebp - 8]
push eax
push 1
push str.GoogleCrashReports
lea ecx, [ebp - 0x14]
call fcn.00403f59
push 0x1c
mov edx, eax
pop ecx
call fcn.00411ea1
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 0x41154e
lea ecx, [edi - 0x10]
call fcn.004015ce
cmp dword [ebp - 0x14], 0
je 0x41155f
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.004015ce
cmp byte [ebp - 1], 0
je 0x411580
cmp dword [esi - 0xc], ebx
je 0x411585
lea ecx, [ebp - 8]
call fcn.00411301
mov esi, dword [ebp - 8]
test eax, eax
jns 0x411580
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp dword [esi - 0xc], ebx
jne 0x4115b0
lea ecx, [ebp - 0x14]
call fcn.00404a2a
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 0x4115b0
mov ebx, 0x8004fffc
jmp 0x4115c2
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4115c2
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 0x4116e7
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 [0x442d19]
neg ecx
push edi
sbb ecx, ecx
and ecx, 0x442d20
je 0x411731
or dword [ebp - 0x18], 0xffffffff
push 0xffffffffffffffff
push ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], 7
call fcn.0040619a
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.0040859d
push 0x43cb48
lea ecx, [ebp - 8]
call fcn.00403f59
push str.GOOGLE_UPDATE_NO_CRASH_HANDLER
lea ecx, [ebp - 4]
call fcn.00403f59
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040e517
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 0x41181b
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.0040e548
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov edi, dword [ebp - 0x1c]
cmp edi, dword [ebp - 0x18]
je 0x41181b
push 0x40
lea eax, [ebp - 0x74]
mov dword [ebp - 0x78], 0x44
push ebx
push eax
call fcn.004173b0
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 0x4117e8
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 0x41181b
push dword [ebp - 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x2c]
call esi
jmp 0x411822
call fcn.0040865d
mov ebx, eax
test edi, edi
je 0x411837
mov ecx, dword [ebp - 0x14]
sub ecx, edi
and ecx, 0xfffffffe
push ecx
push edi
call fcn.004046da
pop ecx
pop ecx
mov eax, dword [ebp - 0x10]
push dword [eax + 4]
lea eax, [ebp - 0x10]
push eax
mov ecx, eax
call fcn.0040860a
push 0x18
push dword [ebp - 0x10]
call fcn.004046da
pop ecx
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x412ecc
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x441008]
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.004173b0
add esp, 0xc
mov dword [ebp - 0x20c], pe_nt_image_headers32
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 0x412f30
push ecx
lea ecx, [ebp - 0x204]
call fcn.00404e05
pop ecx
test al, al
je 0x412f30
mov al, 1
jmp 0x412f75
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 0x412f6b
cmp dword [esi + 8], ebx
je 0x412f6b
push str.google
push dword [esi + 8]
call fcn.0042416c
pop ecx
pop ecx
test eax, eax
jne 0x412f6b
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.0041682f
leave
ret

Function at 0x413ba5
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.00408191
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 0x413c06
push dword [eax + 0x14]
push dword [eax + 0x10]
lea eax, [ebp - 4]
push str._s_s_r_n
push eax
call fcn.00408191
add esp, 0x10
lea ecx, [ebp + 8]
call fcn.0040411c
mov eax, dword [ebp + 8]
cmp eax, dword [esi]
jne 0x413be0
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 0x413c2c
call fcn.0040865d
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.004015ce
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x414057
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.00413c3b
test eax, eax
js 0x414179
mov ebx, dword [ebp - 0x18]
cmp dword [ebp - 0x1c], ebx
je 0x414179
call fcn.0041259f
cmp byte [ebp - 1], 0
mov eax, str.HKLMSoftwareGoogleUpdate_
jne 0x41409f
mov eax, str.HKCUSoftwareGoogleUpdate_
push eax
lea ecx, [ebp - 8]
call fcn.00403f59
push 0x43dac8
lea ecx, [ebp - 0xc]
call fcn.00403f59
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.00407b7e
test al, al
jne 0x414100
mov cl, byte [ebp - 1]
mov dl, 1
call fcn.0041418b
mov edi, eax
jmp 0x41416b
push 1
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0x43a948
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], 0x200
call fcn.004076ce
mov edi, eax
test edi, edi
js 0x41415c
mov eax, dword [ebp - 0x1c]
xor edi, edi
sub ebx, eax
sar ebx, 2
test ebx, ebx
je 0x414150
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 0x414175
mov eax, dword [ebp - 0x1c]
inc edi
cmp edi, ebx
jb 0x414130
mov cl, byte [ebp - 1]
xor dl, dl
call fcn.0041418b
mov edi, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0x43a948
call fcn.00407571
lea ecx, [esi - 0x10]
call fcn.004015ce
jmp 0x41417c
xor edi, edi
jmp 0x41415c
xor edi, edi
inc edi
lea ecx, [ebp - 0x1c]
call fcn.00404ba7
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41433e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x441008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov bl, cl
push esi
push edi
test bl, bl
je 0x41436a
call fcn.00414f52
test al, al
je 0x41436a
mov eax, 0x80004005
jmp 0x4144ca
xor esi, esi
mov dword [ebp - 0x1c], 0x43b620
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x18], esi
mov cl, bl
call fcn.00413ed6
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
call dword [eax + 4]
mov dword [ebp - 0x2c], 0x43a948
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], 0x200
call fcn.0041259f
mov eax, str.HKLMSoftwareGoogleUpdate_
test bl, bl
jne 0x4143ad
mov eax, str.HKCUSoftwareGoogleUpdate_
push esi
push ecx
push 0xf003f
push ecx
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040761c
mov edi, eax
test edi, edi
js 0x4144a8
push esi
push esi
push esi
push esi
push 0x43dac8
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4143e6
mov edi, esi
jmp 0x4144a8
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 0x41442e
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 0x41449e
xor edi, edi
lea ecx, [ebp - 0x2c]
inc edi
push edi
push esi
push 0x43dac8
call fcn.00407b18
test eax, eax
js 0x41449e
mov ecx, 0x441a90
call fcn.00409304
lea ecx, [ebp - 0x2c]
call fcn.004142e7
xor eax, eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
call fcn.00413c3b
test eax, eax
js 0x414494
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
je 0x414494
sub esp, 0xc
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.004130c7
mov cl, bl
call fcn.00413f37
add esp, 0xc
mov edi, eax
lea ecx, [ebp - 0x10]
call fcn.00404ba7
jmp 0x4144a0
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.004015ce
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x43a948
call fcn.00407571
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
call dword [eax + 8]
lea ecx, [ebp - 0x1c]
call fcn.00407400
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041682f
leave
ret
Function at 0x414640
Capabilities:
Identify system language via api

Disassembly:
push ebx
mov ebx, ecx
push esi
test dl, dl
je 0x414650
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jmp 0x414656
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 0x41467e
inc edi
imul eax, edi, 0x1a
movzx eax, word [eax + 0x439830]
test ax, ax
jne 0x414665
mov esi, ecx
jmp 0x414681
movzx esi, si
pop edi
cmp cx, si
je 0x41469e
inc edx
imul eax, edx, 0x1a
movzx ecx, word [eax + 0x439830]
test cx, cx
jne 0x414682
mov eax, 0x438338
jmp 0x4146a6
imul eax, edx, 0x1a
add eax, 0x439832
push eax
mov ecx, ebx
call fcn.00403f59
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x41531d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0x441a1c
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp + 8]
push 0x441a1c
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 0x41535f
test ebx, ebx
je 0x4153bd
lea ebx, [edi + 0x1c]
mov ecx, edi
push ebx
push str.Counts
call fcn.004152f4
test al, al
je 0x4153bd
push dword [esi + 4]
lea ecx, [ebp - 4]
call fcn.00405320
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.004155e6
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