joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1c575a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov eax, dword [0x1cda44c]
xor eax, ebp
mov dword [esp + 0x78], eax
test ecx, ecx
je 0x1c576ae
mov edi, edx
mov esi, ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x60], xmm0
mov word [esp + 0x50], 0x301
mov dword [esp + 0x54], ecx
mov eax, dword [eax]
mov dword [esp + 0x60], eax
sar eax, 0x1f
mov dword [esp + 0x64], eax
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x48], 0xffffffff
lea eax, [esp + 0x48]
mov dword [esp], eax
call fcn.01c50040
mov eax, dword [0x1cc3f24]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
lea ebx, [esp + 0x50]
mov dword [esp + 0x3c], ebx
mov ebx, dword [ebp + 8]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], edi
pxor xmm0, xmm0
movdqu xmmword [esp + 0x28], xmm0
movaps xmm0, xmmword [0x1cbd490]
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x40], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x1c], 0x4d
mov ecx, esi
call fcn.01c6ad20
sub esp, 0x44
mov al, byte [esp + 0x50]
test al, al
je 0x1c576ae
xor esi, esi
jmp 0x1c5768a
add esi, 1
movzx ecx, al
cmp esi, ecx
jae 0x1c576ae
cmp byte [esp + esi + 0x51], 8
jne 0x1c57680
mov ecx, dword [esp + esi*8 + 0x60]
test ecx, ecx
je 0x1c57680
mov eax, dword [ecx]
mov dword [esp], 1
call dword [eax]
sub esp, 4
movzx eax, byte [esp + 0x50]
jmp 0x1c57680
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.01c92b01
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1c576d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov eax, dword [0x1cda44c]
xor eax, ebp
mov dword [esp + 0x78], eax
test ecx, ecx
je 0x1c577de
mov edi, edx
mov esi, ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x60], xmm0
mov word [esp + 0x50], 0x701
mov dword [esp + 0x54], ecx
cmp byte [eax + 0xb], 0
jns 0x1c5771f
mov eax, dword [eax]
mov dword [esp + 0x60], eax
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x48], 0xffffffff
lea eax, [esp + 0x48]
mov dword [esp], eax
call fcn.01c50040
mov eax, dword [0x1cc3f24]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
lea ebx, [esp + 0x50]
mov dword [esp + 0x3c], ebx
mov ebx, dword [ebp + 8]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], edi
pxor xmm0, xmm0
movdqu xmmword [esp + 0x28], xmm0
movaps xmm0, xmmword [0x1cbd490]
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x40], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x1c], 0x4d
mov ecx, esi
call fcn.01c6ad20
sub esp, 0x44
mov al, byte [esp + 0x50]
test al, al
je 0x1c577de
xor esi, esi
jmp 0x1c577ba
add esi, 1
movzx ecx, al
cmp esi, ecx
jae 0x1c577de
cmp byte [esp + esi + 0x51], 8
jne 0x1c577b0
mov ecx, dword [esp + esi*8 + 0x60]
test ecx, ecx
je 0x1c577b0
mov eax, dword [ecx]
mov dword [esp], 1
call dword [eax]
sub esp, 4
movzx eax, byte [esp + 0x50]
jmp 0x1c577b0
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.01c92b01
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1c57800
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov eax, dword [0x1cda44c]
xor eax, ebp
mov dword [esp + 0x78], eax
test ecx, ecx
je 0x1c5790e
mov edi, edx
mov esi, ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x60], xmm0
mov word [esp + 0x50], 0x301
mov dword [esp + 0x54], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x60], xmm0
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x48], 0xffffffff
lea eax, [esp + 0x48]
mov dword [esp], eax
call fcn.01c50040
mov eax, dword [0x1cc3f24]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
lea ebx, [esp + 0x50]
mov dword [esp + 0x3c], ebx
mov ebx, dword [ebp + 8]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], edi
xorps xmm0, xmm0
movups xmmword [esp + 0x28], xmm0
movaps xmm0, xmmword [0x1cbd490]
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x40], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x1c], 0x4d
mov ecx, esi
call fcn.01c6ad20
sub esp, 0x44
mov al, byte [esp + 0x50]
test al, al
je 0x1c5790e
xor esi, esi
jmp 0x1c578ea
add esi, 1
movzx ecx, al
cmp esi, ecx
jae 0x1c5790e
cmp byte [esp + esi + 0x51], 8
jne 0x1c578e0
mov ecx, dword [esp + esi*8 + 0x60]
test ecx, ecx
je 0x1c578e0
mov eax, dword [ecx]
mov dword [esp], 1
call dword [eax]
sub esp, 4
movzx eax, byte [esp + 0x50]
jmp 0x1c578e0
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.01c92b01
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1c5b410
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20c
mov eax, dword [0x1cda44c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov bl, 1
cmp dword [0x1cf5c58], 0
jne 0x1c5b66b
mov esi, dword [0x1cf5c48]
test esi, esi
je 0x1c5b451
test byte [0x1cf3150], 1
jne 0x1c5b549
jmp 0x1c5b66b
push 0xc
call fcn.01c92a8c
add esp, 4
mov esi, eax
lea edi, [ebp - 0x218]
push 0x208
push 0xff
push edi
call fcn.01c97000
add esp, 0xc
push 0x104
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [esi + 4], 0
mov dword [esi], 0
mov dword [esi + 8], 0
push edi
call fcn.01caafe4
add esp, 4
cmp eax, 0x7ffffff0
jae 0x1c5b682
mov ebx, eax
cmp eax, 5
jae 0x1c5b4c2
mov byte [esi + 0xb], bl
test ebx, ebx
je 0x1c5b5ef
mov ecx, esi
jmp 0x1c5b4ea
lea edi, [ebx + 8]
and edi, 0xfffffff8
lea eax, [edi + edi]
push eax
call fcn.01c92a8c
add esp, 4
mov ecx, eax
mov dword [esi], eax
or edi, 0x80000000
mov dword [esi + 8], edi
lea edi, [ebp - 0x218]
mov dword [esi + 4], ebx
mov eax, ebx
add eax, ebx
push eax
push edi
mov edi, ecx
push ecx
call fcn.01c96500
add esp, 0xc
mov word [edi + ebx*2], 0
movzx eax, byte [esi + 0xb]
test al, al
jns 0x1c5b50c
mov eax, dword [esi + 4]
mov ecx, esi
push eax
push 0x5c
call fcn.01c40064
cmp eax, 0xffffffff
mov bl, 1
je 0x1c5b52a
add eax, 1
mov ecx, esi
push 0xffffffffffffffff
push eax
call fcn.01c3fdc4
mov ecx, esi
push str.debug.log
call fcn.01c3fb06
mov dword [0x1cf5c48], esi
test byte [0x1cf3150], 1
je 0x1c5b66b
cmp byte [esi + 0xb], 0
jns 0x1c5b551
mov esi, dword [esi]
sub esp, 0x1c
movaps xmm0, xmmword [0x1cc4270]
movups xmmword [esp + 4], xmm0
mov dword [esp], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1cf5c58], eax
add eax, 1
cmp eax, 1
ja 0x1c5b66b
lea eax, [ebp - 0x216]
push 0x206
push 0xff
push eax
call fcn.01c97000
add esp, 0xc
mov word [ebp - 0x218], 0
lea esi, [ebp - 0x218]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x1c5b669
cmp eax, 0x104
ja 0x1c5b669
mov ecx, dword [0x1cf5c48]
push esi
call fcn.01c3fc86
mov ecx, dword [0x1cf5c48]
movzx eax, byte [ecx + 0xb]
test al, al
js 0x1c5b5f6
mov edx, ecx
jmp 0x1c5b5fb
mov edi, esi
jmp 0x1c5b4fb
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
cmp word [edx + eax*2 - 2], 0x5c
je 0x1c5b613
push 0x1cc080e
call fcn.01c3fb06
mov ecx, dword [0x1cf5c48]
push str.debug.log
call fcn.01c3fb06
mov eax, dword [0x1cf5c48]
cmp byte [eax + 0xb], 0
jns 0x1c5b62a
mov eax, dword [eax]
sub esp, 0x1c
movaps xmm0, xmmword [0x1cc4270]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1cf5c58], eax
add eax, 1
cmp eax, 1
ja 0x1c5b66b
mov dword [0x1cf5c58], 0
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c92b01
mov eax, ebx
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
call fcn.01c3eb04
int3
Function at 0x1c5e58b
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 [0x1cda44c]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0xb], 0
mov eax, ecx
jns 0x1c5e5ad
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
jne 0x1c5e690
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1c5e5e8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c92b01
mov ecx, esi
add esp, 0xbc
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.01c5e6a7
push 2
call fcn.01c5b690
add esp, 4
test al, al
je 0x1c5e68e
call fcn.01c5bf90
lea ecx, [ebp - 0xbc]
push eax
push 2
push 0x25e
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.01c5c130
lea eax, [ebp - 0xb4]
push 0x10
push str.CreateDirectory
push eax
call fcn.01c23734
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x1c5e63c
mov eax, dword [esi + 4]
mov esi, dword [esi]
lea ebx, [ebp - 0xc8]
push eax
push esi
push ebx
call fcn.01c44f40
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x1c5e661
mov eax, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0xc8]
push eax
push ebx
push edi
call fcn.01c23734
add esp, 0xc
cmp byte [ebp - 0xbd], 0
jns 0x1c5e683
push dword [ebp - 0xc8]
call fcn.01c92abc
add esp, 4
lea ecx, [ebp - 0xbc]
call fcn.01c5c1e0
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c92b01
mov eax, ebx
add esp, 0xbc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1c5e6a7
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 [0x1cda44c]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0xb], 0
mov eax, ecx
jns 0x1c5e6c9
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1c5e798
mov bl, 1
test al, 0x10
jne 0x1c5e840
push 2
call fcn.01c5b690
add esp, 4
test al, al
je 0x1c5e83e
lea ecx, [ebp - 0xbc]
push 2
push 0x24d
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.01c5b730
lea eax, [ebp - 0xb4]
push 0x12
push str.GetFileAttributes
push eax
call fcn.01c23734
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x1c5e731
mov eax, dword [esi + 4]
mov esi, dword [esi]
lea ebx, [ebp - 0xc8]
push eax
push esi
push ebx
call fcn.01c44f40
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x1c5e756
mov eax, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0xc8]
push eax
push ebx
push edi
call fcn.01c23734
add esp, 0xc
push 0x11
push str.:_not_a_directory
push eax
call fcn.01c23734
add esp, 0xc
cmp byte [ebp - 0xbd], 0
jns 0x1c5e788
push dword [ebp - 0xc8]
call fcn.01c92abc
add esp, 4
lea ecx, [ebp - 0xbc]
call fcn.01c5bb00
jmp 0x1c5e83e
push 2
call fcn.01c5b690
add esp, 4
test al, al
je 0x1c5e83e
call fcn.01c5bf90
lea ecx, [ebp - 0xbc]
push eax
push 2
push 0x249
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.01c5c130
lea eax, [ebp - 0xb4]
push 0x12
push str.GetFileAttributes
push eax
call fcn.01c23734
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x1c5e7ec
mov eax, dword [esi + 4]
mov esi, dword [esi]
lea ebx, [ebp - 0xc8]
push eax
push esi
push ebx
call fcn.01c44f40
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x1c5e811
mov eax, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0xc8]
push eax
push ebx
push edi
call fcn.01c23734
add esp, 0xc
cmp byte [ebp - 0xbd], 0
jns 0x1c5e833
push dword [ebp - 0xc8]
call fcn.01c92abc
add esp, 4
lea ecx, [ebp - 0xbc]
call fcn.01c5c1e0
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c92b01
mov eax, ebx
add esp, 0xbc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1c5fc88
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 [0x1cda44c]
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 0x1c5fcde
mov dword [ebp - 0x34], ecx
lea edi, [ebp - 0x20]
mov ecx, esi
push edi
call fcn.01c61d94
test al, al
jne 0x1c5fccb
add esi, 0x58
cmp ebx, esi
jne 0x1c5fcb6
mov esi, ebx
mov eax, dword [ebp - 0x34]
cmp esi, dword [eax + 0x20]
je 0x1c5fcde
cmp byte [esi + 0x1b], 0
jns 0x1c5fce3
mov eax, dword [esi + 0x10]
jmp 0x1c5fce6
xor edi, edi
inc edi
jmp 0x1c5fd09
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 0x1c5fd09
mov eax, dword [ebp + 8]
mov dword [eax], esi
xor edi, edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c92b01
mov eax, edi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 0x50]
cmp eax, edx
jne 0x1c61077
cmp byte [ecx + 0x1b], 0
jns 0x1c61085
mov ecx, dword [ecx + 0x10]
jmp 0x1c61088
xor ecx, ecx
cmp eax, 1
sete cl
lea eax, [ecx + ecx*2]
inc eax
jmp 0x1c610a2
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 0x1c624e0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov edi, edx
mov ebx, ecx
mov eax, dword [0x1cda44c]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x1c]
push edx
push ecx
push esi
call fcn.01c44ae0
add esp, 0xc
cmp byte [ebp - 0x11], 0
jns 0x1c6250e
mov esi, dword [ebp - 0x1c]
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
cmp byte [ebp - 0x11], 0
jns 0x1c6252c
push dword [ebp - 0x1c]
call fcn.01c92abc
add esp, 4
cmp dword [ebp + 8], 0
je 0x1c625e0
test esi, esi
je 0x1c625e0
mov eax, esi
add eax, esi
mov ecx, 0xffffffff
cmovae ecx, eax
push ecx
call fcn.01c92af3
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, edi
lea edi, [ebp - 0x1c]
push eax
push ebx
push edi
call fcn.01c44ae0
add esp, 0xc
cmp byte [ebp - 0x11], 0
jns 0x1c6256f
mov edi, dword [ebp - 0x1c]
push esi
mov ebx, dword [ebp - 0x20]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [ebp - 0x11], 0
jns 0x1c6258c
push dword [ebp - 0x1c]
call fcn.01c92abc
add esp, 4
push ebx
call fcn.01caafe4
add esp, 4
lea ecx, [ebp - 0x1c]
push eax
push ebx
push ecx
call fcn.01c44f40
add esp, 0xc
mov edi, dword [ebp + 8]
cmp byte [edi + 0xb], 0
jns 0x1c625c8
mov eax, dword [edi]
mov byte [eax], 0
mov dword [edi + 4], 0
cmp byte [edi + 0xb], 0
jns 0x1c625c8
push dword [edi]
call fcn.01c92abc
add esp, 4
mov eax, dword [ebp - 0x14]
mov dword [edi + 8], eax
movsd xmm0, qword [ebp - 0x1c]
movsd qword [edi], xmm0
push ebx
call fcn.01c92afc
add esp, 4
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c92b01
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1c62600
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
mov eax, dword [0x1cda44c]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x21a]
push 0x20a
push 0xff
push edi
call fcn.01c97000
add esp, 0xc
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
add esi, 0xffffffff
cmp esi, 0x102
ja 0x1c62685
push edi
call fcn.01caafe4
add esp, 4
lea ebx, [ebp - 0x234]
mov ecx, ebx
push eax
push edi
call fcn.01c59290
lea edi, [ebp - 0x228]
mov ecx, ebx
push edi
call fcn.01c5a740
mov ecx, dword [ebp + 8]
push edi
call fcn.01c59390
mov ecx, edi
call fcn.01c59350
mov ecx, ebx
call fcn.01c59350
cmp esi, 0x103
setb bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c92b01
mov eax, ebx
add esp, 0x228
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1c638d4
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 [0x1cda44c]
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 0x1c63939
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xfe
mov ebx, 0x80003
cmp eax, 6
jb 0x1c63939
lea edi, [ebp - 0x1c]
mov dword [edi], 0xc
mov dword [esp], 0
call fcn.01c6397f
mov dword [edi + 4], eax
mov dword [edi + 8], 1
cmp byte [esi + 0xb], 0
jns 0x1c63941
mov esi, dword [esi]
mov dword [esp + 0x1c], edi
movaps xmm0, xmmword [0x1cc4880]
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.01c92b01
mov eax, esi
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1c63c3c
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 [0x1cda44c]
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 0x1c63cfd
and eax, 0xfeff
cmp eax, 6
je 0x1c63cfd
mov eax, dword [0x1cf5c84]
mov ecx, dword [0x1cf5970]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1c63d1d
push 0x10000000
push 0
push esi
call dword [0x1cf5c80]
mov esi, eax
test eax, eax
jne 0x1c63cf6
push 2
call fcn.01c5b690
add esp, 4
test al, al
je 0x1c63cf6
call fcn.01c5bf90
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.01c5c130
lea eax, [ebp - 0xb4]
push 0x1b
push 0x1cc4abd
push eax
call fcn.01c23734
add esp, 0xc
mov ecx, edi
call fcn.01c5c1e0
test esi, esi
setne bl
jmp 0x1c63d06
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c92b01
mov eax, ebx
add esp, 0xb0
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x1cf5c84
call fcn.01c92b47
add esp, 4
cmp dword [0x1cf5c84], 0xffffffff
jne 0x1c63c9b
push 1
push str.::InitializeCriticalSectionEx
push 0x1cbd050
call fcn.01c64018
add esp, 0xc
mov dword [0x1cf5c80], eax
push 0x1cf5c84
call fcn.01c92bbd
add esp, 4
jmp 0x1c63c9b

Function at 0x1c63ddc
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 0x1c66890
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x1408
call fcn.01c92f90
mov eax, dword [0x1cda44c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x1cf3170]
cmp eax, 0xffffffff
je 0x1c669e6
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test bl, 3
je 0x1c669e6
and ebx, 0xfffffffc
lea eax, [ebp - 0x810]
push 0x800
push ebx
push eax
call fcn.01c96500
add esp, 0xc
mov ecx, dword [0x1cf3170]
lea eax, [ebp - 0x80f]
push eax
mov dword [ebp - 0x1414], ecx
push ecx
call fcn.01c74640
add esp, 8
test ebx, ebx
je 0x1c6690b
push ebx
call fcn.01c92afc
add esp, 4
mov eax, dword [0x1cf6be4]
mov ecx, dword [0x1cf5970]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1c66a07
mov esi, dword [0x1cf6be0]
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1c669fb
lea eax, [ebp - 0x1410]
push 0xc00
push 0x1cf5fe0
push eax
call fcn.01c96500
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov al, 1
mov ebx, 0x100
jmp 0x1c6697a
lea ecx, [ebx - 1]
cmp ebx, 2
mov ebx, ecx
jb 0x1c669d6
test al, 1
je 0x1c669d6
xor edi, edi
lea esi, [ebp - 0x1408]
xor eax, eax
jmp 0x1c6699e
add edi, 1
add esi, 0xc
cmp edi, 0x100
je 0x1c66970
mov ecx, dword [ebp + edi*8 - 0x810]
test ecx, ecx
je 0x1c66990
cmp dword [esi - 8], 0
je 0x1c66990
mov edx, dword [ebp + edi*8 - 0x80c]
cmp edx, dword [esi]
jne 0x1c66990
mov edx, dword [esi - 4]
test edx, edx
je 0x1c66990
mov dword [ebp + edi*8 - 0x810], 0
push ecx
call edx
add esp, 4
mov al, 1
jmp 0x1c66990
push 2
push dword [ebp - 0x1414]
call fcn.01c74640
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c92b01
add esp, 0x1408
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
call fcn.01c63d80
jmp 0x1c66941
push 0x1cf6be4
call fcn.01c92b47
add esp, 4
cmp dword [0x1cf6be4], 0xffffffff
jne 0x1c6692c
push 4
call fcn.01c92a8c
add esp, 4
mov esi, eax
mov ecx, eax
call fcn.01c63d70
mov dword [0x1cf6be0], esi
push 0x1cf6be4
call fcn.01c92bbd
add esp, 4
jmp 0x1c6692c

Function at 0x1c66a50
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1cf3170]
cmp eax, 0xffffffff
je 0x1c66a72
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 3
add eax, 0xffffffff
cmp eax, 2
setb al
pop ebp
ret
xor eax, eax
pop ebp
ret