joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180404d3
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov eax, dword [edi + 0x24]
cmp eax, esi
je 0x180404f3
test eax, eax
je 0x180404f0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x24], esi
mov eax, dword [edi + 0x28]
mov esi, dword [ebp + 0xc]
cmp eax, esi
je 0x1804050b
test eax, eax
je 0x18040508
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x28], esi
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 4]
test edx, edx
je 0x1804051c
lock inc dword [edx + 4]
mov edx, dword [eax + 4]
mov ecx, dword [edi + 0x30]
mov eax, dword [eax]
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], edx
test ecx, ecx
je 0x18040530
call fcn.1801d52d
test edi, edi
je 0x1804053a
mov eax, dword [edi]
push edi
call dword [eax + 4]
xor ebx, ebx
push ebx
push ebx
push edi
push 0x1804088b
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, dword [edi + 0x34]
mov dword [ebp + 8], eax
cmp esi, eax
je 0x18040569
test esi, esi
je 0x18040564
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
mov dword [edi + 0x34], eax
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x18004aa6
jne 0x1804057c
call fcn.18013db1
mov ebx, eax
neg esi
sbb esi, esi
not esi
and esi, edi
je 0x1804058c
mov eax, dword [esi]
push esi
call dword [eax + 8]
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0xc
Function at 0x180406c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10018
call fcn.1816c7a0
mov eax, dword [0x181cd008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
push esi
mov dword [ebp - 0x10014], eax
mov esi, dword [eax + 0x28]
test esi, esi
je 0x180407f9
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
xor ecx, ecx
push ecx
mov dword [eax + 0x28], ecx
lea eax, [ebp - 0x1000c]
push eax
push 0x10000
lea eax, [ebp - 0x10008]
mov dword [ebp - 0x1000c], ecx
push eax
push esi
call edi
mov ecx, dword [ebp - 0x1000c]
mov ebx, ecx
jmp 0x18040753
test ecx, ecx
je 0x18040757
mov ecx, 0x10000
cmp ebx, ecx
je 0x18040757
and dword [ebp - 0x1000c], 0
lea eax, [ebp - 0x1000c]
push 0
push eax
sub ecx, ebx
lea eax, [ebp - 0x10008]
push ecx
add eax, ebx
push eax
push esi
call edi
mov ecx, dword [ebp - 0x1000c]
add ebx, ecx
test eax, eax
jne 0x1804071f
lea eax, [ebp - 0x10018]
mov dword [ebp - 0x10018], 0xf
push eax
push ebx
lea eax, [ebp - 0x10008]
push eax
call dword [sym.imp.ADVAPI32.dll_IsTextUnicode]
mov ecx, dword [ebp - 0x10014]
mov edi, eax
add ecx, 0x38
push ecx
lea ecx, [ebp - 0x10010]
call fcn.1800eb8d
test edi, edi
je 0x180407c0
mov edi, dword [ebp - 0x10014]
xor eax, eax
mov word [ebp + ebx - 0x10008], ax
lea eax, [ebp - 0x10008]
push eax
call fcn.1814bb43
pop ecx
push eax
lea eax, [ebp - 0x10008]
push eax
lea ecx, [edi + 0x54]
call fcn.1800708f
jmp 0x180407e5
cmp ebx, 0x10002
jae 0x18040806
mov ecx, dword [ebp - 0x10014]
lea eax, [ebp - 0x10008]
push eax
mov byte [ebp + ebx - 0x10008], 0
lea ecx, [ecx + 0x54]
call fcn.1800c2fc
mov ecx, dword [ebp - 0x10010]
mov eax, dword [ecx]
call dword [eax + 8]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.181450cb
leave
ret
call fcn.1814593f
int3
Function at 0x1804657e
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, ecx
xor edx, edx
push edi
xor edi, edi
push edi
mov eax, dword [ebx + 0x88]
push 0x80
cmp dword [eax + 0x30], edi
setne dl
lea edx, [edx*2 + 2]
push edx
push edi
push edi
push 0x40000000
push dword [ebx + 0x48]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x18046636
mov eax, dword [ebx + 0x88]
cmp dword [eax + 0x30], edi
je 0x18046646
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x1804663f
cmp eax, 0x7fffffff
ja 0x1804663f
mov edx, dword [ebx + 0x88]
push edi
cmp eax, dword [edx + 0x30]
mov ecx, dword [edx + 0x34]
mov dword [ebp - 4], ecx
setg cl
cmp eax, dword [edx + 0x34]
setne al
or cl, al
je 0x18046626
push 0x80
push 2
push edi
push edi
push 0x40000000
mov dword [edx + 0x34], edi
push dword [ebx + 0x48]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp esi, ebx
je 0x18046621
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, ebx
cmp esi, 0xffffffff
jmp 0x18046634
push edi
push edi
push dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x18046649
call fcn.18013db1
mov edi, eax
jmp 0x18046653
mov edi, 0x80004005
jmp 0x18046653
mov dword [eax + 0x34], edi
mov eax, dword [ebp + 8]
mov ecx, esi
or esi, 0xffffffff
mov dword [eax], ecx
cmp esi, 0xffffffff
je 0x1804665f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x18048db7
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0x10]
push esi
push edi
xor esi, esi
mov edi, ecx
mov edx, dword [eax]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov eax, dword [edx - 0xc]
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], edx
lea eax, [eax*2 + 2]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
push eax
push 1
push esi
push esi
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], esi
push eax
push str.gupdate
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
jne 0x18048e13
call fcn.18013db1
jmp 0x18048e37
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
add eax, ecx
push eax
push ecx
push esi
lea ecx, [ebp - 0x24]
call fcn.18047176
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
mov esi, dword [ebp - 0x24]
test eax, eax
js 0x18048ed8
push ebx
push edi
lea ecx, [ebp - 0x18]
call fcn.1800eb8d
push dword [ebp + 8]
lea ecx, [edi + 0x1c]
call fcn.18049361
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x18048e92
push dword [ebp + 8]
lea ecx, [edi + 0x1c]
call fcn.18049397
push dword [ebp + 0xc]
lea ecx, [edi + 0x28]
call fcn.18049397
lea eax, [ebp - 0x24]
push eax
lea ecx, [edi + 0x34]
call fcn.180492df
lea eax, [ebp + 8]
mov dword [ebp + 8], 0xffff
push eax
lea ecx, [edi + 0x40]
call fcn.18049238
jmp 0x18048ecf
push dword [ebp + 0xc]
lea ecx, [edi + 0x28]
push ebx
call fcn.18049213
mov ecx, eax
call fcn.18006d7c
push ebx
lea ecx, [edi + 0x34]
call fcn.180492ba
lea ecx, [ebp - 0x24]
cmp eax, ecx
je 0x18048ec0
push dword [ebp - 0x20]
mov ecx, eax
push esi
call fcn.18049424
push ebx
lea ecx, [edi + 0x40]
call fcn.18049213
mov dword [eax], 0xffff
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
call dword [eax + 8]
pop ebx
lea ecx, [ebp - 0x24]
call fcn.1800b43d
pop edi
pop esi
leave
ret 0xc
Function at 0x180a37f4
Capabilities:
Check for time delay via gettickcount
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x181cd008]
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 0x180a382b
call fcn.18013db1
mov ebx, eax
jmp 0x180a3903
push 0x24
push dword [esi]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x180a38ea
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 0x180a388a
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x180a38f1
cmp eax, 3
je 0x180a388d
push 0x1c
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.18147be0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x180a38ea
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x180a38f1
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
cmp dword [ebp - 0x1c], 1
mov dword [ebp - 0x24], eax
je 0x180a38f1
call edi
sub eax, dword [ebp - 0x24]
cmp eax, 0x1f40
jae 0x180a38db
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1c
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.18147be0
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 0x180a38a3
jmp 0x180a38de
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x180a38f1
mov ebx, 0x800705b4
jmp 0x180a38f1
call fcn.18013db1
mov ebx, eax
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test esi, esi
je 0x180a38fe
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.181450cb
leave
ret

Function at 0x180a395f
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x181cd008]
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 0x180a39d4
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 0x180a39c2
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 0x180a39c0
cmp dword [ebp - 0x1c], 4
je 0x180a39be
cmp dword [ebp - 0x1c], 2
jne 0x180a39c0
mov bl, 1
test esi, esi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
je 0x180a39cd
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.181450cb
leave
ret
Function at 0x180a3db5
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push esi
push 0x180a3d40
mov eax, dword [esi + 0x20]
mov dword [esi + 0x24], eax
call dword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
je 0x180a3e50
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
cmp ecx, eax
je 0x180a3e50
sub eax, ecx
mov byte [ebp - 1], 0
push ebx
push edi
sar eax, 2
xor edi, edi
test eax, eax
je 0x180a3e48
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 0x180a3e23
cmp byte [esi + 0x30], 0
je 0x180a3e1c
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 0x180a3e26
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 0x180a3df0
test dl, dl
je 0x180a3e48
push dword [ebp + 8]
mov ecx, esi
call fcn.180a3ab4
test al, al
jne 0x180a3e4a
xor bl, bl
pop edi
mov al, bl
pop ebx
jmp 0x180a3e52
xor al, al
pop esi
leave
ret 4

Function at 0x180a3eef
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x181cd008]
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 0x180a3f22
xor al, al
jmp 0x180a3f9b
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 0x180a3f8f
mov eax, dword [ebp - 0x24]
mov esi, dword [esi + 0x10]
cmp esi, dword [eax + 0x14]
je 0x180a3f7a
mov ebx, eax
mov eax, dword [esi]
cmp eax, dword [ebp - 0x14]
jne 0x180a3f6f
mov eax, dword [ebp - 0x18]
mov ecx, edi
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call fcn.18010491
add esi, 4
cmp esi, dword [ebx + 0x14]
jne 0x180a3f57
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 0x180a3f4a
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.181450cb
leave
ret 4
Function at 0x180a3fac
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 0x180a4003
push ebx
push dword [ecx + edi*4]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x180a3fe0
mov dl, 1
mov byte [ebp - 1], dl
jmp 0x180a3fe3
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 0x180a3fcb
test dl, dl
je 0x180a4003
push dword [ebp + 8]
mov ecx, esi
call fcn.180a3ab4
mov bl, al
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 4

Function at 0x180a411f
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 0x180a414a
test eax, eax
je 0x180a4145
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 8], esi
mov eax, esi
test eax, eax
je 0x180a415c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
setne bl
pop edi
pop esi
mov al, bl
pop ebx
ret
Function at 0x180a684f
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 0x180a68a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x180a6899
call fcn.18013db1
jmp 0x180a68c6
mov eax, 0x8007000d
jmp 0x180a68c6
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.18047176
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop esi
leave
ret

Function at 0x180a6c8d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 8], 0
je 0x180a6ca2
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 0x180a6c48
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
test eax, eax
jne 0x180a6cd0
xor al, al
jmp 0x180a6ce1
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 0x180a76ac
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 [0x181cd008]
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 0x180a7727
push 0xa
lea eax, [ebp - 0x48]
mov byte [ebp - 0x79], bl
push edi
push eax
call fcn.18153718
add esp, 0xc
lea ecx, [ebp - 0x78]
mov edi, eax
push edi
call fcn.180500a9
xor eax, eax
push eax
push eax
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x80]
push eax
push esi
jmp 0x180a779f
cmp dword [ebp - 0x80], 0
jbe 0x180a77ce
push ecx
push dword [ebp - 0x80]
lea ecx, [ebp - 0x54]
call fcn.180a53f3
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 0x180a77c6
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x180a77c6
add dword [ebp - 0x84], eax
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x54]
call fcn.1804cf3d
lea ecx, [ebp - 0x54]
call fcn.1800b43d
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 0x180a7738
xor bl, bl
lea ecx, [ebp - 0x78]
call fcn.1800e3dd
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.181450cb
leave
ret
lea ecx, [ebp - 0x54]
call fcn.1800b43d
test esi, esi
je 0x180a77ab
cmp byte [ebp - 0x79], 0
je 0x180a77e0
cmp dword [ebp - 0x84], edi
jne 0x180a77ab
mov esi, dword [ebp - 0x94]
test esi, esi
je 0x180a77ad
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x60]
call fcn.180a732c
push eax
mov ecx, esi
call fcn.18033f17
lea ecx, [ebp - 0x60]
call fcn.18027186
jmp 0x180a77ad
Function at 0x180ab1cb
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.180ab303
call fcn.18004041
push eax
lea ecx, [ebp - 4]
call fcn.1800710c
push dword [esi]
lea eax, [ebp - 4]
push 0xbf7
push eax
call fcn.1801b6c0
add esp, 0xc
lea ecx, [ebp - 0x44]
call fcn.1801d5be
push ecx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x148]
call fcn.1812b845
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x148]
call fcn.1812b954
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
test eax, eax
jns 0x180ab25c
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 0x180ab289
push 0
lea ecx, [ebp - 0x144]
call fcn.18007ffc
xor ebx, ebx
inc ebx
push ebx
push dword [ebp - 0x144]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x44]
call fcn.180aae66
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x58]
mov byte [ecx], al
lea ecx, [ebp - 0x148]
call fcn.1812b8ef
lea ecx, [ebp - 0x44]
call fcn.1801d5ee
lea ecx, [edi - 0x10]
call fcn.180046a5
lea ecx, [esi - 0x10]
call fcn.180046a5
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
Function at 0x180ac4c2
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.180b4b72
mov edi, eax
call fcn.1800bdb2
xor ebx, ebx
push ebx
push 0x989680
push edx
push eax
call fcn.1816c540
mov ecx, str.HKLMSoftwareGoogleUpdate_
lea esi, [eax + 0x49ef6f00]
cmp byte [ebp - 0x10], bl
jne 0x180ac4fe
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.18012855
mov ecx, dword [ebp - 8]
add esp, 0xc
test eax, eax
jns 0x180ac51e
mov ecx, ebx
cmp esi, ecx
jae 0x180ac52c
lea eax, [esi + 0x15180]
cmp ecx, eax
jbe 0x180ac57d
push ebx
lea eax, [ebp - 1]
mov byte [ebp - 1], bl
push eax
mov ecx, edi
call fcn.180b5d99
mov edi, eax
test edi, edi
jne 0x180ac584
movzx ecx, byte [0x181d59e6]
neg ecx
sbb ecx, ecx
and ecx, 0x181d4bb0
je 0x180ac57d
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.18005de9
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push str._ShouldCheckForUpdates_returned_0__checks_disabled_
push eax
call fcn.180041e3
pop ecx
pop ecx
xor al, al
jmp 0x180ac682
push dword [ebp - 0x10]
call fcn.180b5f94
mov dword [ebp - 0x10], eax
call fcn.180b4b72
push ebx
mov esi, eax
call fcn.18153c7a
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.180b6b29
test eax, eax
js 0x180ac5cc
cmp byte [ebp - 2], bl
jne 0x180ac63a
mov ecx, dword [ebp - 0x10]
cmp ecx, edi
jl 0x180ac63a
lea eax, [edi + 0xe10]
cmp ecx, eax
jge 0x180ac638
cmp byte [ebp - 1], bl
jne 0x180ac638
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.18012855
add esp, 0xc
test eax, eax
js 0x180ac60a
cmp dword [ebp - 0x10], ebx
setne al
jmp 0x180ac60c
mov al, bl
test al, al
jne 0x180ac638
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 0x180ac63a
mov bl, 1
movzx ecx, byte [0x181d59e6]
neg ecx
sbb ecx, ecx
and ecx, 0x181d4bb0
je 0x180ac680
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.18005de9
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.180041e3
add esp, 0x10
mov al, bl
pop edi
pop esi
pop ebx
leave
ret