joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10013a90
Capabilities:
Terminate process

Disassembly:
push 0x81c
mov eax, 0x1002ddab
call fcn.10016e35
mov ebx, ecx
xor ecx, ecx
lea edi, [ebx + 0x40]
mov esi, ecx
mov dword [ebp - 0x818], ecx
mov dword [ebp - 0x814], ecx
cmp dword [edi], ecx
je 0x10013bcc
push 0x10
push ecx
lea eax, [ebp - 0x828]
push eax
call fcn.10019ba0
add esp, 0xc
lea eax, [ebp - 0x828]
push eax
call dword [sym.imp.oleaut32.dll_VariantClear]
push esi
push str.Caption
push dword [edi]
lea eax, [ebp - 0x828]
mov dword [ebp - 4], esi
push eax
push 2
push ebx
call fcn.10024887
add esp, 0x18
test eax, eax
jne 0x10013b31
push dword [ebp - 0x820]
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x810]
push 0x400
push eax
call fcn.10024887
add esp, 0xc
lea eax, [ebp - 0x810]
push eax
push esi
call dword [sym.imp.user32.dll_FindWindowW]
mov dword [ebp - 0x814], eax
mov eax, dword [ebx]
lea ecx, [ebp - 0x818]
push ecx
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x100304d0]
mov ecx, ebx
call esi
mov esi, eax
test esi, esi
js 0x10013b70
cmp dword [ebp - 0x818], 0
jne 0x10013b70
push 0
push str.Quit
push dword [edi]
push 0
push 1
push ebx
call fcn.10024887
add esp, 0x18
mov esi, eax
mov ecx, edi
call fcn.10009b23
lea eax, [ebp - 0x828]
push eax
call dword [sym.imp.oleaut32.dll_VariantCopy]
mov eax, dword [ebp - 0x814]
test eax, eax
je 0x10013bcc
cmp dword [ebp - 0x818], 0
jne 0x10013bcc
test esi, esi
jns 0x10013bcc
and dword [ebp - 0x814], 0
lea ecx, [ebp - 0x814]
push ecx
push eax
call dword [sym.imp.user32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x814]
push 1
push 0x1fffff
call dword [sym.imp.kernel32.dll_OpenProcess]
push 1
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
mov eax, esi
call fcn.10016ddf
ret
Function at 0x10015057
Capabilities:
Enumerate processes

Disassembly:
push 0x238
mov eax, 0x1002dffa
call fcn.10016e35
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x10015074
xor eax, eax
jmp 0x10015151
xor edi, edi
push edi
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0x1001514f
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push esi
call sub.kernel32.dll_Process32FirstW
jmp 0x10015125
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x244]
call fcn.1000127b
push ebx
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], edi
call fcn.1000127b
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 1
call fcn.10001cc6
lea ecx, [ebp - 0x240]
call fcn.10001cc6
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.10024887
pop ecx
pop ecx
mov ecx, dword [ebp - 0x240]
lea ecx, [ecx - 0x10]
test al, al
jne 0x1001512f
call fcn.10001eb4
mov ecx, dword [ebp - 0x244]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.10001eb4
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.kernel32.dll_Process32NextW
test eax, eax
jne 0x100150a4
jmp 0x10015148
mov edi, dword [ebp - 0x234]
call fcn.10001eb4
mov ecx, dword [ebp - 0x244]
add ecx, 0xfffffff0
call fcn.10001eb4
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, edi
call fcn.10016ddf
ret

Function at 0x10024887
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x10024896
pop dword [ebp - 0x10]
mov eax, 0xa4c705fe
add eax, 0x6b3b4298
sub dword [ebp - 0x10], eax
push 0x40
push 0x1000
push 0x3d7b2
push 0
mov eax, 0x4662caea
add eax, 0xc9a03672
add eax, dword [ebp - 0x10]
call dword [eax]
mov ecx, 0xf8aef0ed
add ecx, 0x7514bff
mov ebx, eax
mov edx, 0x1004bc00
add edx, dword [ebp - 0x10]
mov edi, 0xe025bf50
sub dword [ebp - 8], esi
mov esi, dword [edx]
add esi, edi
add dword [ebp - 4], edx
mov dword [ebx], esi
xor dword [ebp - 8], esi
add ebx, 0x46df85af
add ebx, 0xb9207a55
add edx, 0x5428a71e
add edx, 0xabd758e6
loop 0x100248e9
add eax, 0x2b52ec11
add eax, 0xd4adfa72
xor ebx, ebx
add ebx, eax
add eax, 0x2d16dd4c
sub eax, 0x2d16dd47
mov ecx, 0x747847b9
sub ecx, 0x647847b9
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x10006fb3
Capabilities:
Check if file exists

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x10017104]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [ebp + 8]
mov edx, 0x104
push ebx
push esi
push edi
push ecx
push ecx
xor edi, edi
mov dword [esp + 0x1c], eax
push ecx
lea ecx, [esp + 0x24]
mov dword [eax], edi
mov dword [eax + 4], edi
call fcn.1000566c
push 0x10002ec4
lea ecx, [esp + 0x1c]
call fcn.100055c2
lea eax, [esp + 0x18]
push eax
push edi
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
mov esi, eax
test esi, esi
jne 0x10007037
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x10007061
mov ecx, dword [ebp + 4]
mov edx, 0xc9
push 0x10002e60
call fcn.10006bc1
mov edi, eax
jmp 0x10007061
lea edx, [esp + 0x10]
mov dword [esp + 0x10], edi
mov ecx, esi
call fcn.10006e87
mov ebx, eax
test ebx, ebx
jns 0x10007067
mov ecx, dword [ebp + 4]
mov edx, 0xcf
push ebx
push 0x10002e60
call fcn.10006b73
mov edi, ebx
test esi, esi
je 0x1000707b
jmp 0x10007075
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
push esi
call fcn.10006ce8
mov ecx, dword [esp + 0x224]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10013d50
mov esp, ebp
pop ebp
ret 8

Function at 0x1000c1aa
Capabilities:
Create thread
Resume thread

Disassembly:
mov edi, edi
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push edi
push edi
push edi
mov dword [esi], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi], eax
test eax, eax
je 0x1000c200
lea eax, [esi + 4]
push eax
call dword [sym.imp.RPCRT4.dll_UuidCreate]
push edi
push 4
push esi
push 0x1000c240
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x18], eax
test eax, eax
je 0x1000c200
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x7d0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop edi
mov eax, esi
pop esi
ret

Function at 0x1000d12e
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [0x10017694]
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
mov esi, eax
push esi
push 0x1000cfd0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x1f4
push esi
mov dword [edi + 8], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 4
Function at 0x1000db00
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push dword [0x1001768c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1000db1b
add eax, 4
jmp 0x1000db6d
push ebx
push edi
push 0x44
call fcn.1001356c
mov dword [ebp - 4], eax
pop ecx
test eax, eax
je 0x1000db5e
push ecx
mov ecx, eax
call fcn.1000a3bc
mov edi, eax
lea ebx, [edi + 4]
test edi, edi
je 0x1000db63
mov ecx, dword [ebx]
push esi
push ebx
mov esi, dword [ecx + 4]
mov ecx, esi
call dword [0x10018308]
call esi
push edi
push dword [0x1001768c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
jmp 0x1000db63
push 4
xor edi, edi
pop ebx
neg edi
sbb edi, edi
and edi, ebx
mov eax, edi
pop edi
pop ebx
leave
ret 4
Function at 0x10010bc1
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x1c
mov eax, 0x100153f4
call fcn.1001426c
mov edi, edx
mov dword [ebp - 0x18], edi
mov ebx, ecx
call sub.ntdll.dll_RtlIsMultiUsersInSessionSku
xor esi, esi
test al, al
je 0x10010c96
mov edi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], esi
mov byte [ebp - 4], 1
cmp ebx, 0x80000001
jne 0x10010c3b
lea ecx, [ebp - 0x28]
call fcn.1000f2b8
lea ecx, [ebp - 0x20]
cmp ecx, eax
je 0x10010c12
push eax
call fcn.1000f837
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x10010c22
call fcn.1000e74d
mov eax, dword [ebp - 0x20]
xor ebx, ebx
test eax, eax
setne bl
test eax, eax
je 0x10010c65
cmp dword [eax], 0
je 0x10010c65
neg ebx
sbb ebx, ebx
and ebx, dword [eax]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push esi
push dword [ebp - 0x18]
push ebx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov esi, eax
mov dword [ebp - 4], 6
test edi, edi
je 0x10010c61
mov ecx, edi
call fcn.1000e74d
mov eax, esi
jmp 0x10010ca6
mov dword [ebp - 4], 3
test edi, edi
je 0x10010c77
mov ecx, edi
call fcn.1000e74d
push 2
pop eax
jmp 0x10010ca6
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push esi
push edi
push ebx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
call fcn.100141c8
ret 0x10

Function at 0x10013214
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
mov ch, 0x7c
stc
invalid
pop ebp
push ds
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x1c]
lodsd eax, dword [esi]
cmp byte [eax + 0x1c], 0x18
je 0x1001322b
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.10011067
arpl word [edx - 0x41], bp
jbe 0x100131c4
clc
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
call fcn.10011067
xchg esp, eax
or esi, eax
imul ecx, dword [ecx - 0x75], 0x34
mov eax, dword [ebx]
idiv dword [eax + 0x50746547]
fucompi st(0)
pop ss
fdivp st(7)
call dword [ecx + ecx - 0x74b6943a]
xor al, 0x8b
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x10013254
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x10013254
call fcn.10011067
xchg esp, eax
jle 0x1001324a
imul ecx, dword [ebx - 0x20fcdba6], 0x66
mov ecx, dword [ebx + ecx*2]
mov ebx, dword [edx + 0x1c]
add ebx, edi
mov eax, dword [ebx + ecx*4]
add eax, edi
push eax
call fcn.10011067
or dh, byte [ebp + 0x75ffc861]
or bh, bh
jne 0x1001329d
push dword [ebp]
call fcn.10011867
add byte [ebx + ecx - 1], dh
call dword ss:[sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [esi], 0
pop esi
ret
invalid
Function at 0x100142e0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x1001431e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x10014316
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x10014320
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x10014306
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10014400
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001442f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001442f
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
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.1809dcc2
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.1809dcc2
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.1809dcc2
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.1809dcc2
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.1809dcc2
mov ecx, esi
call fcn.18031846
jmp 0x180319b3
cmp eax, 0x42
jne 0x1803190c
push 4
lea ecx, [esi + 0x24]
call fcn.1809dcc2
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.1809dcc2
mov bl, 1
mov ecx, esi
call fcn.18031846
test bl, bl
je 0x180319b3
mov ecx, esi
call fcn.1809dcc2
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.1809dcc2
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 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.1809dcc2
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.1809dcc2
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.1809dcc2
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.1809dcc2
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.1809dcc2
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.1809dcc2
pop esi
mov eax, ebx
pop ebx
ret