joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1c81d15
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xbc
mov esi, ecx
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0xb], 0
mov eax, ecx
jns 0x1c81d37
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
jne 0x1c81e1a
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1c81d72
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8b52d
mov ecx, esi
add esp, 0xbc
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.01c81e31
push 2
call fcn.01c4d1b0
add esp, 4
test al, al
je 0x1c81e18
call fcn.01c4dab0
lea ecx, [ebp - 0xbc]
push eax
push 2
push 0x25e
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.01c4dc50
lea eax, [ebp - 0xb4]
push 0x10
push str.CreateDirectory
push eax
call fcn.01c23744
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x1c81dc6
mov eax, dword [esi + 4]
mov esi, dword [esi]
lea ebx, [ebp - 0xc8]
push eax
push esi
push ebx
call fcn.01c45970
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x1c81deb
mov eax, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0xc8]
push eax
push ebx
push edi
call fcn.01c23744
add esp, 0xc
cmp byte [ebp - 0xbd], 0
jns 0x1c81e0d
push dword [ebp - 0xc8]
call fcn.01c8b528
add esp, 4
lea ecx, [ebp - 0xbc]
call fcn.01c4dd00
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8b52d
mov eax, ebx
add esp, 0xbc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1c81e31
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xbc
mov esi, ecx
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0xb], 0
mov eax, ecx
jns 0x1c81e53
mov eax, dword [esi]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1c81f22
mov bl, 1
test al, 0x10
jne 0x1c81fca
push 2
call fcn.01c4d1b0
add esp, 4
test al, al
je 0x1c81fc8
lea ecx, [ebp - 0xbc]
push 2
push 0x24d
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.01c4d250
lea eax, [ebp - 0xb4]
push 0x12
push str.GetFileAttributes
push eax
call fcn.01c23744
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x1c81ebb
mov eax, dword [esi + 4]
mov esi, dword [esi]
lea ebx, [ebp - 0xc8]
push eax
push esi
push ebx
call fcn.01c45970
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x1c81ee0
mov eax, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0xc8]
push eax
push ebx
push edi
call fcn.01c23744
add esp, 0xc
push 0x11
push str.:_not_a_directory
push eax
call fcn.01c23744
add esp, 0xc
cmp byte [ebp - 0xbd], 0
jns 0x1c81f12
push dword [ebp - 0xc8]
call fcn.01c8b528
add esp, 4
lea ecx, [ebp - 0xbc]
call fcn.01c4d620
jmp 0x1c81fc8
push 2
call fcn.01c4d1b0
add esp, 4
test al, al
je 0x1c81fc8
call fcn.01c4dab0
lea ecx, [ebp - 0xbc]
push eax
push 2
push 0x249
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.01c4dc50
lea eax, [ebp - 0xb4]
push 0x12
push str.GetFileAttributes
push eax
call fcn.01c23744
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x1c81f76
mov eax, dword [esi + 4]
mov esi, dword [esi]
lea ebx, [ebp - 0xc8]
push eax
push esi
push ebx
call fcn.01c45970
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x1c81f9b
mov eax, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0xc8]
push eax
push ebx
push edi
call fcn.01c23744
add esp, 0xc
cmp byte [ebp - 0xbd], 0
jns 0x1c81fbd
push dword [ebp - 0xc8]
call fcn.01c8b528
add esp, 4
lea ecx, [ebp - 0xbc]
call fcn.01c4dd00
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8b52d
mov eax, ebx
add esp, 0xbc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1c83428
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [ebp - 0x10], eax
movups xmm0, xmmword [edx]
movups xmmword [ebp - 0x30], xmm0
mov esi, dword [ecx + 0x1c]
mov ebx, dword [ecx + 0x20]
movups xmmword [ebp - 0x20], xmm0
cmp esi, ebx
je 0x1c8347e
mov dword [ebp - 0x34], ecx
lea edi, [ebp - 0x20]
mov ecx, esi
push edi
call fcn.01c859d8
test al, al
jne 0x1c8346b
add esi, 0x58
cmp ebx, esi
jne 0x1c83456
mov esi, ebx
mov eax, dword [ebp - 0x34]
cmp esi, dword [eax + 0x20]
je 0x1c8347e
cmp byte [esi + 0x1b], 0
jns 0x1c83483
mov eax, dword [esi + 0x10]
jmp 0x1c83486
xor edi, edi
inc edi
jmp 0x1c834a9
lea eax, [esi + 0x10]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ecx, eax
shr ecx, 3
and ecx, 2
xor edi, edi
inc edi
cmp eax, 0xffffffff
cmovne edi, ecx
test edi, edi
jne 0x1c834a9
mov eax, dword [ebp + 8]
mov dword [eax], esi
xor edi, edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8b52d
mov eax, edi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1c84802
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 0x50]
cmp eax, edx
jne 0x1c84817
cmp byte [ecx + 0x1b], 0
jns 0x1c84825
mov ecx, dword [ecx + 0x10]
jmp 0x1c84828
xor ecx, ecx
cmp eax, 1
sete cl
lea eax, [ecx + ecx*2]
inc eax
jmp 0x1c84842
add ecx, 0x10
push ecx
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ecx, eax
mov edx, eax
shr edx, 3
and edx, 2
xor eax, eax
inc eax
cmp ecx, 0xffffffff
cmovne eax, edx
pop ebp
ret
Function at 0x1c85f98
Capabilities:
Check os version
Create pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov esi, dword [ebp + 8]
mov al, byte [ebp + 0xc]
mov ecx, dword [0x1cea148]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
xor ecx, ecx
dec ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
xor edi, edi
mov ebx, 3
test al, al
je 0x1c85ffd
call dword [sym.imp.kernel32.dll_GetVersion]
and eax, 0xfe
mov ebx, 0x80003
cmp eax, 6
jb 0x1c85ffd
lea edi, [ebp - 0x1c]
mov dword [edi], 0xc
mov dword [esp], 0
call fcn.01c86043
mov dword [edi + 4], eax
mov dword [edi + 8], 1
cmp byte [esi + 0xb], 0
jns 0x1c86005
mov esi, dword [esi]
mov dword [esp + 0x1c], edi
movaps xmm0, xmmword [0x1cc1f70]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], ebx
mov dword [esp], esi
mov dword [esp + 0x18], 0
call dword [sym.imp.kernel32.dll_CreateNamedPipeW]
sub esp, 0x20
mov esi, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8b52d
mov eax, esi
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1c86258
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb0
mov esi, dword [ebp + 8]
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [ebp - 0x10], eax
call dword [sym.imp.kernel32.dll_GetVersion]
mov ecx, eax
and ecx, 0xfe
cmp ecx, 6
jb 0x1c86319
and eax, 0xfeff
cmp eax, 6
je 0x1c86319
mov eax, dword [0x1ced988]
mov ecx, dword [0x1ced9a0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 8]
jg 0x1c86339
push 0x10000000
push 0
push esi
call dword [0x1ced984]
mov esi, eax
test eax, eax
jne 0x1c86312
push 2
call fcn.01c4d1b0
add esp, 4
test al, al
je 0x1c86312
call fcn.01c4dab0
lea edi, [ebp - 0xbc]
mov ecx, edi
push eax
push 2
push 0x21
push str..._.._third_party_crashpad_crashpad_util_win_critical_section_with_debug_info.cc
call fcn.01c4dc50
lea eax, [ebp - 0xb4]
push 0x1b
push 0x1cc21ad
push eax
call fcn.01c23744
add esp, 0xc
mov ecx, edi
call fcn.01c4dd00
test esi, esi
setne bl
jmp 0x1c86322
push esi
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8b52d
mov eax, ebx
add esp, 0xb0
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x1ced988
call fcn.01c92118
add esp, 4
cmp dword [0x1ced988], 0xffffffff
jne 0x1c862b7
push 1
push str.::InitializeCriticalSectionEx
push 0x1cb52f0
call fcn.01c865bc
add esp, 0xc
mov dword [0x1ced984], eax
push 0x1ced988
call fcn.01c92118
add esp, 4
jmp 0x1c862b7

Function at 0x1c86380
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xa0]
mov eax, dword [eax + 0xc]
mov ecx, dword fs:[0x18]
cmp eax, dword [ecx + 0x24]
sete al
pop ebp
ret
Function at 0x1c86806
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xbc
mov edi, dword [ebp + 8]
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x1c86829
mov eax, dword [edi]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1c86852
mov ebx, eax
bt eax, 0xa
jae 0x1c86847
cmp byte [ebp + 0xc], 0
je 0x1c868f8
and ebx, 0x10
shr ebx, 4
jmp 0x1c868fa
push 2
call fcn.01c4d1b0
add esp, 4
test al, al
je 0x1c868f8
call fcn.01c4dab0
lea ecx, [ebp - 0xbc]
push eax
push 2
push 0x81
push str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
call fcn.01c4dc50
lea eax, [ebp - 0xb4]
push 0x12
push str.GetFileAttributes
push eax
call fcn.01c23744
add esp, 0xc
mov esi, eax
movzx eax, byte [edi + 0xb]
test al, al
jns 0x1c868a6
mov eax, dword [edi + 4]
mov edi, dword [edi]
lea ebx, [ebp - 0xc8]
push eax
push edi
push ebx
call fcn.01c45970
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x1c868cb
mov eax, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0xc8]
push eax
push ebx
push esi
call fcn.01c23744
add esp, 0xc
cmp byte [ebp - 0xbd], 0
jns 0x1c868ed
push dword [ebp - 0xc8]
call fcn.01c8b528
add esp, 4
lea ecx, [ebp - 0xbc]
call fcn.01c4dd00
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8b52d
mov eax, ebx
add esp, 0xbc
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1c86911
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xbc
mov edi, dword [ebp + 8]
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x1c86934
mov eax, dword [edi]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1c86959
test eax, 0x410
sete bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8b52d
mov eax, ebx
jmp 0x1c86a08
push 2
call fcn.01c4d1b0
add esp, 4
test al, al
je 0x1c869fc
call fcn.01c4dab0
lea ecx, [ebp - 0xbc]
push eax
push 2
push 0x74
push str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
call fcn.01c4dc50
lea eax, [ebp - 0xb4]
push 0x12
push str.GetFileAttributes
push eax
call fcn.01c23744
add esp, 0xc
mov esi, eax
movzx eax, byte [edi + 0xb]
test al, al
jns 0x1c869aa
mov eax, dword [edi + 4]
mov edi, dword [edi]
lea ebx, [ebp - 0xc8]
push eax
push edi
push ebx
call fcn.01c45970
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x1c869cf
mov eax, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0xc8]
push eax
push ebx
push esi
call fcn.01c23744
add esp, 0xc
cmp byte [ebp - 0xbd], 0
jns 0x1c869f1
push dword [ebp - 0xc8]
call fcn.01c8b528
add esp, 4
lea ecx, [ebp - 0xbc]
call fcn.01c4dd00
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8b52d
xor eax, eax
add esp, 0xbc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1c86a13
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xbc
mov esi, dword [ebp + 8]
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [esi + 0xb], 0
mov eax, esi
jns 0x1c86a36
mov eax, dword [esi]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1c86a69
and eax, 0x410
cmp eax, 0x410
jne 0x1c86a69
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8b52d
mov ecx, esi
add esp, 0xbc
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.01c86b43
cmp byte [esi + 0xb], 0
mov eax, esi
jns 0x1c86a73
mov eax, dword [esi]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
mov bl, 1
test eax, eax
jne 0x1c86b2c
push 2
call fcn.01c4d1b0
add esp, 4
test al, al
je 0x1c86b2a
call fcn.01c4dab0
lea ecx, [ebp - 0xbc]
push eax
push 2
push 0x94
push str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
call fcn.01c4dc50
lea eax, [ebp - 0xb4]
push 0xb
push str.DeleteFile
push eax
call fcn.01c23744
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x1c86ad8
mov eax, dword [esi + 4]
mov esi, dword [esi]
lea ebx, [ebp - 0xc8]
push eax
push esi
push ebx
call fcn.01c45970
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x1c86afd
mov eax, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0xc8]
push eax
push ebx
push edi
call fcn.01c23744
add esp, 0xc
cmp byte [ebp - 0xbd], 0
jns 0x1c86b1f
push dword [ebp - 0xc8]
call fcn.01c8b528
add esp, 4
lea ecx, [ebp - 0xbc]
call fcn.01c4dd00
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8b52d
mov eax, ebx
add esp, 0xbc
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1c86b43
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc0
mov edi, ecx
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0xb], 0
mov eax, ecx
jns 0x1c86b65
mov eax, dword [edi]
push eax
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
mov esi, eax
test eax, eax
jne 0x1c86c22
push 2
call fcn.01c4d1b0
add esp, 4
test al, al
je 0x1c86c22
call fcn.01c4dab0
lea ecx, [ebp - 0xbc]
push eax
push 2
push 0x2f
push str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
call fcn.01c4dc50
lea eax, [ebp - 0xb4]
push 0x10
push str.RemoveDirectory
push eax
call fcn.01c23744
add esp, 0xc
movzx ecx, byte [edi + 0xb]
test cl, cl
mov dword [ebp - 0xcc], eax
jns 0x1c86bcb
mov ecx, dword [edi + 4]
mov edi, dword [edi]
lea ebx, [ebp - 0xc8]
push ecx
push edi
push ebx
call fcn.01c45970
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x1c86bf0
mov eax, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0xc8]
push eax
push ebx
push dword [ebp - 0xcc]
call fcn.01c23744
add esp, 0xc
cmp byte [ebp - 0xbd], 0
jns 0x1c86c17
push dword [ebp - 0xc8]
call fcn.01c8b528
add esp, 4
lea ecx, [ebp - 0xbc]
call fcn.01c4dd00
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8b52d
mov eax, ebx
add esp, 0xc0
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1c87730
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov esi, dword [0x1cea148]
xor esi, ebp
mov dword [ebp - 8], esi
mov esi, 0x7fffffff
cmp edx, esi
cmovb esi, edx
lea edx, [ebp - 0xc]
mov dword [edx], 0xffffffff
push 0
push edx
push esi
push ecx
push eax
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
je 0x1c87779
mov esi, dword [ebp - 0xc]
cmp esi, 0xffffffff
jne 0x1c8777c
int3
xor esi, esi
dec esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.01c8b52d
mov eax, esi
add esp, 8
pop esi
pop ebp
ret

Function at 0x1c8778e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [0x1cea148]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
mov esi, 0x7fffffff
cmp eax, esi
cmovb esi, eax
lea eax, [ebp - 0x14]
mov dword [eax], 0xffffffff
push 0
push eax
push esi
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x1c87806
mov ecx, dword [sym.imp.kernel32.dll_GetFileType]
mov eax, ebx
mov ebx, dword [ebp - 0x14]
test ebx, ebx
jne 0x1c87818
mov ebx, eax
push eax
mov edi, ecx
call ecx
cmp eax, 3
jne 0x1c87831
mov dword [ebp - 0x14], 0xffffffff
push 0
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
mov ecx, edi
jne 0x1c877d3
call dword [sym.imp.kernel32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0x6d
setne bl
neg ebx
jmp 0x1c8781d
cmp ebx, 0xffffffff
je 0x1c87836
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8b52d
mov eax, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [ebp - 0x14]
jmp 0x1c8781d
int3

Function at 0x1c87de5
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0xb0
mov esi, dword [ebp + 8]
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [ebp - 0xc], eax
xor ebx, ebx
push ebx
push ebx
push ebx
push esi
call fcn.01c87cf4
add esp, 0x10
or edx, eax
jne 0x1c87e68
push esi
call dword [sym.imp.kernel32.dll_SetEndOfFile]
mov bl, 1
test eax, eax
jne 0x1c87e68
push 2
call fcn.01c4d1b0
add esp, 4
test al, al
je 0x1c87e66
call fcn.01c4dab0
lea esi, [ebp - 0xb8]
mov ecx, esi
push eax
push 2
push 0xf4
push str..._.._third_party_crashpad_crashpad_util_file_file_io_win.cc
call fcn.01c4dc50
lea eax, [ebp - 0xb0]
push 0xc
push 0x1cc2527
push eax
call fcn.01c23744
add esp, 0xc
mov ecx, esi
call fcn.01c4dd00
xor ebx, ebx
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.01c8b52d
mov eax, ebx
add esp, 0xb0
pop esi
pop ebx
pop ebp
ret

Function at 0x1c88208
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.01c86a13
Function at 0x1c88426
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
dec eax
lea esi, [ebp - 0x1c]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
push str.LOCALAPPDATA
push esi
call fcn.01c42e8a
add esp, 8
movzx eax, byte [esi + 0xb]
test al, al
jns 0x1c88460
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1c88493
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov edi, dword [ebp - 0x14]
mov dword [esi + 8], edi
movsd xmm0, qword [ebp - 0x1c]
movsd qword [esi], xmm0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
movzx eax, byte [esi + 0xb]
test al, al
js 0x1c884ea
mov ecx, esi
jmp 0x1c884ef
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.kernel32.dll_GetTempPathW]
test eax, eax
je 0x1c88530
mov edi, eax
inc edi
mov ecx, esi
push 0
push edi
call fcn.01c3e74a
cmp byte [ebp - 0x11], 0
jns 0x1c884bb
mov esi, dword [ebp - 0x1c]
push esi
push edi
call dword [sym.imp.kernel32.dll_GetTempPathW]
test eax, eax
je 0x1c88555
movzx ecx, byte [ebp - 0x11]
test cl, cl
jns 0x1c884d6
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jae 0x1c88555
lea ecx, [ebp - 0x1c]
push 0
push eax
call fcn.01c3e74a
jmp 0x1c88464
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov edi, dword [ebp + 0xc]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x1c88503
mov ecx, esi
push 0x5c
call fcn.01c3ece8
movzx eax, byte [edi + 0xb]
test al, al
jns 0x1c88510
mov eax, dword [edi + 4]
mov edi, dword [edi]
mov ecx, esi
push eax
push edi
call fcn.01c3ea18
mov ecx, esi
push 0x5c
call fcn.01c3ece8
mov ecx, esi
push str.User_Data
call fcn.01c3ebd8
mov bl, 1
cmp byte [ebp - 0x11], 0
jns 0x1c88541
push dword [ebp - 0x1c]
call fcn.01c8b528
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8b52d
mov eax, ebx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebx, ebx
jmp 0x1c88530
Function at 0x1c89f74
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [esp + 0x38], eax
cmp dword [0x1ced99c], 0
jne 0x1c8a145
push 0x64
call fcn.01c92118
add esp, 4
mov esi, eax
mov ecx, eax
call fcn.01c88592
mov dword [0x1ced99c], esi
mov ecx, esi
call fcn.01c88692
test al, al
je 0x1c8a145
xor eax, eax
dec eax
lea ebx, [esp + 0x2c]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
lea esi, [esp + 0x20]
mov ecx, esi
push str.type
call fcn.01c3af3a
call dword [sym.imp.kernel32.dll_GetCommandLineW]
lea edi, [esp + 0x10]
mov ecx, edi
push eax
call fcn.01c3af3a
push esi
push edi
push ebx
call fcn.01c42b46
add esp, 0xc
cmp byte [edi + 0xb], 0
jns 0x1c8a00e
push dword [esp + 0x10]
call fcn.01c8b528
add esp, 4
cmp byte [esp + 0x2b], 0
jns 0x1c8a021
push dword [esp + 0x20]
call fcn.01c8b528
add esp, 4
push 0x1cba058
call fcn.01c92118
add esp, 4
movzx ecx, byte [esp + 0x37]
test cl, cl
jns 0x1c8a03b
mov ecx, dword [esp + 0x30]
cmp eax, ecx
jne 0x1c8a05a
lea ecx, [esp + 0x2c]
push eax
push 0x1cba058
push 0xffffffffffffffff
push 0
call fcn.01c3f25a
test eax, eax
je 0x1c8a132
push dword [0x1ced99c]
call fcn.01c263f0
add esp, 4
mov ecx, dword [0x1ced99c]
movzx eax, byte [ecx + 0x63]
test al, al
jns 0x1c8a079
mov eax, dword [ecx + 0x5c]
test eax, eax
je 0x1c8a0be
push ebx
push esi
call fcn.01c42d2f
add esp, 8
movzx eax, byte [esp + 0x37]
test al, al
jns 0x1c8a094
mov eax, dword [esp + 0x30]
xor ecx, ecx
test eax, eax
sete cl
push esi
push ecx
call fcn.01c7c054
add esp, 8
cmp byte [esp + 0x2b], 0
jns 0x1c8a132
push dword [esp + 0x20]
call fcn.01c8b528
add esp, 4
jmp 0x1c8a132
mov ecx, esi
call fcn.01c53240
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 4]
push ebx
mov ebx, eax
push eax
call fcn.01c42d2f
add esp, 8
movzx eax, byte [esp + 0x37]
test al, al
jns 0x1c8a0f0
mov eax, dword [esp + 0x30]
xor ecx, ecx
test eax, eax
sete cl
push esi
push edi
push ebx
push ecx
call fcn.01c7c2a2
add esp, 0x10
cmp byte [esp + 0xf], 0
jns 0x1c8a116
push dword [esp + 4]
call fcn.01c8b528
add esp, 4
cmp byte [esp + 0x1b], 0
jns 0x1c8a129
push dword [esp + 0x10]
call fcn.01c8b528
add esp, 4
lea ecx, [esp + 0x20]
call fcn.01c53360
cmp byte [esp + 0x37], 0
jns 0x1c8a145
push dword [esp + 0x2c]
call fcn.01c8b528
add esp, 4
mov ecx, dword [esp + 0x38]
xor ecx, ebp
call fcn.01c8b52d
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1c92118
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x1c92127
pop dword [ebp - 0x40]
mov eax, 0xfdd5d2b9
sub eax, 0xfc0cb192
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x3a2564ab
sub dword [ebp - 0x50], 0xebd31f60
mov dword [ebp - 0x4c], 0x718f1ef7
add dword [ebp - 0x4c], 0xc0a42d4e
mov dword [ebp - 0x48], 0x617f7f3
add dword [ebp - 0x48], 0x46344c3b
mov dword [ebp - 0x44], 0x766ed74e
add dword [ebp - 0x44], 0x899128b2
lea eax, [ebp - 0x50]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x290e440e
sub dword [ebp - 0x50], 0xb49bdab8
mov dword [ebp - 0x4c], 0xdfafc528
sub dword [ebp - 0x4c], 0x9e4363b3
mov dword [ebp - 0x48], 0xe0ad43e3
sub dword [ebp - 0x48], 0x7d3dd777
mov dword [ebp - 0x44], 0x217e5343
sub dword [ebp - 0x44], 0x217e5343
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0xd2e266cb
sub eax, 0xd11726bf
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x40cad
push 0
call eax
mov ecx, 0x308ee8c7
add ecx, 0xcf715b5c
xor edi, edi
add edi, eax
mov ebx, 0x81856305
add ebx, 0x804a26fb
add ebx, dword [ebp - 0x40]
mov edx, 0x54353f3a
add edx, 0x496eafab
add dword [ebp - 0xc], 0xda166aa4
mov esi, dword [ebx]
sub dword [ebp - 8], esi
xor esi, edx
mov dword [ebp - 0x24], 0xe495a933
mov dword [edi], esi
sub dword [ebp - 0x24], ebx
add edi, 0x50c82fda
sub edi, 0x50c82fd6
add ebx, 4
loop 0x1c92246
add eax, 0x7de95bb5
add eax, 0x8217a7aa
mov ebx, eax
add eax, 0xc6c6c05
sub eax, 0xc6c6c00
mov ecx, 0x8199045d
add ecx, 0x8028fba3
add ecx, dword [ebp - 0x40]
call ebx
leave
ret