joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180909b6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [ecx + 4]
mov edi, dword [ecx]
add eax, edi
cmp dword [ebp - 0xc], eax
jae 0x180909c0
mov dword [ebp - 0xc], eax
add ecx, 0x28
dec edx
jne 0x180909b1
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x9d
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0x25
mov byte [ebp - 0x53], 7
mov byte [ebp - 0x52], 0x16
mov byte [ebp - 0x51], 0x31
mov byte [ebp - 0x50], 0x1b
mov byte [ebp - 0x4f], 0x11
mov byte [ebp - 0x4e], 0x16
mov byte [ebp - 0x4d], 7
mov byte [ebp - 0x4c], 0xf
mov byte [ebp - 0x4b], 0x2b
mov byte [ebp - 0x4a], 0xc
mov byte [ebp - 0x49], 4
mov byte [ebp - 0x48], 0xd
mov byte [ebp - 0x47], 0x62
call fcn.18090782
mov dword [0x8d7dc396], eax
inc ebp
test al, 0x50
call fcn.18090792
mov edi, dword [ebp + 0xc]
push eax
push edi
push dword [ebp + 8]
call fcn.18090747
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xc]
div ecx
test edx, edx
je 0x18090a5a
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x30]
mov dword [ebp + 0xc], ecx
push eax
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], bl
mov byte [ebp - 0x2e], 0x6a
mov byte [ebp - 0x2d], bl
mov byte [ebp - 0x2c], 0xc3
mov byte [ebp - 0x2b], 0xfc
mov byte [ebp - 0x2a], 0xe7
mov byte [ebp - 0x29], 0xe1
mov byte [ebp - 0x28], 0xe0
mov byte [ebp - 0x27], 0xf4
mov byte [ebp - 0x26], 0xf9
mov byte [ebp - 0x25], 0xd4
mov byte [ebp - 0x24], 0xf9
mov byte [ebp - 0x23], 0xf9
mov byte [ebp - 0x22], 0xfa
mov byte [ebp - 0x21], 0xf6
mov byte [ebp - 0x20], 0x95
call fcn.18090792
push eax
push edi
push dword [ebp + 8]
call fcn.18090747
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 0x1c], bl
mov byte [ebp - 0x1b], bl
mov byte [ebp - 0x1a], 0xfb
mov byte [ebp - 0x19], bl
mov byte [ebp - 0x18], 0x52
mov byte [ebp - 0x17], 0x6d
mov byte [ebp - 0x16], 0x76
mov byte [ebp - 0x15], 0x70
mov byte [ebp - 0x14], 0x71
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x68
mov byte [ebp - 0x11], 0x42
mov byte [ebp - 0x10], 0x76
mov byte [ebp - 0xf], 0x61
mov byte [ebp - 0xe], 0x61
mov byte [ebp - 0xd], 4
call fcn.18090792
push eax
push edi
push dword [ebp + 8]
call fcn.18090747
add esp, 0x20
mov dword [ebp - 0xc], eax
call fcn.18090782
dec esp
push 0x2e
adc dword [ebp + 0x5d889445], ecx
xchg esp, eax
push eax
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xd2
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x7b
mov byte [ebp - 0x67], 0x44
mov byte [ebp - 0x66], 0x5f
mov byte [ebp - 0x65], 0x59
mov byte [ebp - 0x64], 0x58
mov byte [ebp - 0x63], 0x4c
mov byte [ebp - 0x62], 0x41
mov byte [ebp - 0x61], 0x7d
mov byte [ebp - 0x60], 0x5f
mov byte [ebp - 0x5f], 0x42
mov byte [ebp - 0x5e], 0x59
mov byte [ebp - 0x5d], 0x48
mov byte [ebp - 0x5c], 0x4e
mov byte [ebp - 0x5b], 0x59
inc ebp
movsd dword es:[edi], dword [esi]
pop ecx
Function at 0x18090b63
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
movsd dword es:[edi], dword [esi]
pop ecx
mov byte [ebp - 0x5a], 0x2d
call fcn.18090792
push eax
push edi
push dword [ebp + 8]
call fcn.18090747
mov dword [ebp - 0xc4], eax
mov byte [ebp - 0x44], bl
lea eax, [ebp - 0x44]
mov byte [ebp - 0x43], bl
push eax
mov byte [ebp - 0x42], 0xfd
mov byte [ebp - 0x41], bl
mov byte [ebp - 0x40], 0x4e
mov byte [ebp - 0x3f], 0x6d
mov byte [ebp - 0x3e], 0x63
mov byte [ebp - 0x3d], 0x66
mov byte [ebp - 0x3c], 0x4e
mov byte [ebp - 0x3b], 0x6b
mov byte [ebp - 0x3a], 0x60
mov byte [ebp - 0x39], 0x70
mov byte [ebp - 0x38], 0x63
mov byte [ebp - 0x37], 0x70
mov byte [ebp - 0x36], 0x7b
mov byte [ebp - 0x35], 0x43
mov byte [ebp - 0x34], 2
call fcn.18090792
push eax
push edi
push dword [ebp + 8]
call fcn.18090747
add esp, 0x20
mov dword [ebp - 0xc8], eax
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0x7b
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0xc3
mov byte [ebp - 0x7f], 0xe1
mov byte [ebp - 0x7e], 0xf0
mov byte [ebp - 0x7d], 0xc9
mov byte [ebp - 0x7c], 0xeb
inc ebp
test bl, ch
Function at 0x180926b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x7cf], 0x4c
mov byte [ebp - 0x7ce], 0x2b
call fcn.18090782
pushfd
invalid

Function at 0x180a2e53
Capabilities:
Check for time delay via gettickcount
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x181cb008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xf003f
xor ebx, ebx
mov esi, ecx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x180a2e8a
call fcn.18013c92
mov ebx, eax
jmp 0x180a2f62
push 0x24
push dword [esi]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x180a2f49
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x180a2ee9
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x180a2f50
cmp eax, 3
je 0x180a2eec
push 0x1c
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.18147220
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x180a2f49
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x180a2f50
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
cmp dword [ebp - 0x1c], 1
mov dword [ebp - 0x24], eax
je 0x180a2f50
call edi
sub eax, dword [ebp - 0x24]
cmp eax, 0x1f40
jae 0x180a2f3a
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1c
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.18147220
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov eax, dword [ebp - 0x1c]
cmp eax, 1
jne 0x180a2f02
jmp 0x180a2f3d
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x180a2f50
mov ebx, 0x800705b4
jmp 0x180a2f50
call fcn.18013c92
mov ebx, eax
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test esi, esi
je 0x180a2f5d
push esi
call edi
push dword [ebp - 0x28]
call edi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18144705
leave
ret

Function at 0x180a2fbe
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x181cb008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 1
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x180a3033
push esi
push edi
push 4
push str.Schedule
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x180a3021
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x180a301f
cmp dword [ebp - 0x1c], 4
je 0x180a301d
cmp dword [ebp - 0x1c], 2
jne 0x180a301f
mov bl, 1
test esi, esi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
je 0x180a302c
push esi
call edi
push dword [ebp - 0x24]
call edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.18144705
leave
ret
Function at 0x180a3414
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push esi
push 0x180a339f
mov eax, dword [esi + 0x20]
mov dword [esi + 0x24], eax
call dword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
je 0x180a34af
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
cmp ecx, eax
je 0x180a34af
sub eax, ecx
mov byte [ebp - 1], 0
push ebx
push edi
sar eax, 2
xor edi, edi
test eax, eax
je 0x180a34a7
xor ebx, ebx
inc ebx
push 0
push 0xf060
push 0x112
push dword [ecx + edi*4]
call dword [sym.imp.USER32.dll_PostMessageW]
test eax, eax
je 0x180a3482
cmp byte [esi + 0x30], 0
je 0x180a347b
mov eax, dword [esi + 0x20]
push ebx
push dword [eax + edi*4]
call dword [sym.imp.USER32.dll_FlashWindow]
mov dl, bl
mov byte [ebp - 1], dl
jmp 0x180a3485
mov dl, byte [ebp - 1]
mov eax, dword [esi + 0x24]
inc edi
mov ecx, dword [esi + 0x20]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x180a344f
test dl, dl
je 0x180a34a7
push dword [ebp + 8]
mov ecx, esi
call fcn.180a3113
test al, al
jne 0x180a34a9
xor bl, bl
pop edi
mov al, bl
pop ebx
jmp 0x180a34b1
xor al, al
pop esi
leave
ret 4

Function at 0x180a354e
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x181cb008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push 0
push 4
mov dword [ebp - 0x24], esi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x2c], ebx
cmp ebx, 0xffffffff
jne 0x180a3581
xor al, al
jmp 0x180a35fa
xor eax, eax
mov dword [ebp - 0x20], 0x1c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Thread32First]
jmp 0x180a35ee
mov eax, dword [ebp - 0x24]
mov esi, dword [esi + 0x10]
cmp esi, dword [eax + 0x14]
je 0x180a35d9
mov ebx, eax
mov eax, dword [esi]
cmp eax, dword [ebp - 0x14]
jne 0x180a35ce
mov eax, dword [ebp - 0x18]
mov ecx, edi
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call fcn.18010450
add esi, 4
cmp esi, dword [ebx + 0x14]
jne 0x180a35b6
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Thread32Next]
mov esi, dword [ebp - 0x24]
test eax, eax
jne 0x180a35a9
mov eax, dword [edi]
cmp eax, dword [edi + 4]
setne al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18144705
leave
ret 4
Function at 0x180a360b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov byte [ebp - 1], bl
mov edi, ebx
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x180a3662
push ebx
push dword [ecx + edi*4]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x180a363f
mov dl, 1
mov byte [ebp - 1], dl
jmp 0x180a3642
mov dl, byte [ebp - 1]
mov eax, dword [esi + 8]
inc edi
mov ecx, dword [esi + 4]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x180a362a
test dl, dl
je 0x180a3662
push dword [ebp + 8]
mov ecx, esi
call fcn.180a3113
mov bl, al
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 4

Function at 0x180a377e
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 0x180a37a9
test eax, eax
je 0x180a37a4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 8], esi
mov eax, esi
test eax, eax
je 0x180a37bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
setne bl
pop edi
pop esi
mov al, bl
pop ebx
ret
Function at 0x180a5ead
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
xor ecx, ecx
push esi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
push eax
push 1
push ecx
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 8], ecx
push eax
push ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 4], ecx
push eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
jne 0x180a5efe
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x180a5ef7
call fcn.18013c92
jmp 0x180a5f24
mov eax, 0x8007000d
jmp 0x180a5f24
push dword [ebp + 8]
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
add edx, esi
push edx
push esi
mov eax, dword [ecx]
push eax
mov dword [ecx + 4], eax
call fcn.18047051
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop esi
leave
ret

Function at 0x180a62eb
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 8], 0
je 0x180a6300
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [ebp + 8]
mov dword [esi], eax
lea eax, [esi + 4]
push eax
xor eax, eax
push eax
push esi
push 0x180a62a6
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
test eax, eax
jne 0x180a632e
xor al, al
jmp 0x180a633f
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
neg eax
sbb al, al
inc al
pop esi
pop ebp
ret 4
Function at 0x180a6d0a
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x181cb008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x94], edx
push edi
push eax
mov byte [ebp - 0x79], al
mov edi, eax
mov dword [ebp - 0x68], eax
mov esi, ecx
mov byte [ebp - 0x78], al
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x88], esi
push eax
push 5
push esi
mov dword [ebp - 0x8c], 0x40
mov dword [ebp - 0x64], 0xf
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
xor ebx, ebx
inc ebx
test eax, eax
je 0x180a6d85
push 0xa
lea eax, [ebp - 0x48]
mov byte [ebp - 0x79], bl
push edi
push eax
call fcn.18152d58
add esp, 0xc
lea ecx, [ebp - 0x78]
mov edi, eax
push edi
call fcn.1804ff84
xor eax, eax
push eax
push eax
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x80]
push eax
push esi
jmp 0x180a6dfd
cmp dword [ebp - 0x80], 0
jbe 0x180a6e2c
push ecx
push dword [ebp - 0x80]
lea ecx, [ebp - 0x54]
call fcn.180a4a51
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 0x80]
push dword [ebp - 0x54]
push dword [ebp - 0x88]
call dword [sym.imp.WININET.dll_InternetReadFile]
mov esi, eax
test esi, esi
je 0x180a6e24
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x180a6e24
add dword [ebp - 0x84], eax
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x54]
call fcn.1804ce18
lea ecx, [ebp - 0x54]
call fcn.1800b3fc
push 0
push 0
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x88]
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov esi, eax
test esi, esi
jne 0x180a6d96
xor bl, bl
lea ecx, [ebp - 0x78]
call fcn.1800e39c
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18144705
leave
ret
lea ecx, [ebp - 0x54]
call fcn.1800b3fc
test esi, esi
je 0x180a6e09
cmp byte [ebp - 0x79], 0
je 0x180a6e3e
cmp dword [ebp - 0x84], edi
jne 0x180a6e09
mov esi, dword [ebp - 0x94]
test esi, esi
je 0x180a6e0b
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x60]
call fcn.180a698a
push eax
mov ecx, esi
call fcn.18033df1
lea ecx, [ebp - 0x60]
call fcn.18027061
jmp 0x180a6e0b
Function at 0x180aa829
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
push ebx
mov ebx, edx
push esi
mov esi, ecx
mov dword [ebp - 0xc], ebx
push edi
mov edx, esi
mov byte [ebx], 0
lea ecx, [ebp - 8]
call fcn.180aa961
call fcn.18004001
push eax
lea ecx, [ebp - 4]
call fcn.180070cc
push dword [esi]
lea eax, [ebp - 4]
push 0xbf7
push eax
call fcn.1801b59d
add esp, 0xc
lea ecx, [ebp - 0x44]
call fcn.1801d499
push ecx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x148]
call fcn.1812ae7f
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x148]
call fcn.1812af8e
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
test eax, eax
jns 0x180aa8ba
push 4
push esi
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
sete cl
test eax, eax
mov byte [ebx], cl
setne bl
jmp 0x180aa8e7
push 0
lea ecx, [ebp - 0x144]
call fcn.18007fbd
xor ebx, ebx
inc ebx
push ebx
push dword [ebp - 0x144]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x44]
call fcn.180aa4c4
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x58]
mov byte [ecx], al
lea ecx, [ebp - 0x148]
call fcn.1812af29
lea ecx, [ebp - 0x44]
call fcn.1801d4c9
lea ecx, [edi - 0x10]
call fcn.18004665
lea ecx, [esi - 0x10]
call fcn.18004665
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
Function at 0x180abb21
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
call fcn.180b41c3
mov edi, eax
call fcn.1800bd71
xor ebx, ebx
push ebx
push 0x989680
push edx
push eax
call fcn.1816bb70
mov ecx, str.HKLMSoftwareGoogleUpdate_
lea esi, [eax + 0x49ef6f00]
cmp byte [ebp - 0x10], bl
jne 0x180abb5d
mov ecx, str.HKCUSoftwareGoogleUpdate_
push ebx
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
push 4
mov edx, str.RetryAfter
call fcn.180127f2
mov ecx, dword [ebp - 8]
add esp, 0xc
test eax, eax
jns 0x180abb7d
mov ecx, ebx
cmp esi, ecx
jae 0x180abb8b
lea eax, [esi + 0x15180]
cmp ecx, eax
jbe 0x180abbdc
push ebx
lea eax, [ebp - 1]
mov byte [ebp - 1], bl
push eax
mov ecx, edi
call fcn.180b53ea
mov edi, eax
test edi, edi
jne 0x180abbe3
movzx ecx, byte [0x181d398a]
neg ecx
sbb ecx, ecx
and ecx, 0x181d2b40
je 0x180abbdc
push 7
pop eax
xor edx, edx
mov dword [ebp - 0x20], ecx
inc edx
mov dword [ebp - 0x1c], eax
push edx
push eax
mov dword [ebp - 0x18], edx
call fcn.18005da9
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push str._ShouldCheckForUpdates_returned_0__checks_disabled_
push eax
call fcn.180041a3
pop ecx
pop ecx
xor al, al
jmp 0x180abce1
push dword [ebp - 0x10]
call fcn.180b55e5
mov dword [ebp - 0x10], eax
call fcn.180b41c3
push ebx
mov esi, eax
call fcn.181532ba
pop ecx
mov dword [ebp - 0xc], eax
mov ecx, esi
push ebx
lea eax, [ebp - 2]
mov dword [ebp - 8], edx
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x18], ebx
push eax
mov dword [ebp - 0x14], ebx
mov byte [ebp - 2], bl
call fcn.180b617a
test eax, eax
js 0x180abc2b
cmp byte [ebp - 2], bl
jne 0x180abc99
mov ecx, dword [ebp - 0x10]
cmp ecx, edi
jl 0x180abc99
lea eax, [edi + 0xe10]
cmp ecx, eax
jge 0x180abc97
cmp byte [ebp - 1], bl
jne 0x180abc97
push ebx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
push 4
mov edx, str.DisableUpdateAppsHourlyJitter
mov ecx, str.HKLMSoftwareGoogleUpdateDev_
call fcn.180127f2
add esp, 0xc
test eax, eax
js 0x180abc69
cmp dword [ebp - 0x10], ebx
setne al
jmp 0x180abc6b
mov al, bl
test al, al
jne 0x180abc97
push 4
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
call dword [sym.imp.ADVAPI32.dll_SystemFunction036]
movzx eax, al
neg eax
push 0x64
sbb eax, eax
xor edx, edx
and eax, dword [ebp - 0x10]
pop ecx
div ecx
cmp edx, 0x5a
setb bl
jmp 0x180abc99
mov bl, 1
movzx ecx, byte [0x181d398a]
neg ecx
sbb ecx, ecx
and ecx, 0x181d2b40
je 0x180abcdf
push 7
pop eax
push 3
pop edx
push edx
push eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
call fcn.18005da9
mov dword [ebp - 0x14], eax
movzx eax, byte [ebp - 1]
push eax
movzx ecx, bl
lea eax, [ebp - 0x20]
push ecx
push str._ShouldCheckForUpdates_returned__d___u_
push eax
call fcn.180041a3
add esp, 0x10
mov al, bl
pop edi
pop esi
pop ebx
leave
ret
Function at 0x180b04d3
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x181cb008]
xor eax, esp
mov dword [esp + 0x228], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x208
mov dword [esp + 0x10], eax
xor edi, edi
lea eax, [esp + 0x2c]
mov bl, dl
push edi
push eax
mov esi, ecx
call fcn.18147220
add esp, 0xc
lea eax, [esp + 0x28]
push 0x104
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x180b053a
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x180b058e
movzx eax, ax
or eax, 0x80070000
jmp 0x180b058e
lea ecx, [esp + 0x10]
call fcn.18008326
lea eax, [esp + 0x10]
mov dl, bl
push eax
lea ecx, [esp + 0x2c]
call fcn.18008a47
pop ecx
push dword [esp + 0x10]
push edi
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
test eax, eax
jne 0x180b0583
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jle 0x180b0583
movzx edi, di
or edi, 0x80070000
lea ecx, [esp + 0x10]
call fcn.1800834f
mov eax, edi
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.18144705
mov esp, ebp
pop ebp
ret

Function at 0x180b05d3
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10814
call fcn.1816bdd0
mov eax, dword [0x181cb008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
push edi
mov edi, ecx
mov dword [ebp - 0x10814], esi
mov ecx, dword [edi]
call fcn.180050b2
test al, al
jne 0x180b060f
mov eax, 0x80070002
jmp 0x180b0708
mov ecx, esi
call fcn.180144de
push 0x10000
lea eax, [ebp - 0x10804]
push 0
push eax
call fcn.18147220
add esp, 0xc
lea eax, [ebp - 0x10804]
push dword [edi]
push 0x8000
push eax
push 0
push 0
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
and dword [ebp - 0x1080c], 0
mov dword [ebp - 0x10810], eax
test eax, eax
je 0x180b0706
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.18147220
mov eax, dword [ebp - 0x1080c]
lea ecx, [ebp - 0x10804]
add esp, 0xc
lea eax, [ecx + eax*2]
push eax
lea ecx, [ebp - 0x10808]
call fcn.18006d94
push dword [edi]
lea eax, [ebp - 0x804]
push 0x400
push eax
push 0
push dword [ebp - 0x10808]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x10808]
mov ecx, esi
push eax
call fcn.180b1667
mov esi, eax
lea eax, [ebp - 0x804]
push eax
call fcn.1814b183
pop ecx
push eax
lea eax, [ebp - 0x804]
mov ecx, esi
push eax
call fcn.1800704f
mov eax, dword [ebp - 0x10808]
mov esi, dword [ebp - 0x1080c]
inc esi
add esi, dword [eax - 0xc]
lea ecx, [eax - 0x10]
mov dword [ebp - 0x1080c], esi
call fcn.18004665
cmp esi, dword [ebp - 0x10810]
mov esi, dword [ebp - 0x10814]
jb 0x180b065b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18144705
leave
ret
Function at 0x180b0717
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 0xc], ebx
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x180b0826
mov eax, dword [ebx]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
je 0x180b0826
mov edx, dword [esi]
lea ecx, [ebp - 8]
push 0x181b7460
call fcn.18008236
mov esi, dword [ebp - 8]
pop ecx
cmp dword [esi - 0xc], ebx
jne 0x180b0767
call fcn.18013c92
mov ebx, eax
jmp 0x180b081a
push edi
push ebx
push 0x80
push 2
push ebx
push 1
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x180b0792
call fcn.18013c92
mov ebx, eax
jmp 0x180b0819
call fcn.18004001
push eax
lea ecx, [ebp - 4]
call fcn.180070cc
mov edx, dword [ebp - 0xc]
lea ecx, [ebp - 0xc]
call fcn.1800c54e
push dword [eax]
lea eax, [ebp - 4]
push 0xbf
push 0xbb
push 0xef
push str._c_c_c_s
push eax
call fcn.1800f243
mov ecx, dword [ebp - 0xc]
add esp, 0x18
lea ecx, [ecx - 0x10]
call fcn.18004665
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x10]
push ebx
push ecx
mov dword [ebp - 0x10], ebx
push dword [eax - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x180b07fb
call fcn.18013c92
mov ebx, eax
jmp 0x180b0807
mov ecx, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
call fcn.18006d3c
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.18004665
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
lea ecx, [esi - 0x10]
call fcn.18004665
mov eax, ebx
jmp 0x180b0829
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret