joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1801ec29
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
movzx ecx, byte [0x180fb8f9]
sub esp, 0x1c
push ebx
push esi
neg ecx
push edi
sbb ecx, ecx
and ecx, 0x180fbba0
push 2
pop edi
je 0x1801ec86
push 3
pop esi
push esi
push edi
mov dword [ebp - 0x1c], ecx
call fcn.18001d8a
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], edi
call fcn.18055ca3
pop ecx
push dword [eax]
lea eax, [ebp - 0x1c]
push str._DeleteService___s_
push eax
call fcn.18001000
mov eax, dword [ebp - 8]
add esp, 0xc
add eax, 0xfffffff0
call fcn.18004250
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
test eax, eax
jne 0x1801eca6
call fcn.1800fc86
pop edi
pop esi
pop ebx
leave
ret
lea eax, [ebp - 0xc]
push eax
call fcn.18055ca3
mov eax, dword [eax]
mov dword [esp], 0x10002
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.18004250
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test ebx, ebx
jne 0x1801ece9
call fcn.1800fc86
mov edi, eax
push dword [ebp - 8]
call esi
mov eax, edi
jmp 0x1801eca1
push ebx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x1801ed49
call fcn.1800fc86
movzx ecx, byte [0x180fb8f9]
neg ecx
sbb ecx, ecx
and ecx, 0x180fbba0
mov dword [ebp - 4], eax
je 0x1801ed38
push 0xffffffffffffffff
push edi
mov dword [ebp - 0x1c], ecx
call fcn.18001d8a
push dword [ebp - 4]
or dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push str._DeleteService_failed__0x_x_
push eax
mov dword [ebp - 0x10], edi
call fcn.18001000
add esp, 0xc
cmp dword [ebp - 4], 0x80070430
je 0x1801ed49
push ebx
call esi
mov edi, dword [ebp - 4]
jmp 0x1801ece0
push ebx
call esi
xor edi, edi
jmp 0x1801ece0
Function at 0x1801ed50
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, eax
push esi
push edi
mov ecx, ebx
call fcn.180203ef
test al, al
je 0x1801ed6d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
test eax, eax
jne 0x1801ed8a
call fcn.1800fc86
jmp 0x1801ed68
lea eax, [ebp - 4]
push eax
call fcn.18055ca3
mov dword [esp], 0xf01ff
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
test edi, edi
jne 0x1801edcd
call fcn.1800fc86
mov edi, eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.18004250
push dword [ebp - 8]
call esi
mov eax, edi
jmp 0x1801ed68
lea eax, [ebp - 0xc]
push eax
push 1
push edi
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
test eax, eax
jne 0x1801edef
call fcn.1800fc86
push edi
mov ebx, eax
call esi
mov edi, ebx
jmp 0x1801edb9
movzx ecx, byte [0x180fb8f9]
neg ecx
sbb ecx, ecx
and ecx, 0x180fbba0
je 0x1801ee2d
push 3
push 2
pop ebx
push ebx
mov dword [ebp - 0x1c], ecx
call fcn.18001d8a
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push str._service_description_changed_successfully_
push eax
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x10], ebx
call fcn.18001000
pop ecx
pop ecx
push edi
call esi
xor edi, edi
jmp 0x1801edb9
Function at 0x1801f544
Capabilities:
Create service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
push 0xf003f
xor esi, esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x10], eax
cmp eax, esi
jne 0x1801f5c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, byte [0x180fb8f9]
neg ecx
sbb ecx, ecx
and ecx, 0x180fbba0
mov ebx, eax
je 0x1801f5ab
push 0xfffffffffffffffe
pop edi
push edi
push 2
pop esi
push esi
mov dword [ebp - 0x20], ecx
call fcn.18001d8a
push ebx
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push str._Failed_to_open_SC_Manager___u_
push eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], esi
call fcn.18001000
add esp, 0xc
xor esi, esi
cmp ebx, esi
jle 0x1801f5bb
and ebx, 0xffff
or ebx, 0x80070000
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
lea eax, [ebp - 0xc]
push eax
call fcn.18055bd3
pop ecx
lea eax, [ebp - 8]
call fcn.18020ef1
push esi
push esi
push str.RPCSS
push esi
push esi
push dword [ebp + 8]
xor edi, edi
inc edi
push edi
push 2
pop esi
push esi
push 0x10
push 0xf01ff
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov ebx, eax
test ebx, ebx
jne 0x1801f67f
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, byte [0x180fb8f9]
neg ecx
sbb ecx, ecx
and ecx, 0x180fbba0
mov ebx, eax
je 0x1801f647
push 0xfffffffffffffffe
pop edi
push edi
push esi
mov dword [ebp - 0x20], ecx
call fcn.18001d8a
push ebx
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push str._CreateService_failed___u_
push eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], esi
call fcn.18001000
add esp, 0xc
test ebx, ebx
jle 0x1801f657
and ebx, 0xffff
or ebx, 0x80070000
mov esi, ebx
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.18004250
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.18004250
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
jmp 0x1801f5bd
movzx ecx, byte [0x180fb8f9]
neg ecx
sbb ecx, ecx
and ecx, 0x180fbba0
je 0x1801f6b5
push edi
push esi
mov dword [ebp - 0x20], ecx
call fcn.18001d8a
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push str._DoInstallNewService__service_installed_
push eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], esi
call fcn.18001000
pop ecx
pop ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor esi, esi
jmp 0x1801f659
Function at 0x1801fe1e
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
push 0xf003f
xor esi, esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x10], eax
cmp eax, esi
jne 0x1801fe9a
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, byte [0x180fb8f9]
neg ecx
sbb ecx, ecx
and ecx, 0x180fbba0
mov ebx, eax
je 0x1801fe83
push 0xfffffffffffffffe
pop edi
push edi
push 2
pop esi
push esi
mov dword [ebp - 0x20], ecx
call fcn.18001d8a
push ebx
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push str._Failed_to_open_SC_Manager___u_
push eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], esi
call fcn.18001000
add esp, 0xc
test ebx, ebx
jle 0x1801fe93
and ebx, 0xffff
or ebx, 0x80070000
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
lea eax, [ebp - 0xc]
push eax
call fcn.18055ca3
pop ecx
lea eax, [ebp - 8]
call fcn.180211fa
push esi
push esi
push str.RPCSS
push esi
push esi
push dword [ebp + 8]
xor edi, edi
inc edi
push edi
push 3
push 0x10
push 0xf01ff
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov ebx, eax
cmp ebx, esi
jne 0x1801ff58
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, byte [0x180fb8f9]
neg ecx
sbb ecx, ecx
and ecx, 0x180fbba0
mov ebx, eax
je 0x1801ff20
push 0xfffffffffffffffe
pop edi
push edi
push 2
pop esi
push esi
mov dword [ebp - 0x20], ecx
call fcn.18001d8a
push ebx
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push str._CreateService_failed___u_
push eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], esi
call fcn.18001000
add esp, 0xc
test ebx, ebx
jle 0x1801ff30
and ebx, 0xffff
or ebx, 0x80070000
mov esi, ebx
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.18004250
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.18004250
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
jmp 0x1801fe95
movzx ecx, byte [0x180fb8f9]
neg ecx
sbb ecx, ecx
and ecx, 0x180fbba0
je 0x1801ff91
push edi
push 2
pop esi
push esi
mov dword [ebp - 0x20], ecx
call fcn.18001d8a
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push str._DoInstallNewService__service_installed_
push eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], esi
call fcn.18001000
pop ecx
pop ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor esi, esi
jmp 0x1801ff32
Function at 0x1802156a
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x180f51f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x204]
push 0xff
push 0x100
push eax
mov esi, ecx
call fcn.1809d7f5
xor eax, eax
mov word [ebp - 6], ax
xor edi, edi
add esp, 0x14
lea eax, [ebp - 0x204]
mov dword [ebp - 0x208], eax
cmp dword [esi + 0x260], edi
jne 0x180215c4
push eax
call fcn.180a0a2e
pop ecx
add esi, 0x40
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
cmp esi, edi
je 0x180215f3
push edi
lea eax, [ebp - 0x208]
push eax
push edi
push 1
push edi
push edi
push edi
push 4
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1809ccb5
leave
ret

Function at 0x18021f28
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
movzx ecx, byte [0x180fb8f9]
sub esp, 0x18
neg ecx
sbb ecx, ecx
and ecx, 0x180fbba0
push ebx
push esi
je 0x18021f6c
push 3
pop ebx
push ebx
push 7
pop esi
push esi
mov dword [ebp - 0x14], ecx
call fcn.18001d8a
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push str._StartMonitor_
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
call fcn.18001000
pop ecx
pop ecx
xor esi, esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x30], eax
cmp eax, esi
jne 0x18021f83
xor eax, eax
jmp 0x18021faa
lea eax, [ebp - 4]
push eax
push esi
push edi
push 0x18021fae
push esi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
cmp ebx, esi
jne 0x18021fa8
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop esi
pop ebx
leave
ret

Function at 0x18022806
Capabilities:
Delete registry key

Disassembly:
cmp byte [0x180fc174], 0
jne 0x18022836
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1802282f
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x180fc178], eax
mov byte [0x180fc174], 1
mov eax, dword [0x180fc178]
test eax, eax
je 0x1802284e
push 0
push dword [esi + 4]
push dword [esp + 0xc]
push dword [esi]
call eax
jmp 0x1802285a
push dword [esp + 4]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
ret 4
Function at 0x1802285d
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x180f51f0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 4]
push ecx
push dword [edi]
mov dword [ebp - 0x21c], ecx
xor esi, esi
or eax, 0x2001f
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
call fcn.180227c8
mov ebx, eax
cmp ebx, esi
je 0x180228c6
lea esi, [ebp - 0x214]
call fcn.1802293f
mov eax, ebx
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1809ccb5
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x180228e4
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x214]
call fcn.1802285d
cmp eax, esi
jne 0x1802292b
lea eax, [ebp - 0x224]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x214]
mov dword [ebp - 0x218], 0x100
call ebx
test eax, eax
je 0x180228ce
lea esi, [ebp - 0x214]
call fcn.1802293f
push dword [ebp - 0x21c]
mov esi, edi
call fcn.18022806
lea esi, [ebp - 0x214]
mov edi, eax
call fcn.1802293f
mov eax, edi
jmp 0x180228b5

Function at 0x18022986
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x18022994
push 0xd
pop eax
jmp 0x180229c7
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x1802299b
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x180250f6
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx ecx, byte [0x180fb8f9]
and dword [ebp - 8], 0
push ebx
push esi
neg ecx
push edi
sbb ecx, ecx
and ecx, 0x180fbba0
push 4
pop ebx
je 0x18025145
push 3
pop esi
push esi
push ebx
mov dword [ebp - 0x18], ecx
call fcn.18001d8a
mov dword [ebp - 0x14], eax
movzx eax, byte [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push str._Crash::InstallCrashHandler__is_machine__d_
push eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], ebx
call fcn.18001000
add esp, 0xc
mov al, byte [ebp + 8]
call fcn.18025031
mov edi, eax
test edi, edi
jge 0x18025195
movzx ecx, byte [0x180fb8f9]
neg ecx
sbb ecx, ecx
and ecx, 0x180fbba0
je 0x1802518e
push 0xfffffffffffffffe
pop esi
push esi
push ebx
mov dword [ebp - 0x18], ecx
call fcn.18001d8a
push edi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push str._failed_to_initialize_Crash__0x_08x_
push eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], ebx
call fcn.18001000
add esp, 0xc
mov eax, edi
jmp 0x18025292
push 0
push 0
push str.GOOGLE_UPDATE_NO_CRASH_HANDLER
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x18025290
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xcb
je 0x180251cf
test eax, eax
jle 0x180251c9
and eax, 0xffff
or eax, 0x80070000
test eax, eax
jl 0x18025290
mov eax, dword [0x180fb938]
test eax, eax
je 0x180251e7
push eax
mov esi, eax
call fcn.1805c06c
push esi
call fcn.1809ccaa
pop ecx
call fcn.1806dbba
call fcn.1806eb54
movzx esi, al
neg esi
sbb esi, esi
push 0xcc
and esi, 2
call fcn.1809d904
mov edi, eax
pop ecx
test edi, edi
je 0x18025234
push dword [0x180fbca8]
lea eax, [ebp - 0x24]
call fcn.18026ef3
push esi
lea eax, [ebp - 0x24]
push eax
mov eax, edi
mov dword [ebp - 8], 1
call fcn.1805be1e
mov dword [0x180fb938], eax
jmp 0x1802523b
and dword [0x180fb938], 0
test byte [ebp - 8], 1
je 0x1802524d
push 0
push 1
lea esi, [ebp - 0x24]
call fcn.18027253
movzx ecx, byte [0x180fb8f9]
neg ecx
sbb ecx, ecx
and ecx, 0x180fbba0
mov dword [0x180fb92c], 0x180264a5
je 0x18025290
push 2
pop esi
push esi
push ebx
mov dword [ebp - 0x18], ecx
call fcn.18001d8a
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push str._exception_handler_has_been_installed_
push eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], ebx
call fcn.18001000
pop ecx
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x18025630
Capabilities:
Create process on windows
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
push ebx
push esi
push edi
push 8
pop eax
lea edi, [ebp - 0x4c]
call fcn.180726ad
mov al, byte [ebp + 8]
mov byte [ebp - 0x48], al
mov eax, dword [ebp + 0xc]
lea edi, [ebp - 0x34]
call fcn.18003d26
mov al, byte [0x180fb940]
mov byte [ebp - 0x47], al
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x180fbca4
call fcn.18072a51
push 0x180ca028
push str.GOOGLE_UPDATE_NO_CRASH_HANDLER
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
je 0x180256e4
push 0x40
xor ebx, ebx
lea eax, [ebp - 0x94]
push ebx
push eax
mov dword [ebp - 0x98], 0x44
call fcn.1809d820
xor eax, eax
mov dword [ebp - 0x14], ebx
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x98]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea esi, [ebp - 4]
call fcn.1800a9a4
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x180256e4
push dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.18004250
lea esi, [ebp - 0x4c]
call fcn.1807273a
pop edi
pop esi
pop ebx
leave
ret
Function at 0x180256fc
Capabilities:
Create process on windows
Create process suspended
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
xor ebx, ebx
mov dword [ebp - 0x10], esi
cmp esi, ebx
jne 0x18025720
call fcn.1800fc86
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [0x180fa268]
mov ecx, 0x180fa268
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 8], eax
push str.GOOGLE_UPDATE_NO_CRASH_HANDLER
lea eax, [ebp - 8]
push eax
call fcn.18003097
push 0x180ccd70
lea eax, [ebp - 8]
push eax
call fcn.18003097
xor edi, edi
jmp 0x18025760
push esi
call fcn.1809d315
inc eax
pop ecx
add edi, eax
lea esi, [esi + eax*2]
cmp word [esi], bx
jne 0x18025753
mov eax, dword [ebp - 8]
mov esi, dword [eax - 0xc]
inc edi
inc esi
xor ecx, ecx
push 2
pop edx
lea eax, [esi + edi]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1809db14
add esi, esi
push esi
push dword [ebp - 8]
mov dword [ebp - 0xc], eax
push eax
call fcn.1809cfb0
lea eax, [edi + edi]
push eax
mov eax, dword [ebp - 0xc]
push dword [ebp - 0x10]
add esi, eax
push esi
call fcn.1809cfb0
add esp, 0x1c
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0x40
lea eax, [ebp - 0x68]
push ebx
push eax
mov dword [ebp - 0x6c], 0x44
call fcn.1809d820
xor eax, eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x20], ebx
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x6c]
push eax
push ebx
push dword [ebp - 0xc]
push 0x400
push ebx
push ebx
push ebx
call fcn.1800a9a4
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1802581c
call fcn.1800fc86
mov ebx, eax
push dword [ebp - 0xc]
call fcn.1809ccc4
mov eax, dword [ebp - 8]
pop ecx
add eax, 0xfffffff0
call fcn.18004250
mov eax, ebx
jmp 0x1802571b
push dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1c]
call esi
jmp 0x18025801
Function at 0x18025da6
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
mov esi, ecx
jne 0x18025dc5
mov eax, 0x80070057
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [0x180fa268]
mov ecx, 0x180fa268
call dword [eax + 0xc]
push dword [edi]
add eax, 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push str._s_last.dmp
push eax
call fcn.1800e18a
lea eax, [ebp - 8]
push eax
mov eax, 0x180fbca8
lea ebx, [ebp - 4]
call fcn.1800bc24
mov eax, dword [ebp - 4]
add esp, 0x10
cmp dword [eax - 0xc], 0
jne 0x18025e24
mov esi, 0x80040709
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.18004250
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.18004250
mov eax, esi
jmp 0x18025dc0
movzx ecx, byte [0x180fb8f9]
neg ecx
sbb ecx, ecx
and ecx, 0x180fbba0
je 0x18025e66
push 2
pop edi
push edi
push 4
pop ebx
push ebx
mov dword [ebp - 0x18], ecx
call fcn.18001d8a
push dword [esi]
mov dword [ebp - 0x14], eax
push dword [ebp - 4]
lea eax, [ebp - 0x18]
push str._Crash::SaveLastCrash__to__s__from__s_
push eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], ebx
call fcn.18001000
add esp, 0x10
mov esi, dword [esi]
push 0
push dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x18025e7c
xor eax, eax
jmp 0x18025e81
call fcn.1800fc86
mov esi, eax
jmp 0x18025e0a
Function at 0x18025e85
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x180f51f0]
xor eax, ebp
mov dword [ebp - 4], eax
movzx ecx, byte [0x180fb8f9]
neg ecx
push ebx
sbb ecx, ecx
and ecx, 0x180fbba0
push esi
push edi
je 0x18025ed7
push 3
pop edi
push edi
push 4
pop esi
push esi
mov dword [ebp - 0x80], ecx
call fcn.18001d8a
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x80]
push str._Crash::CleanStaleCrashes_
push eax
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], esi
call fcn.18001000
pop ecx
pop ecx
push 0x14
pop ecx
mov esi, str.____________________________________.dmp
lea edi, [ebp - 0x60]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea esi, [ebp - 0xa0]
call fcn.18064a86
mov ecx, dword [0x180fbca8]
mov eax, esi
push eax
lea edx, [ebp - 0x60]
call fcn.1800c461
pop ecx
test eax, eax
jge 0x18025f31
mov edi, eax
lea esi, [ebp - 0xa0]
call fcn.1807416f
push dword [ebp - 0xa0]
call fcn.1809ccaa
pop ecx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1809ccb5
leave
ret
call fcn.1800b079
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x90]
sub eax, dword [ebp - 0x94]
xor ebx, ebx
mov dword [ebp - 0x84], edx
test eax, 0xfffffffc
je 0x18026066
movzx ecx, byte [0x180fb8f9]
neg ecx
sbb ecx, ecx
and ecx, 0x180fbba0
je 0x18025fb6
push 3
pop edi
push edi
push 4
pop esi
push esi
mov dword [ebp - 0xb0], ecx
call fcn.18001d8a
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xa4], esi
mov edi, ebx
lea esi, [ebp - 0xa0]
mov dword [ebp - 0xac], eax
call fcn.1800a9bb
push dword [eax]
lea eax, [ebp - 0xb0]
push str._found_crash_file___s_
push eax
call fcn.18001000
add esp, 0xc
and dword [ebp - 0x70], 0
xor eax, eax
lea edi, [ebp - 0x6c]
stosd dword es:[edi], eax
mov edi, ebx
lea esi, [ebp - 0xa0]
call fcn.1800a9bb
mov eax, dword [eax]
push 0
lea ecx, [ebp - 0x70]
push ecx
push eax
call fcn.1800d38d
add esp, 0xc
test eax, eax
jl 0x1802604e
mov edx, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x6c]
xor eax, eax
or eax, edx
mov edx, dword [ebp - 0x88]
xor esi, esi
or ecx, esi
sub edx, eax
mov eax, dword [ebp - 0x84]
sbb eax, ecx
and dword [ebp - 0x68], esi
mov dword [ebp - 0x64], eax
and dword [ebp - 0x64], 0x80000000
and eax, 0x7fffffff
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x74], eax
fild qword [ebp - 0x78]
fild qword [ebp - 0x68]
push ecx
push ecx
fchs
faddp st(1)
fstp qword [esp]
call fcn.180a0b17
fcomp qword [0x180f08f0]
pop ecx
pop ecx
fnstsw ax
test ah, 1
jne 0x1802604e
lea esi, [ebp - 0xa0]
call fcn.1800a9bb
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x90]
sub eax, dword [ebp - 0x94]
inc ebx
sar eax, 2
cmp ebx, eax
jne 0x18025f5b
xor edi, edi
jmp 0x18025f09