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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x181d600c]
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 0x1807d511
mov ecx, dword [ebp - 8]
movzx eax, word [ecx + 8]
cmp eax, 5
jne 0x1807d48f
mov eax, dword [ebp + 8]
test eax, eax
je 0x1807d47a
dec eax
mov edx, edi
lfence
mov ecx, dword [ecx + 0x18]
push esi
push eax
call fcn.1807d41c
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
mov esi, eax
jmp 0x1807d47f
mov esi, 0x251d
push 1
push ecx
call dword [sym.imp.DNSAPI.dll_DnsFree]
mov eax, esi
jmp 0x1807d511
xor edi, edi
inc edi
cmp eax, 0x1c
jne 0x1807d4cf
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 0x181b9490
push esi
call fcn.18048850
add esp, 0x28
jmp 0x1807d4f6
cmp ax, di
jne 0x1807d504
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 0x181a558c
push esi
call fcn.18048850
add esp, 0x18
push edi
push dword [ebp - 8]
call dword [sym.imp.DNSAPI.dll_DnsFree]
xor eax, eax
jmp 0x1807d511
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.18121ed8
leave
ret
Function at 0x1807e290
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 0x1807e35c
mov eax, dword [ebx + 0x88]
cmp dword [eax + 0x30], esi
je 0x1807e378
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x1807e365
cmp eax, 0x7fffffff
ja 0x1807e365
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 0x1807e343
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 0x1807e37b
push edi
lfence
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, ebx
cmp edi, 0xffffffff
jmp 0x1807e35a
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 0x1807e37b
call fcn.1801ba25
mov esi, eax
jmp 0x1807e36a
mov esi, 0x80004005
cmp edi, 0xffffffff
je 0x1807e380
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1807e380
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 0x1807fa68
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x181d600c]
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 0x1807fae5
call fcn.1801ba25
test eax, eax
js 0x1807fba8
jmp 0x1807fb08
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.1807f18c
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.1801579d
lea ecx, [edi + 0x1c]
push ebx
call fcn.180800a0
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1807fb63
push dword [ebp - 0x24]
lea ecx, [edi + 0x1c]
call fcn.180800d2
push dword [ebp - 0xc]
lea ecx, [edi + 0x28]
call fcn.180800d2
lea eax, [ebp - 0x20]
push eax
lea ecx, [edi + 0x34]
call fcn.18080026
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0xffff
push eax
lea ecx, [edi + 0x40]
call fcn.1807ff82
mov esi, dword [ebp - 0x20]
jmp 0x1807fba0
push dword [ebp - 0xc]
lea ecx, [edi + 0x28]
push ebx
call fcn.1807ff5a
mov ecx, eax
call fcn.18009e8a
push ebx
lea ecx, [edi + 0x34]
call fcn.1807fffe
lea ecx, [ebp - 0x20]
cmp eax, ecx
je 0x1807fb91
push dword [ebp - 0x1c]
mov ecx, eax
push esi
call fcn.18080159
push ebx
lea ecx, [edi + 0x40]
call fcn.1807ff5a
mov dword [eax], 0xffff
lea ecx, [ebp - 0x14]
call fcn.180157c8
test esi, esi
je 0x1807fbdc
mov eax, dword [ebp - 0x18]
sub eax, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0xc], eax
cmp eax, 0x1000
jb 0x1807fbd3
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.18007b92
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 0x24]
pop ecx
pop ecx
push eax
push esi
call fcn.18122407
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18121ed8
leave
ret 0xc
Function at 0x180854d5
Capabilities:
Check for time delay via gettickcount
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x181d600c]
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 0x1808550c
call fcn.1801ba25
mov ebx, eax
jmp 0x180855e6
push 0x24
push dword [esi]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x180855cb
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 0x1808556b
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x180855d6
cmp eax, 3
je 0x1808556e
push 0x1c
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.18136b80
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x180855cb
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x180855d6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [ebp - 0x1c], 1
mov edi, eax
je 0x180855d6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x1f40
jae 0x180855bc
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1c
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.18136b80
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 0x18085581
jmp 0x180855bf
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x180855d6
mov ebx, 0x800705b4
jmp 0x180855d6
call fcn.1801ba25
mov ebx, eax
test esi, esi
je 0x180855dd
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.18121ed8
leave
ret

Function at 0x18085632
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x181d600c]
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 0x180856a6
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 0x1808569f
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 0x18085696
cmp dword [ebp - 0x1c], 4
je 0x18085694
cmp dword [ebp - 0x1c], 2
jne 0x18085696
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.18121ed8
leave
ret
Function at 0x18086a8b
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push esi
push 0x18086b20
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 0x18086af4
mov eax, dword [esi + 0x30]
push edi
mov edi, dword [esi + 0x2c]
mov dword [ebp - 0xc], eax
cmp edi, eax
je 0x18086af3
sub eax, edi
sar eax, 2
cmp eax, dword [esi + 0x38]
ja 0x18086af3
mov eax, dword [edi]
lea ecx, [esi + 0x20]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.1808715f
add edi, 4
cmp edi, dword [ebp - 0xc]
jne 0x18086ad8
xor ebx, ebx
pop edi
mov eax, dword [esi + 0x20]
cmp eax, dword [esi + 0x24]
jne 0x18086b09
mov eax, dword [esi + 0x2c]
cmp eax, dword [esi + 0x30]
je 0x18086b0b
cmp dword [esi + 0x38], ebx
jbe 0x18086b0b
mov bl, 1
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.18121ed8
leave
ret

Function at 0x18086ed0
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.18086a8b
test al, al
jne 0x18086f0a
mov eax, dword [esi]
push edi
push 0x18086e70
mov dword [esi + 4], eax
call dword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
je 0x18086f03
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jne 0x18086f0a
xor eax, eax
jmp 0x18086f9b
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 0x18086f99
mov esi, dword [eax]
push 0
push 0xf060
push 0x112
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
test eax, eax
je 0x18086f78
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
shr eax, 0x1d
test al, 1
je 0x18086f52
push 8
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x18086f63
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [edi + 0x40], 0
je 0x18086f71
push ebx
push esi
call dword [sym.imp.USER32.dll_FlashWindow]
mov cl, bl
mov byte [ebp - 1], cl
jmp 0x18086f7b
mov cl, byte [ebp - 1]
mov eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 8], eax
cmp eax, dword [ebp - 0xc]
jne 0x18086f20
test cl, cl
je 0x18086f99
push dword [ebp + 8]
mov ecx, edi
call fcn.18086699
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x18087050
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x181d600c]
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 0x1808707f
xor al, al
jmp 0x180870ea
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 0x180870de
mov esi, dword [ebx + 0x10]
jmp 0x180870c5
mov eax, dword [esi]
cmp eax, dword [ebp - 0x14]
jne 0x180870c2
mov eax, dword [ebp - 0x18]
mov ecx, edi
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.18018710
add esi, 4
cmp esi, dword [ebx + 0x14]
jne 0x180870aa
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 0x180870a5
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.18121ed8
leave
ret 4

Function at 0x180870fb
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 0x18087156
push ebx
push dword [ecx + edi*4]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x18087130
mov dl, 1
mov byte [ebp - 1], dl
jmp 0x18087133
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 0x1808711b
test dl, dl
je 0x18087156
push dword [ebp + 8]
mov ecx, esi
call fcn.18086699
neg eax
sbb ebx, ebx
inc ebx
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 4

Function at 0x18087306
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 0x18087331
test eax, eax
je 0x1808732c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 8], esi
mov eax, esi
test eax, eax
je 0x18087343
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
setne bl
pop edi
pop esi
mov al, bl
pop ebx
ret
Function at 0x18088741
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea ecx, [ebp - 0x88]
call fcn.1803e599
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea edx, [ebp - 0x88]
mov ecx, eax
call fcn.180ab24d
mov dword [esi], eax
test eax, eax
jns 0x180887ba
movzx ecx, byte [0x181dc05a]
neg ecx
sbb ecx, ecx
and ecx, 0x181dbf50
je 0x1808882e
push 7
pop eax
push 0xfffffffffffffffe
pop edx
push edx
push eax
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], edx
call fcn.18008b5d
push dword [esi]
push str._ParseCommandLine_failed___08x_
jmp 0x18088819
cmp dword [ebp - 0x88], 0xc
je 0x180887d1
cmp dword [ebp - 0x88], 0xe
je 0x180887d1
xor eax, eax
inc eax
jmp 0x180887d3
xor eax, eax
push eax
call dword [sym.imp.api_ms_win_core_winrt_l1_1_0.dll_RoInitialize]
mov dword [esi], eax
test eax, eax
jns 0x1808882e
movzx ecx, byte [0x181dc05a]
neg ecx
sbb ecx, ecx
and ecx, 0x181dbf50
je 0x1808882e
push 7
pop eax
push 0xfffffffffffffffe
pop edx
push edx
push eax
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], edx
call fcn.18008b5d
push dword [esi]
push str._RoInitialize_failed___08x_
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x98]
push eax
call fcn.18007230
add esp, 0xc
lea ecx, [ebp - 0x88]
call fcn.1803ea11
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.18121ed8
leave
ret
Function at 0x18089a6f
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov ecx, dword [edi]
cmp dword [ecx - 0xc], 3
jge 0x18089aa2
push str.DRIVE_UNKNOWN
mov ecx, ebx
call fcn.180074fa
jmp 0x18089bf3
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push 3
push eax
mov ecx, edi
call fcn.1800f94c
push 1
lea ecx, [ebp - 8]
call fcn.18009fe4
cmp ax, 0x3a
jne 0x18089bdc
push 2
lea ecx, [ebp - 8]
call fcn.18009fe4
cmp ax, 0x5c
jne 0x18089bdc
and dword [ebp - 0xc], 0
lea ecx, [ebp - 0xc]
call fcn.18014f43
mov esi, dword [ebp - 0xc]
cmp dword [esi - 0xc], 0
je 0x18089b6c
mov ecx, dword [edi]
mov edx, esi
call fcn.18016586
test al, al
je 0x18089b16
push str.DRIVE_SYS
mov ecx, ebx
call fcn.180074fa
lea ecx, [esi - 0x10]
call fcn.18006f72
jmp 0x18089be8
push 2
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
call fcn.1800f94c
mov ecx, dword [edi]
push 1
mov edx, dword [eax]
call fcn.180133e8
pop ecx
mov ecx, dword [ebp - 0x14]
mov bl, al
add ecx, 0xfffffff0
call fcn.18006f72
test bl, bl
je 0x18089b69
mov ecx, dword [ebp - 0x10]
push str.DRIVE_PRI
call fcn.180074fa
lea ecx, [esi - 0x10]
call fcn.18006f72
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18006f72
mov eax, dword [ebp - 0x10]
jmp 0x18089bf5
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
sub eax, 0
je 0x18089bd5
sub eax, 1
je 0x18089bce
sub eax, 1
je 0x18089bc7
sub eax, 1
je 0x18089bc0
sub eax, 1
je 0x18089bb9
sub eax, 1
je 0x18089bb2
sub eax, 1
jne 0x18089bd5
push str.DRIVE_RAMDISK
mov ecx, ebx
call fcn.180074fa
lea ecx, [esi - 0x10]
call fcn.18006f72
lea ecx, [edi - 0x10]
jmp 0x18089bee
push str.DRIVE_CDROM
jmp 0x18089b9e
push str.DRIVE_REMOTE
jmp 0x18089b9e
push str.DRIVE_FIXED
jmp 0x18089b9e
push str.DRIVE_REMOVABLE
jmp 0x18089b9e
push str.DRIVE_NO_ROOT_DIR
jmp 0x18089b9e
push str.DRIVE_UNKNOWN
jmp 0x18089b9e
push str.DRIVE_UNKNOWN
mov ecx, ebx
call fcn.180074fa
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18006f72
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18121ed8
leave
ret

Function at 0x1808ae6b
Capabilities:
Inspect section memory permissions

Disassembly:
add edi, eax
movzx eax, word [edi + 0x14]
lea esi, [eax + edi + 0x18]
mov dword [ebp - 0x44], esi
call fcn.1808ac6c
sbb bl, byte [ecx + ebp*2 + 0x55]
movzx eax, word [edi + 6]
lea eax, [eax + eax*4]
shl eax, 3
sub eax, dword [ebp + 0x10]
add eax, esi
mov dword [ebp - 0xb4], eax

Function at 0x1808aed4
Capabilities:
Contain obfuscated stackstrings
Inspect section memory permissions

Disassembly:
insb byte es:[edi], dx
invalid
inc ebp
lodsb al, byte [esi]
loopne 0x1808ae9e
inc ebp
lodsd eax, dword [esi]
ret 0x45c6
Function at 0x1808b133
Capabilities:
Inspect section memory permissions

Disassembly:
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.1808ac6c
adc al, cl
popal
lea eax, [ebp - 0x84]
push eax
call fcn.1808ac7c
push eax
push esi
push dword [ebp + 8]
call fcn.1808ac31
add esp, 0x10
mov dword [ebp - 0xc0], eax
push 0x40
push 0x1000
push dword [ebp + 0xc]
push ebx
call dword [ebp - 0x88]
mov esi, eax
cmp esi, ebx
je 0x1808b465
push dword [ebp - 0xb4]
push dword [ebp + 0x10]
push esi
call fcn.1808abdd
add esp, 0xc
cmp word [edi + 6], bx
mov dword [ebp + 0xc], ebx
jbe 0x1808b1dc
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add ecx, dword [ebp + 0x10]
add eax, esi
push ecx
push eax
invalid
invalid
Function at 0x1808da72
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 [0x181663e8]
mov ecx, edi
call esi
mov ecx, eax
test ecx, ecx
jne 0x1808dace
push 0x4a9
push str.D:_a_work1omaha_src_third_party_breakpad_srcprocessorminidump.cc
push ebx
push 0x181db818
lea ecx, [ebp - 8]
call fcn.1809c705
mov edx, str.MinidumpContext_could_not_be_compared_against_MinidumpSystemInfo
mov ecx, dword [eax]
call fcn.18026509
push dword [ebp - 8]
call fcn.180977d9
pop ecx
mov al, 1
jmp 0x1808dc53
lea eax, [ecx + 0x10]
movzx ecx, byte [ecx + 4]
neg ecx
sbb ecx, ecx
and ecx, eax
jne 0x1808db11
push 0x4b1
push str.D:_a_work1omaha_src_third_party_breakpad_srcprocessorminidump.cc
push ebx
push 0x181db818
lea ecx, [ebp - 8]
call fcn.1809c705
mov edx, str.MinidumpContext_could_not_be_compared_against_MDRawSystemInfo
mov ecx, dword [eax]
call fcn.18026509
push dword [ebp - 8]
call fcn.180977d9
pop ecx
xor al, al
jmp 0x1808dc53
movzx edi, word [ecx]
mov edx, 0x1000000
mov ecx, dword [ebp + 8]
xor eax, eax
cmp ecx, edx
ja 0x1808db87
je 0x1808db7f
cmp ecx, 0x10000
je 0x1808db66
cmp ecx, 0x40000
je 0x1808db61
cmp ecx, 0x80000
je 0x1808db56
cmp ecx, 0x100000
je 0x1808db51
cmp ecx, 0x400000
jne 0x1808dbc2
cmp edi, 0xc
jmp 0x1808dbbb
cmp edi, 9
jmp 0x1808dbbb
cmp edi, 0x8004
jmp 0x1808dc60
cmp edi, 1
jmp 0x1808dbbb
test edi, edi
je 0x1808dc66
cmp edi, 0xa
je 0x1808dc66
cmp edi, 9
jmp 0x1808dc60
cmp edi, 0x8002
jmp 0x1808dbbb
cmp ecx, 0x10000000
je 0x1808dc5a
cmp ecx, 0x20000000
je 0x1808dbb8
cmp ecx, 0x40000000
je 0x1808dbb3
cmp ecx, 0x80000000
jne 0x1808dbc2
cmp edi, 0x8003
jmp 0x1808dbbb
cmp edi, 5
jmp 0x1808dbbb
cmp edi, 3
sete bl
test bl, bl
jne 0x1808dc32
push 0x4f3
push str.D:_a_work1omaha_src_third_party_breakpad_srcprocessorminidump.cc
push 1
push 0x181db920
lea ecx, [ebp - 0xc]
call fcn.1809c705
mov edx, str.MinidumpContext_CPU
mov ecx, dword [eax]
call fcn.18026509
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x3c]
mov esi, eax
call fcn.1809c8d3
mov edx, eax
mov ecx, esi
call fcn.18039d61
mov edx, str._wrong_for_MinidumpSystemInfo_CPU
mov ecx, eax
call fcn.18026509
mov edx, edi
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.1809c996
mov edx, eax
mov ecx, esi
call fcn.18039d61
push 0x1c
pop eax
and eax, 0xffffffef
lea ecx, [ebp - 0x24]
mov dword [ebp - 8], eax
call fcn.18014acd
mov eax, dword [ebp - 8]
test al, 8
je 0x1808dc44
lea ecx, [ebp - 0x3c]
mov dword [ebp - 8], eax
call fcn.18014acd
mov eax, dword [ebp - 8]
test al, 4
je 0x1808dc51
push dword [ebp - 0xc]
call fcn.180977d9
pop ecx
mov al, bl
pop edi
pop esi
pop ebx
leave
ret 4
cmp edi, 0x8001
jne 0x1808dbc2
mov bl, 1
jmp 0x1808dc32
Function at 0x18095500
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 0x18095527
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.180382d0
jmp 0x180955f0
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 0x1809554f
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x18095555
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 0x180955bd
jg 0x1809556c
test esi, esi
je 0x180955bd
test ecx, ecx
jl 0x180955b8
jg 0x18095576
test eax, eax
je 0x180955b8
cmp edi, ecx
jg 0x1809558a
jl 0x18095580
cmp esi, eax
jae 0x1809558a
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.18136600
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 0x180955c0
mov ecx, dword [ebp + 8]
jmp 0x180955ca
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x180955e4
jg 0x180955ca
test esi, esi
je 0x180955e4
cmp dword [ebx + 0x4c], 0
je 0x180955e4
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.1815f12a
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