joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1807b964
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x181c900c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 8]
push edi
mov edi, edx
xor edx, edx
push edx
push eax
push edx
push edx
push edi
push ecx
mov dword [ebp - 8], edx
call dword [sym.imp.DNSAPI.dll_DnsQuery_W]
test eax, eax
jne 0x1807ba59
mov ecx, dword [ebp - 8]
movzx eax, word [ecx + 8]
cmp eax, 5
jne 0x1807b9d7
mov eax, dword [ebp + 8]
test eax, eax
je 0x1807b9c2
dec eax
mov edx, edi
lfence
mov ecx, dword [ecx + 0x18]
push esi
push eax
call fcn.1807b964
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
mov esi, eax
jmp 0x1807b9c7
mov esi, 0x251d
push 1
push ecx
call dword [sym.imp.DNSAPI.dll_DnsFree]
mov eax, esi
jmp 0x1807ba59
xor edi, edi
inc edi
cmp eax, 0x1c
jne 0x1807ba17
movzx eax, word [ecx + 0x26]
push eax
movzx eax, word [ecx + 0x24]
push eax
movzx eax, word [ecx + 0x22]
push eax
movzx eax, word [ecx + 0x20]
push eax
movzx eax, word [ecx + 0x1e]
push eax
movzx eax, word [ecx + 0x1c]
push eax
movzx eax, word [ecx + 0x1a]
push eax
movzx eax, word [ecx + 0x18]
push eax
push 0x181ad0a8
push esi
call fcn.18047070
add esp, 0x28
jmp 0x1807ba3e
cmp ax, di
jne 0x1807ba4c
movzx eax, byte [ecx + 0x1b]
push eax
movzx eax, byte [ecx + 0x1a]
push eax
movzx eax, byte [ecx + 0x19]
push eax
movzx eax, byte [ecx + 0x18]
push eax
push 0x1819a9ac
push esi
call fcn.18047070
add esp, 0x18
push edi
push dword [ebp - 8]
call dword [sym.imp.DNSAPI.dll_DnsFree]
xor eax, eax
jmp 0x1807ba59
push edi
push ecx
call dword [sym.imp.DNSAPI.dll_DnsFree]
mov eax, 0x251d
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.18118dc8
leave
ret
Function at 0x1807c7e0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 4], eax
xor esi, esi
push edi
push esi
mov eax, dword [ebx + 0x88]
push 0x80
cmp dword [eax + 0x30], esi
setne dl
lea edx, [edx*2 + 2]
push edx
push esi
push esi
push 0x40000000
push dword [ebx + 0x48]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1807c8ac
mov eax, dword [ebx + 0x88]
cmp dword [eax + 0x30], esi
je 0x1807c8c8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x1807c8b5
cmp eax, 0x7fffffff
ja 0x1807c8b5
mov edx, dword [ebx + 0x88]
push esi
cmp eax, dword [edx + 0x30]
setg cl
cmp eax, dword [edx + 0x34]
setne al
or cl, al
je 0x1807c893
push 0x80
push 2
push esi
push esi
push 0x40000000
mov dword [edx + 0x34], esi
push dword [ebx + 0x48]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp edi, ebx
je 0x1807c8cb
push edi
lfence
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, ebx
cmp edi, 0xffffffff
jmp 0x1807c8aa
lfence
mov eax, dword [ebx + 0x88]
push esi
push esi
push dword [eax + 0x34]
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x1807c8cb
call fcn.1801ba7c
mov esi, eax
jmp 0x1807c8ba
mov esi, 0x80004005
cmp edi, 0xffffffff
je 0x1807c8d0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1807c8d0
mov dword [eax + 0x34], esi
mov eax, dword [ebp - 4]
mov dword [eax], edi
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x1807dfb8
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x181c900c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
xor edx, edx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov esi, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], esi
mov ecx, dword [ecx]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov eax, dword [ecx - 0xc]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edx
lea eax, [eax*2 + 2]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x14]
push eax
push 1
push edx
push edx
lea eax, [ebp - 0x2c]
push eax
push str.edgeupdate
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
jne 0x1807e035
call fcn.1801ba7c
test eax, eax
js 0x1807e0f8
jmp 0x1807e058
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
add eax, ecx
push eax
push ecx
push 0
lea ecx, [ebp - 0x20]
call fcn.1807d6dc
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [ebp - 0x20]
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x14]
and dword [ebp - 0x10], 0
push edi
call fcn.180157dd
lea ecx, [edi + 0x1c]
push ebx
call fcn.1807e5f0
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1807e0b3
push dword [ebp - 0x24]
lea ecx, [edi + 0x1c]
call fcn.1807e622
push dword [ebp - 0xc]
lea ecx, [edi + 0x28]
call fcn.1807e622
lea eax, [ebp - 0x20]
push eax
lea ecx, [edi + 0x34]
call fcn.1807e576
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0xffff
push eax
lea ecx, [edi + 0x40]
call fcn.1807e4d2
mov esi, dword [ebp - 0x20]
jmp 0x1807e0f0
push dword [ebp - 0xc]
lea ecx, [edi + 0x28]
push ebx
call fcn.1807e4aa
mov ecx, eax
call fcn.18009f25
push ebx
lea ecx, [edi + 0x34]
call fcn.1807e54e
lea ecx, [ebp - 0x20]
cmp eax, ecx
je 0x1807e0e1
push dword [ebp - 0x1c]
mov ecx, eax
push esi
call fcn.1807e6a9
push ebx
lea ecx, [edi + 0x40]
call fcn.1807e4aa
mov dword [eax], 0xffff
lea ecx, [ebp - 0x14]
call fcn.18015808
test esi, esi
je 0x1807e12c
mov eax, dword [ebp - 0x18]
sub eax, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0xc], eax
cmp eax, 0x1000
jb 0x1807e123
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.18007c32
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 0x24]
pop ecx
pop ecx
push eax
push esi
call fcn.181192f6
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18118dc8
leave
ret 0xc
Function at 0x18083ca4
Capabilities:
Check for time delay via gettickcount
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x181c900c]
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 - 0x24], eax
test eax, eax
jne 0x18083cdb
call fcn.1801ba7c
mov ebx, eax
jmp 0x18083db5
push 0x24
push dword [esi]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x18083d9a
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 0x18083d3a
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x18083da5
cmp eax, 3
je 0x18083d3d
push 0x1c
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.1812da70
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x18083d9a
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x18083da5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [ebp - 0x1c], 1
mov edi, eax
je 0x18083da5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x1f40
jae 0x18083d8b
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1c
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.1812da70
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 0x18083d50
jmp 0x18083d8e
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x18083da5
mov ebx, 0x800705b4
jmp 0x18083da5
call fcn.1801ba7c
mov ebx, eax
test esi, esi
je 0x18083dac
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18118dc8
leave
ret

Function at 0x18083e01
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x181c900c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 1
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x18083e75
push 4
push str.Schedule
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edx, eax
mov dword [ebp - 0x24], edx
test edx, edx
je 0x18083e6e
push edi
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
pop edi
test eax, eax
je 0x18083e65
cmp dword [ebp - 0x1c], 4
je 0x18083e63
cmp dword [ebp - 0x1c], 2
jne 0x18083e65
mov bl, 1
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.18118dc8
leave
ret
Function at 0x18084bbd
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x181c900c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push esi
push 0x18084c50
mov eax, dword [esi + 0x20]
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x30], eax
mov dword [esi + 0x38], ebx
call dword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
je 0x18084c26
mov eax, dword [esi + 0x30]
push edi
mov edi, dword [esi + 0x2c]
mov dword [ebp - 0xc], eax
cmp edi, eax
je 0x18084c25
sub eax, edi
sar eax, 2
cmp eax, dword [esi + 0x38]
ja 0x18084c25
mov eax, dword [edi]
lea ecx, [esi + 0x20]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.1808528f
add edi, 4
cmp edi, dword [ebp - 0xc]
jne 0x18084c0a
xor ebx, ebx
pop edi
mov eax, dword [esi + 0x20]
cmp eax, dword [esi + 0x24]
jne 0x18084c3b
mov eax, dword [esi + 0x2c]
cmp eax, dword [esi + 0x30]
je 0x18084c3d
cmp dword [esi + 0x38], ebx
jbe 0x18084c3d
mov bl, 1
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.18118dc8
leave
ret

Function at 0x18085000
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x20]
call fcn.18084bbd
test al, al
jne 0x1808503a
mov eax, dword [esi]
push edi
push 0x18084fa0
mov dword [esi + 4], eax
call dword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
je 0x18085033
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jne 0x1808503a
xor eax, eax
jmp 0x180850cb
mov ecx, dword [esi + 4]
xor ebx, ebx
mov eax, dword [esi]
inc ebx
mov byte [ebp - 1], 0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
cmp eax, ecx
je 0x180850c9
mov esi, dword [eax]
push 0
push 0xf060
push 0x112
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
test eax, eax
je 0x180850a8
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
shr eax, 0x1d
test al, 1
je 0x18085082
push 8
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x18085093
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [edi + 0x40], 0
je 0x180850a1
push ebx
push esi
call dword [sym.imp.USER32.dll_FlashWindow]
mov cl, bl
mov byte [ebp - 1], cl
jmp 0x180850ab
mov cl, byte [ebp - 1]
mov eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 8], eax
cmp eax, dword [ebp - 0xc]
jne 0x18085050
test cl, cl
je 0x180850c9
push dword [ebp + 8]
mov ecx, edi
call fcn.180847cb
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x18085180
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x181c900c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push esi
push 4
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x28], eax
cmp eax, 0xffffffff
jne 0x180851af
xor al, al
jmp 0x1808521a
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x1c], esi
push ecx
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x20], 0x1c
call dword [sym.imp.KERNEL32.dll_Thread32First]
jmp 0x1808520e
mov esi, dword [ebx + 0x10]
jmp 0x180851f5
mov eax, dword [esi]
cmp eax, dword [ebp - 0x14]
jne 0x180851f2
mov eax, dword [ebp - 0x18]
mov ecx, edi
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.180187f0
add esi, 4
cmp esi, dword [ebx + 0x14]
jne 0x180851da
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x180851d5
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.18118dc8
leave
ret 4

Function at 0x1808522b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
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 0x18085286
push ebx
push dword [ecx + edi*4]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x18085260
mov dl, 1
mov byte [ebp - 1], dl
jmp 0x18085263
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 0x1808524b
test dl, dl
je 0x18085286
push dword [ebp + 8]
mov ecx, esi
call fcn.180847cb
neg eax
sbb ebx, ebx
inc ebx
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x181c900c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
xor edx, edx
mov ecx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x10]
push eax
push 1
push edx
push edx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], edx
push eax
push edx
lea eax, [ebp - 0x20]
mov dword [ebp - 0xc], edx
push eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
jne 0x180878ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x180878a4
call fcn.1801ba7c
jmp 0x180878d1
mov eax, 0x8007000d
jmp 0x180878d1
mov esi, dword [ebp - 0xc]
mov ecx, edi
mov edx, dword [ebp - 0x10]
mov eax, dword [edi]
add edx, esi
push edx
push esi
push eax
mov dword [edi + 4], eax
lea eax, [ebp - 0x24]
push eax
call fcn.180878df
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.18118dc8
leave
ret

Function at 0x18087d93
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 8], 0
je 0x18087da8
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 0x18087d30
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
test eax, eax
jne 0x18087dd6
xor al, al
jmp 0x18087de7
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 0x1808a192
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], ebx
push edi
mov edi, dword [ecx + 0x10]
mov eax, dword [edi]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x1815d3d4]
mov ecx, edi
call esi
mov ecx, eax
test ecx, ecx
jne 0x1808a1ee
push 0x4a9
push str.D:_a_work1omaha_src_third_party_breakpad_srcprocessorminidump.cc
push ebx
push 0x181ce8c8
lea ecx, [ebp - 8]
call fcn.18098e15
mov edx, str.MinidumpContext_could_not_be_compared_against_MinidumpSystemInfo
mov ecx, dword [eax]
call fcn.18026129
push dword [ebp - 8]
call fcn.18093ee9
pop ecx
mov al, 1
jmp 0x1808a373
lea eax, [ecx + 0x10]
movzx ecx, byte [ecx + 4]
neg ecx
sbb ecx, ecx
and ecx, eax
jne 0x1808a231
push 0x4b1
push str.D:_a_work1omaha_src_third_party_breakpad_srcprocessorminidump.cc
push ebx
push 0x181ce8c8
lea ecx, [ebp - 8]
call fcn.18098e15
mov edx, str.MinidumpContext_could_not_be_compared_against_MDRawSystemInfo
mov ecx, dword [eax]
call fcn.18026129
push dword [ebp - 8]
call fcn.18093ee9
pop ecx
xor al, al
jmp 0x1808a373
movzx edi, word [ecx]
mov edx, 0x1000000
mov ecx, dword [ebp + 8]
xor eax, eax
cmp ecx, edx
ja 0x1808a2a7
je 0x1808a29f
cmp ecx, 0x10000
je 0x1808a286
cmp ecx, 0x40000
je 0x1808a281
cmp ecx, 0x80000
je 0x1808a276
cmp ecx, 0x100000
je 0x1808a271
cmp ecx, 0x400000
jne 0x1808a2e2
cmp edi, 0xc
jmp 0x1808a2db
cmp edi, 9
jmp 0x1808a2db
cmp edi, 0x8004
jmp 0x1808a380
cmp edi, 1
jmp 0x1808a2db
test edi, edi
je 0x1808a386
cmp edi, 0xa
je 0x1808a386
cmp edi, 9
jmp 0x1808a380
cmp edi, 0x8002
jmp 0x1808a2db
cmp ecx, 0x10000000
je 0x1808a37a
cmp ecx, 0x20000000
je 0x1808a2d8
cmp ecx, 0x40000000
je 0x1808a2d3
cmp ecx, 0x80000000
jne 0x1808a2e2
cmp edi, 0x8003
jmp 0x1808a2db
cmp edi, 5
jmp 0x1808a2db
cmp edi, 3
sete bl
test bl, bl
jne 0x1808a352
push 0x4f3
push str.D:_a_work1omaha_src_third_party_breakpad_srcprocessorminidump.cc
push 1
push 0x181ce9d0
lea ecx, [ebp - 0xc]
call fcn.18098e15
mov edx, str.MinidumpContext_CPU
mov ecx, dword [eax]
call fcn.18026129
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x3c]
mov esi, eax
call fcn.18098fe3
mov edx, eax
mov ecx, esi
call fcn.180382d1
mov edx, str._wrong_for_MinidumpSystemInfo_CPU
mov ecx, eax
call fcn.18026129
mov edx, edi
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.180990a6
mov edx, eax
mov ecx, esi
call fcn.180382d1
push 0x1c
pop eax
and eax, 0xffffffef
lea ecx, [ebp - 0x24]
mov dword [ebp - 8], eax
call fcn.18014b0d
mov eax, dword [ebp - 8]
test al, 8
je 0x1808a364
lea ecx, [ebp - 0x3c]
mov dword [ebp - 8], eax
call fcn.18014b0d
mov eax, dword [ebp - 8]
test al, 4
je 0x1808a371
push dword [ebp - 0xc]
call fcn.18093ee9
pop ecx
mov al, bl
pop edi
pop esi
pop ebx
leave
ret 4
cmp edi, 0x8001
jne 0x1808a2e2
mov bl, 1
jmp 0x1808a352
Function at 0x18091c10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x18091c37
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.18036840
jmp 0x18091d00
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x18091c5f
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x18091c65
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x14], ecx
test edi, edi
jl 0x18091ccd
jg 0x18091c7c
test esi, esi
je 0x18091ccd
test ecx, ecx
jl 0x18091cc8
jg 0x18091c86
test eax, eax
je 0x18091cc8
cmp edi, ecx
jg 0x18091c9a
jl 0x18091c90
cmp esi, eax
jae 0x18091c9a
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x24]
call fcn.1812d4f0
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [esp + 0x14]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x18091cd0
mov ecx, dword [ebp + 8]
jmp 0x18091cda
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x18091cf4
jg 0x18091cda
test esi, esi
je 0x18091cf4
cmp dword [ebx + 0x4c], 0
je 0x18091cf4
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.1815602a
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x18091d10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x18091d3e
jl 0x18091d35
test edi, edi
jne 0x18091d3e
xor eax, eax
xor edx, edx
jmp 0x18091df3
cmp dword [ebx + 0x38], 0
je 0x18091d51
push eax
push edi
push edx
call fcn.18036940
jmp 0x18091df3
mov eax, dword [ebx + 0x1c]
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x18091d92
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test eax, eax
je 0x18091d92
cmp eax, edi
jb 0x18091d73
mov eax, edi
mov dword [esp + 0x14], edi
push eax
push ecx
push edx
call fcn.1812d4f0
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x14]
sub esi, ecx
add dword [esp + 0x10], ecx
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
cmp dword [ebx + 0x4c], 0
je 0x18091de9
mov ecx, ebx
call fcn.18092e87
mov ecx, dword [esp + 0x10]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x18091dd4
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.181564b6
mov ecx, dword [esp + 0x20]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [esp + 0x10], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x18091de9
jmp 0x18091da5
test edx, edx
je 0x18091de9
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.181564b6
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x180920e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x181c900c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
cmp ebx, 0xffffffff
jne 0x18092103
xor eax, eax
jmp 0x180921dd
mov eax, dword [edi + 0x20]
push esi
mov ecx, dword [eax]
test ecx, ecx
je 0x1809212f
mov edx, dword [edi + 0x30]
mov esi, dword [edx]
lea eax, [esi + ecx]
cmp ecx, eax
jae 0x1809212f
lea ecx, [esi - 1]
mov dword [edx], ecx
mov edx, dword [edi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
jmp 0x180921d5
cmp dword [edi + 0x4c], 0
je 0x180921d9
mov ecx, edi
call fcn.18092e87
mov eax, dword [edi + 0x38]
mov cl, bl
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x18092152
push dword [edi + 0x4c]
push ecx
jmp 0x18092199
mov byte [ebp - 0x28], cl
mov eax, dword [eax]
mov esi, dword [eax + 0x1c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [edi + 0x40]
push eax
call dword [0x1815d3d4]
mov ecx, dword [ebp - 0x34]
call esi
sub eax, 0
je 0x180921a9
sub eax, 1
je 0x180921a9
dec eax
sub eax, 1
jne 0x180921d9
push dword [edi + 0x4c]
push dword [ebp - 0x28]
call fcn.180881ac
pop ecx
pop ecx
test al, al
jne 0x180921d5
or ebx, 0xffffffff
jmp 0x180921d5
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x180921c9
lfence
push dword [edi + 0x4c]
push esi
push 1
push eax
call fcn.1815602a
add esp, 0x10
cmp esi, eax
jne 0x180921d9
lea eax, [ebp - 0x28]
mov byte [edi + 0x3d], 1
cmp dword [ebp - 0x30], eax
je 0x180921d9
mov eax, ebx
jmp 0x180921dc
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.18118dc8
leave
ret 4