joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1c34190
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov ebx, edx
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [0x1cf3040]
xor eax, ebp
mov dword [ebp - 0x10], eax
movzx eax, byte [ecx + 0xb]
test al, al
jns 0x1c341b5
mov eax, dword [ecx + 4]
test eax, eax
je 0x1c34275
bt ebx, 8
jae 0x1c341d0
mov eax, ebx
and eax, 0x200
jne 0x1c34275
cmp edi, 2
mov eax, 0x1cf7de6
mov ecx, 0x1cf7fe6
cmove ecx, eax
cmp word [ecx], 0
jne 0x1c34275
xorps xmm0, xmm0
lea esi, [ebp - 0x34]
movups xmmword [esi + 0x10], xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x20], 0
push esi
call dword [sym.imp.progwrp.dll_GetNativeSystemInfo]
cmp word [esi], 0
je 0x1c34275
cmp byte [0x1cf83e6], 0
setne al
bt ebx, 8
jb 0x1c34275
shr ebx, 9
and ebx, 1
or bl, al
je 0x1c34275
cmp edi, 2
mov eax, 0x1ce0f48
mov edx, 0x1ce0f5c
cmove edx, eax
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0xb]
test cl, cl
jns 0x1c34319
mov ecx, dword [eax]
mov dword [ebp - 0x38], ecx
mov eax, dword [eax + 4]
xor ecx, ecx
inc ecx
mov dword [ebp - 0x4c], ecx
xor esi, esi
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], 0
jmp 0x1c34290
cmp dword [ebp - 0x44], 0
jne 0x1c34323
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c98173
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
add edx, 0x14
inc esi
cmp esi, dword [ebp - 0x4c]
jae 0x1c3426b
mov edi, dword [edx + 4]
mov ebx, eax
sub ebx, edi
jb 0x1c34287
push edi
push dword [edx]
push dword [ebp - 0x38]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x48], eax
call fcn.01c96f98
mov edx, dword [ebp - 0x50]
add esp, 0xc
test eax, eax
mov eax, dword [ebp - 0x48]
jne 0x1c34287
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax + edi*2]
mov eax, dword [ebp - 0x48]
cmp ecx, 0x5c
jne 0x1c34351
mov eax, dword [ebp - 0x38]
lea eax, [eax + edi*2]
mov esi, dword [edx + 8]
cmp esi, 2
je 0x1c342df
cmp esi, 1
jne 0x1c342e9
jmp 0x1c3435e
mov dword [ebp - 0x40], str.WOW6432Node
mov dword [ebp - 0x3c], eax
cmp cx, 0x5c
mov dword [ebp - 0x44], esi
jne 0x1c34314
lea ecx, [eax + 2]
dec ebx
cmp word [eax + 2], 0x5c
mov dword [ebp - 0x38], ecx
mov eax, ecx
je 0x1c342f2
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x4c], eax
mov edx, dword [edx + 0xc]
xor esi, esi
mov eax, ebx
jmp 0x1c3428b
mov dword [ebp - 0x38], eax
jmp 0x1c34302
mov dword [ebp - 0x38], eax
mov eax, ecx
jmp 0x1c3424c
mov eax, dword [ebp + 8]
cmp byte [eax + 0xb], 0
jns 0x1c3432e
mov eax, dword [eax]
mov edi, dword [ebp - 0x3c]
sub edi, eax
sar edi, 1
mov esi, dword [ebp - 0x40]
push esi
call fcn.01c96aca
add esp, 4
mov ecx, dword [ebp + 8]
push eax
push esi
push edi
call fcn.01c67c10
jmp 0x1c34275
test ecx, ecx
jne 0x1c34287
jmp 0x1c342ca
mov dword [ebp - 0x40], str.WOW6432Node_
mov edi, dword [ebp - 0x38]
mov dword [ebp - 0x3c], edi
jmp 0x1c342e9
Function at 0x1c34370
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x218
mov eax, dword [0x1cf3040]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
dec eax
lea esi, [ebp - 0x220]
mov dword [esi + 4], eax
mov dword [esi], eax
push esi
call sub.ntdll.dll_RtlFormatCurrentUserKeyPath
test eax, eax
js 0x1c344bd
mov dword [ebp - 0x224], eax
mov ebx, 0xff
mov edi, 0x1cf81e6
push ebx
push dword [ebp - 0x21c]
push edi
call fcn.01c9701e
add esp, 0xc
push edi
call fcn.01c96aca
add esp, 4
sub ebx, eax
push ebx
push 0x1cea91c
push edi
call fcn.01c9701e
add esp, 0xc
push esi
call sub.ntdll.dll_RtlFreeUnicodeString
lea esi, [ebp - 0x218]
push 0x208
push 0
push esi
call fcn.01c99a20
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, eax
push 0x104
push esi
push str.PROGRAMFILES
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [eax - 1]
cmp ecx, 0x102
ja 0x1c3442f
push eax
push esi
push edi
call fcn.01c96fe4
add esp, 0xc
test eax, eax
je 0x1c344d9
push 0x104
push esi
push 0x1ceabac
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [eax - 1]
cmp ecx, 0x102
ja 0x1c3445a
push eax
push esi
push edi
call fcn.01c96fe4
add esp, 0xc
test eax, eax
je 0x1c344d9
xor eax, eax
mov byte [0x1cf7de5], al
mov dword [ebp - 0x218], 0
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x1ce68cb
push eax
call dword [sym.imp.progwrp.dll_GetProcAddress]
test eax, eax
je 0x1c344e0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ebx, eax
mov ecx, edi
call dword [0x1cef298]
push esi
push ebx
call edi
test eax, eax
je 0x1c344e0
cmp dword [ebp - 0x218], 0
setne cl
mov eax, dword [ebp - 0x224]
mov byte [0x1cf83e6], cl
mov byte [0x1cf7de4], 1
test eax, eax
setns bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c98173
mov eax, ebx
add esp, 0x218
pop esi
pop edi
pop ebx
pop ebp
ret
mov al, 1
jmp 0x1c3445c
xor ecx, ecx
jmp 0x1c344aa
Function at 0x1c37640
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
mov eax, dword [0x1cf3040]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x21a]
push 0x20a
push 0xff
push ebx
call fcn.01c99a20
add esp, 0xc
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
dec esi
cmp esi, 0x102
ja 0x1c376fb
push ebx
call fcn.01c96aca
add esp, 4
lea edi, [ebp - 0x234]
mov ecx, edi
push eax
push ebx
call fcn.01c8a940
lea eax, [ebp - 0x228]
mov ecx, edi
mov edi, dword [ebp + 8]
push eax
call fcn.01c37720
cmp byte [edi + 0xb], 0
jns 0x1c376bf
push dword [edi]
call fcn.01c95155
add esp, 4
mov eax, dword [ebp - 0x220]
mov dword [edi + 8], eax
movsd xmm0, qword [ebp - 0x228]
movsd qword [edi], xmm0
mov byte [ebp - 0x21d], 0
mov word [ebp - 0x228], 0
cmp byte [ebp - 0x229], 0
jns 0x1c376fb
push dword [ebp - 0x234]
call fcn.01c95155
add esp, 4
cmp esi, 0x103
setb bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c98173
mov eax, ebx
add esp, 0x228
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1c381c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x218
mov esi, dword [ebp + 8]
mov eax, dword [0x1cf3040]
xor eax, ebp
mov dword [ebp - 0xc], eax
lea edi, [ebp - 0x214]
push 0x208
push 0xff
push edi
call fcn.01c99a20
sub esp, 8
mov dword [esp + 0x10], edi
movaps xmm0, xmmword [0x1ce45b0]
movups xmmword [esp], xmm0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1c3823c
cmp word [ebp - 0x214], 0
je 0x1c3823c
push edi
call fcn.01c96aca
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.01c8a940
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.01c98173
mov eax, esi
add esp, 0x218
pop esi
pop edi
pop ebp
ret
xorps xmm0, xmm0
lea eax, [ebp - 0x220]
movsd qword [eax], xmm0
mov dword [eax + 8], 0
push eax
call fcn.01c37640
add esp, 4
test al, al
jne 0x1c3826d
mov ecx, esi
push 3
push 0x1cea918
call fcn.01c8a940
jmp 0x1c38297
mov eax, dword [ebp - 0x218]
mov dword [esi + 8], eax
movsd xmm0, qword [ebp - 0x220]
movsd qword [esi], xmm0
xorps xmm0, xmm0
movsd qword [ebp - 0x220], xmm0
mov dword [ebp - 0x218], 0
cmp byte [ebp - 0x215], 0
jns 0x1c38226
push dword [ebp - 0x220]
call fcn.01c95155
add esp, 4
jmp 0x1c38226
Function at 0x1c389e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, dword [ebp + 0x10]
mov eax, dword [0x1cf3040]
xor eax, ebp
mov dword [ebp - 0x10], eax
test esi, esi
je 0x1c38a97
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 8]
xor eax, eax
mov edx, 0x7fffffff
lea edi, [ebp - 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x20], eax
cmp esi, edx
mov eax, 0x7fffffff
cmovb eax, esi
mov dword [ebp - 0x14], 0xffffffff
push 0
push edi
mov dword [ebp - 0x1c], eax
push eax
push dword [ebp - 0x18]
push ecx
call ebx
test eax, eax
je 0x1c38aa2
mov ecx, dword [ebp - 0x14]
test ecx, ecx
mov edi, dword [ebp - 0x18]
je 0x1c38a84
cmp ecx, 0xffffffff
je 0x1c38a9b
test ecx, ecx
mov eax, dword [ebp - 0x20]
js 0x1c38a9e
je 0x1c38a6a
add edi, ecx
mov dword [ebp - 0x18], edi
add eax, ecx
sub esi, ecx
mov ecx, dword [ebp + 8]
mov edx, 0x7fffffff
lea edi, [ebp - 0x14]
jne 0x1c38a17
cmp eax, dword [ebp + 0x10]
sete bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c98173
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 3
je 0x1c38ab7
mov ecx, dword [ebp - 0x14]
jmp 0x1c38a4b
xor eax, eax
jmp 0x1c38a6a
int3
xor ebx, ebx
jmp 0x1c38a70
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0x6d
setne cl
neg ecx
mov edi, dword [ebp - 0x18]
jmp 0x1c38a4b
mov dword [ebp - 0x14], 0xffffffff
push 0
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x1c]
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x1c38a38
Function at 0x1c38bf0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xf8
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov eax, dword [0x1cf3040]
xor eax, ebp
mov dword [esp + 0xf0], eax
mov dword [esp + 0xc], 0xffffff00
mov dword [esp + 4], 0x1cdeaf4
mov dword [esp + 8], 0xffffffff
cmp edi, 0xffffffff
je 0x1c38d70
lea eax, [esp + 0xe0]
mov dword [eax - 0x18], 0x43506473
mov dword [eax - 0x14], 1
xorps xmm0, xmm0
movups xmmword [eax - 0x10], xmm0
movups xmmword [eax], xmm0
push 0x10
push eax
call sub.progwrp.dll_SystemFunction036
test al, al
je 0x1c38d56
movzx eax, word [esp + 0xe6]
and eax, 0xfff
or eax, 0x4000
mov word [esp + 0xe6], ax
mov al, byte [esp + 0xe8]
and al, 0x3f
or al, 0x80
mov byte [esp + 0xe8], al
xor eax, eax
dec eax
lea ecx, [esp + 0xc0]
mov dword [ecx + 4], eax
mov dword [ecx], eax
xor eax, eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xb8], eax
sub esp, 0x14
movsd xmm0, qword [esp + 0xcc]
movsd qword [esp + 4], xmm0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1c38e03
mov eax, dword [esp + 0xc0]
or eax, dword [esp + 0xc4]
jne 0x1c38e3c
push edi
call fcn.01c39a90
add esp, 4
test al, al
je 0x1c38e3c
lea eax, [esp + 0xc8]
push 0x28
push eax
push edi
call fcn.01c399a0
add esp, 0xc
test al, al
je 0x1c38e3c
push 1
push esi
push edi
call fcn.01c38850
mov ebx, eax
mov dword [esp + 4], 0x1cdeaf4
cmp byte [esp + 0xc], 0
jne 0x1c38d59
mov esi, dword [esp + 8]
cmp esi, 0xffffffff
jne 0x1c38d5c
mov ecx, dword [esp + 0xf0]
xor ecx, ebp
call fcn.01c98173
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
int3
int3
push esi
call fcn.01c72670
add esp, 4
push esi
call fcn.01c70440
add esp, 4
jmp 0x1c38d3c
lea edi, [esp + 0x10]
mov dword [edi + 8], 0xffffff00
xor eax, eax
inc eax
mov dword [edi + 4], eax
mov dword [edi], eax
lea ebx, [esp + 0xc8]
push ecx
push eax
push edi
push ebx
call fcn.01c386c0
add esp, 0x10
mov eax, dword [ebx + 4]
mov dword [edi], eax
lea ecx, [esp + 4]
push edi
call fcn.01cd4080
cmp byte [ebx + 8], 0
jne 0x1c38e43
mov edi, dword [esp + 8]
push 1
push esi
push edi
call fcn.01c38850
mov bl, 1
test al, al
jne 0x1c38d24
cmp edi, 0xffffffff
jne 0x1c38c34
lea esi, [esp + 0x10]
mov ecx, esi
push 2
push 0x1b9
push str....._third_partycrashpadcrashpadclient_settings.cc
call fcn.01c36d60
lea eax, [esp + 0x18]
push 0x13
push str.Invalid_file_handle
push eax
call fcn.01cbf530
add esp, 0xc
mov ecx, esi
call fcn.01c6c780
jmp 0x1c38e3c
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esp + 0x10]
mov ecx, esi
push eax
push 2
push 0xf2
push str....._third_partycrashpadcrashpadutil_file_file_io_win.cc
call fcn.01cd28c0
lea eax, [esp + 0x18]
push 0x10
push 0x1ce6223
push eax
call fcn.01cbf530
add esp, 0xc
mov ecx, esi
call fcn.01c6d150
xor ebx, ebx
jmp 0x1c38d24
int3
Function at 0x1c38f20
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, dword [ebp + 8]
mov eax, dword [0x1cf3040]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp + 0xc]
mov dword [ebp - 0x14], edi
call fcn.01c7ad60
mov ebx, 0x1cf83f4
push edi
push 0
push esi
push 0x400
push ebx
push dword [eax + 4]
push dword [eax]
call fcn.01c970d0
add esp, 0x1c
push ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c98173
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1c399a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xac
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov ecx, dword [0x1cf3040]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
mov ecx, 0x7fffffff
lea esi, [ebp - 0xb8]
mov edi, eax
test eax, eax
je 0x1c39a25
cmp edi, ecx
mov eax, 0x7fffffff
cmovb eax, edi
mov dword [ebp - 0xb8], 0xffffffff
push 0
push esi
push eax
push ebx
mov esi, edx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1c39a44
mov ecx, dword [ebp - 0xb8]
cmp ecx, 0xffffffff
je 0x1c39a41
test ecx, ecx
mov edx, 0
cmovns edx, ecx
mov eax, edi
sub eax, edx
add ebx, edx
test ecx, ecx
mov edx, esi
mov ecx, 0x7fffffff
lea esi, [ebp - 0xb8]
jns 0x1c399cb
jmp 0x1c39a44
test edi, edi
sete bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c98173
mov eax, ebx
add esp, 0xac
pop esi
pop edi
pop ebx
pop ebp
ret
int3
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [ebp - 0xb8]
mov ecx, esi
push eax
push 2
push 0x8c
push str....._third_partycrashpadcrashpadutil_file_file_io.cc
call fcn.01cd28c0
lea eax, [ebp - 0xb0]
push 9
push 0x1ce4910
push eax
call fcn.01cbf530
add esp, 0xc
mov ecx, esi
call fcn.01c6d150
jmp 0x1c39a25

Function at 0x1c39a90
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
and esp, 0xfffffff8
sub esp, 0xc0
mov esi, dword [ebp + 8]
mov eax, dword [0x1cf3040]
xor eax, ebp
mov dword [esp + 0xbc], eax
xor eax, eax
dec eax
lea ecx, [esp + 0xb0]
mov dword [ecx + 4], eax
mov dword [ecx], eax
xor eax, eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xa8], eax
sub esp, 0x14
movsd xmm0, qword [esp + 0xbc]
movsd qword [esp + 4], xmm0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1c39b2d
mov eax, dword [esp + 0xb0]
or eax, dword [esp + 0xb4]
jne 0x1c39b8d
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov bl, 1
test eax, eax
je 0x1c39b56
mov ecx, dword [esp + 0xbc]
xor ecx, ebp
call fcn.01c98173
mov eax, ebx
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, esp
mov ecx, esi
push eax
push 2
push 0xf2
push str....._third_partycrashpadcrashpadutil_file_file_io_win.cc
call fcn.01cd28c0
lea eax, [esp + 8]
push 0x10
push 0x1ce6223
jmp 0x1c39b7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, esp
mov ecx, esi
push eax
push 2
push 0xfc
push str....._third_partycrashpadcrashpadutil_file_file_io_win.cc
call fcn.01cd28c0
lea eax, [esp + 8]
push 0xc
push 0x1ce837a
push eax
call fcn.01cbf530
add esp, 0xc
mov ecx, esi
call fcn.01c6d150
xor ebx, ebx
jmp 0x1c39b16
Function at 0x1c39ba0
Capabilities:
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb4
mov edi, dword [ebp + 8]
mov eax, dword [0x1cf3040]
xor eax, ebp
mov dword [ebp - 0x10], eax
movaps xmm0, xmmword [0x1ce46b0]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x1c39bd0
mov eax, dword [edi]
sub esp, 0x1c
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x110000
call ebx
cmp eax, 0xffffffff
je 0x1c39c6d
mov esi, eax
lea eax, [ebp - 0xbc]
mov dword [eax], 2
xor edi, edi
push edi
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
je 0x1c39d67
lea eax, [ebp - 0xc0]
mov dword [eax], edi
push edi
push eax
push 0xc
push dword [ebp + 0x10]
push 0x24
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
je 0x1c39d93
mov bl, 1
cmp dword [ebp - 0xc0], 0xc
jne 0x1c39d09
push esi
call fcn.01c39de0
add esp, 4
test al, al
je 0x1c39c6a
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c98173
mov eax, ebx
add esp, 0xb4
pop esi
pop edi
pop ebx
pop ebp
ret
int3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x1c39cc8
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x1c39c84
mov eax, dword [edi]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
movaps xmm0, xmmword [0x1ce46b0]
jne 0x1c39bc6
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [ebp - 0xb8]
mov ecx, esi
push eax
push 2
push 0x71
push str....._third_partycrashpadcrashpadutilwin_registration_protocol_win.cc
call fcn.01cd28c0
lea eax, [ebp - 0xb0]
push 0xd
push str.WaitNamedPipe
jmp 0x1c39cf2
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [ebp - 0xb8]
mov ecx, esi
push eax
push 2
push 0x6c
push str....._third_partycrashpadcrashpadutilwin_registration_protocol_win.cc
call fcn.01cd28c0
lea eax, [ebp - 0xb0]
push 0xa
push 0x1ce8387
push eax
call fcn.01cbf530
add esp, 0xc
mov ecx, esi
call fcn.01c6d150
xor ebx, ebx
jmp 0x1c39c53
lea edi, [ebp - 0xb8]
mov ecx, edi
push 2
push 0x8c
push str....._third_partycrashpadcrashpadutilwin_registration_protocol_win.cc
call fcn.01c36d60
lea eax, [ebp - 0xb0]
push 0x1c
push str.TransactNamedPipe:_expected
push eax
call fcn.01cbf530
add esp, 0xc
mov ecx, eax
push 0xc
call fcn.01c34b10
push 0xb
push str.__observed
push eax
call fcn.01cbf530
add esp, 0xc
mov ecx, eax
push dword [ebp - 0xc0]
call fcn.01c34b10
mov ecx, edi
call fcn.01c6c780
jmp 0x1c39dd0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [ebp - 0xb8]
mov ecx, edi
push eax
push 2
push 0x7a
push str....._third_partycrashpadcrashpadutilwin_registration_protocol_win.cc
call fcn.01cd28c0
lea eax, [ebp - 0xb0]
push 0x17
push 0x1ce7ea2
jmp 0x1c39dc0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [ebp - 0xb8]
mov ecx, edi
push eax
push 2
push 0x88
push str....._third_partycrashpadcrashpadutilwin_registration_protocol_win.cc
call fcn.01cd28c0
lea eax, [ebp - 0xb0]
push 0x11
push 0x1ce80bc
push eax
call fcn.01cbf530
add esp, 0xc
mov ecx, edi
call fcn.01c6d150
xor ebx, ebx
jmp 0x1c39c46
Function at 0x1c3abe0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, dword [ebp + 8]
mov eax, dword [0x1cf3040]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
push eax
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1c3ad3a
mov ebx, eax
xor eax, eax
dec eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
cmp ebx, 0x7ffffff8
jae 0x1c3ad2a
cmp ebx, 5
jae 0x1c3acec
lea edi, [ebp - 0x1c]
mov byte [edi + 0xb], bl
mov eax, ebx
add eax, ebx
push eax
push 0
push edi
call fcn.01c99a20
add esp, 0xc
mov word [edi + ebx*2], 0
cmp byte [ebp - 0x11], 0
js 0x1c3ac55
lea eax, [ebp - 0x1c]
jmp 0x1c3ac58
mov eax, dword [ebp - 0x1c]
mov edi, esi
push ebx
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1c3ad1a
movzx edx, byte [ebp - 0x11]
test dl, dl
mov ecx, dword [ebp - 0x18]
mov esi, edx
cmovs esi, ecx
cmp eax, esi
jae 0x1c3ad1a
test dl, dl
jns 0x1c3accf
cmp ecx, eax
jb 0x1c3acdd
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov word [ecx + eax*2], 0
mov eax, dword [ebp - 0x14]
mov dword [edi + 8], eax
movsd xmm0, qword [ebp - 0x1c]
movsd qword [edi], xmm0
xorps xmm0, xmm0
movsd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
cmp byte [ebp - 0x11], 0
js 0x1c3ad2d
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c98173
mov eax, edi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, edx
cmp eax, edx
ja 0x1c3acdd
lea ecx, [ebp - 0x1c]
mov byte [ecx + 0xb], al
jmp 0x1c3ac91
sub eax, ecx
lea ecx, [ebp - 0x1c]
push 0
push eax
call fcn.01c87ab0
jmp 0x1c3ac97
mov eax, ebx
or eax, 3
inc eax
js 0x1c3ad59
mov dword [ebp - 0x20], eax
add eax, eax
push eax
call fcn.01c9515a
add esp, 4
mov edi, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
or eax, 0x80000000
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ebx
jmp 0x1c3ac34
xorps xmm0, xmm0
movsd qword [edi], xmm0
mov dword [edi + 8], 0
jmp 0x1c3acb5
int3
push dword [ebp - 0x1c]
call fcn.01c95155
add esp, 4
jmp 0x1c3acbb
xorps xmm0, xmm0
movsd qword [esi], xmm0
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c98173
mov eax, esi
jmp 0x1c3acc7
int3
Function at 0x1c3b2b0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [0x1cf8c2c]
mov ecx, dword [0x1cf656c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1c3b2f9
movzx eax, word [0x1cf8c08]
cmp eax, 9
jne 0x1c3b344
mov byte [esi + 0xb], 6
mov dword [esi], 0x5f363878
mov word [esi + 4], 0x3436
mov byte [esi + 6], 0
mov eax, esi
pop esi
pop ebp
ret
push 0x1cf8c2c
call fcn.01c9518a
add esp, 4
cmp dword [0x1cf8c2c], 0xffffffff
jne 0x1c3b2d4
xorps xmm0, xmm0
movups xmmword [0x1cf8c18], xmm0
movups xmmword [0x1cf8c08], xmm0
mov dword [0x1cf8c28], 0
push 0x1cf8c08
call dword [sym.imp.progwrp.dll_GetNativeSystemInfo]
push 0x1cf8c2c
call fcn.01c951d9
add esp, 4
jmp 0x1c3b2d4
mov ecx, esi
cmp eax, 0xc
je 0x1c3b357
cmp eax, 6
jne 0x1c3b363
push str.ia64
jmp 0x1c3b35c
push str.arm64
call fcn.01c5d060
jmp 0x1c3b2f4
test eax, eax
jne 0x1c3b36e
push 0x1ce9007
jmp 0x1c3b35c
push 0x1ce9569
jmp 0x1c3b35c

Function at 0x1c3b4e0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb8
mov esi, ecx
mov eax, dword [0x1cf3040]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0xb], 0
mov eax, ecx
jns 0x1c3b502
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1c3b537
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1c3b550
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c98173
mov ecx, esi
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.01c3b5f0
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c98173
mov eax, ebx
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0xb8]
push eax
push 2
push 0x265
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.01cd28c0
lea eax, [ebp - 0xb0]
push 0x10
push str.CreateDirectory
push eax
call fcn.01cbf530
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x1c3b593
mov eax, dword [esi + 4]
mov esi, dword [esi]
lea ebx, [ebp - 0xc4]
push eax
push esi
push ebx
call fcn.01c8c9e0
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x1c3b5b8
mov eax, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xc4]
push eax
push ebx
push edi
call fcn.01cbf530
add esp, 0xc
cmp byte [ebp - 0xb9], 0
jns 0x1c3b5da
push dword [ebp - 0xc4]
call fcn.01c95155
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.01c6d150
xor ebx, ebx
jmp 0x1c3b539