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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov esi, ecx
mov eax, dword [0x542040]
xor eax, ebp
mov dword [esp + 0x48], eax
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x10]
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
mov ebx, esp
push 0x1c
push str....._base_filesmemory_mapped_file_win.cc
push str.MapImageToMemory
push ebx
call fcn.0046dfd0
add esp, 0x10
mov ecx, edi
push 0
push ebx
call fcn.00465760
mov ecx, esi
call fcn.00463560
test al, al
je 0x436dd4
mov ecx, esi
call fcn.004228a0
sub esp, 0x18
movq xmm0, qword [0x533210]
movdqu xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
mov eax, dword [esi + 0x24]
cmp eax, edi
je 0x436d50
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi + 0x24]
inc eax
cmp eax, 2
jae 0x436db8
lea eax, [edi + 1]
cmp eax, 2
jb 0x436d46
mov dword [esi + 0x24], edi
call fcn.0046e000
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi + 0x24]
lea ecx, [eax + 1]
cmp ecx, 2
jb 0x436dd4
sub esp, 0x14
movd xmm0, dword [0x533220]
movdqu xmmword [esp + 4], xmm0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x436dd4
mov edi, eax
mov ecx, esp
mov dword [ecx], fcn.004db020
mov dword [ecx + 4], eax
call fcn.004438a0
mov eax, dword [eax + 0x50]
test eax, eax
setne bl
je 0x436d98
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], eax
lea ecx, [esp + 0x10]
call fcn.004657d0
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.0048e2e5
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.0046e000
push dword [esi + 0x24]
call fcn.00462e40
add esp, 4
mov dword [esi + 0x24], 0
jmp 0x436d36
xor ebx, ebx
jmp 0x436d98
Function at 0x442e60
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x542040]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
cmp eax, 3
je 0x442e90
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048e2e5
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
lea eax, [ebp - 0x14]
mov dword [eax], 0x442fa0
push 0
push eax
push 0x442e40
push 0x556184
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x442f98
cmp dword [0x556188], 0
jne 0x442e7c
push dword [0x55618c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x442e7c
mov esi, eax
mov eax, 0x556190
push eax
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov edi, dword [0x556194]
mov ebx, dword [0x556198]
mov eax, dword [0x55619c]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x5561a0]
mov dword [ebp - 0x20], eax
mov eax, dword [0x5561a4]
mov dword [ebp - 0x24], eax
mov eax, 0x556190
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test edi, edi
jne 0x442f7e
test ebx, ebx
jne 0x442f58
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x442f36
mov ecx, dword [ebp - 0x20]
test ecx, ecx
mov ebx, dword [ebp - 0x24]
jne 0x442f47
test ebx, ebx
jne 0x442f6b
push esi
call fcn.004729c0
add esp, 4
jmp 0x442e7c
mov edi, dword [esi + 8]
call dword [0x53cee4]
push edi
call ecx
add esp, 4
jmp 0x442f1a
mov edi, dword [esi + 0xc]
call dword [0x53cee4]
push edi
call ecx
add esp, 4
jmp 0x442f24
mov edi, dword [esi + 4]
mov ecx, ebx
call dword [0x53cee4]
push edi
call ebx
add esp, 4
jmp 0x442f13
mov edi, dword [esi + 0x10]
mov ecx, ebx
call dword [0x53cee4]
push edi
call ebx
add esp, 4
jmp 0x442f28
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
mov ecx, edi
call dword [0x53cee4]
push dword [ebp - 0x18]
call edi
add esp, 4
jmp 0x442f0f
call fcn.0049f88e
int3
Function at 0x442fc0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [0x542040]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
mov dword [eax], 0x442fa0
push 0
push eax
push 0x442e40
push 0x556184
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x443088
mov esi, dword [ebp + 0xc]
cmp dword [0x556188], 0
jne 0x443096
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push dword [0x55618c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
jne 0x44304b
push 0x14
push 1
call fcn.00472a60
add esp, 8
test eax, eax
je 0x443096
mov edi, eax
push eax
push dword [0x55618c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x44308d
mov ebx, dword [ebp + 8]
mov esi, 0x556190
push esi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov eax, dword [ebp + 0x10]
mov dword [ebx*4 + 0x556194], eax
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [ebp + 0xc]
mov dword [edi + ebx*4], eax
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048e2e5
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.0049f88e
push edi
call fcn.004729c0
add esp, 4
mov ecx, dword [ebp + 0x10]
call dword [0x53cee4]
push esi
call ecx
add esp, 4
xor esi, esi
jmp 0x443074

Function at 0x443520
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov eax, dword [0x5450b0]
cmp eax, 0xffffffff
je 0x4435e1
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x4435e1
mov eax, dword [0x5571bc]
mov ecx, dword [0x545744]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4435eb
mov edi, dword [0x5571b8]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x443633
mov ecx, dword [0x5561b0]
inc ecx
xor edx, edx
lea eax, [ecx + edx]
movzx eax, al
mov ebx, eax
shl ebx, 4
cmp dword [ebx + 0x5561b4], 0
jne 0x44363f
lea ecx, [ebx + 0x5561b4]
mov dword [ecx], 1
mov edx, dword [ebp + 8]
mov dword [ecx + 4], edx
mov edx, dword [0x5571b4]
inc edx
mov dword [0x5571b4], edx
mov dword [ecx + 0xc], edx
mov dword [0x5561b0], eax
mov dword [esi], eax
mov eax, dword [ecx + 8]
mov dword [esi + 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp dword [esi], 0x100
jae 0x443630
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.00443660
jmp 0x443545
push 0x5571bc
call fcn.0048d9d1
add esp, 4
cmp dword [0x5571bc], 0xffffffff
jne 0x443566
push 4
call fcn.0048d95d
add esp, 4
mov edi, eax
mov ecx, eax
call fcn.00463210
mov dword [0x5571b8], edi
push 0x5571bc
call fcn.0048da4b
add esp, 4
jmp 0x443566
int3
mov ecx, edi
call fcn.00463220
jmp 0x44357b
inc edx
cmp edx, 0x100
jne 0x443584
jmp 0x4435cb
Function at 0x443660
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x808
mov eax, dword [0x542040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x814], 0xffffffff
mov ecx, dword [0x5450b0]
mov dword [ebp - 0x814], ecx
cmp ecx, 0xffffffff
je 0x44370d
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x443756
mov edi, 0x800
lea ebx, [ebp - 0x810]
push edi
push 0
push ebx
call fcn.004918a0
add esp, 0xc
lea eax, [ebp - 0x80d]
push eax
push dword [ebp - 0x814]
call fcn.0044ebe0
add esp, 8
push edi
call fcn.0048d9c3
add esp, 4
mov esi, eax
push edi
push ebx
push eax
call fcn.00491320
add esp, 0xc
mov eax, esi
or eax, 3
push eax
push dword [ebp - 0x814]
call fcn.0044ebe0
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048e2e5
mov eax, esi
add esp, 0x808
pop esi
pop edi
pop ebx
pop ebp
ret
lea esi, [ebp - 0x814]
push esi
call fcn.0044ebc0
add esp, 4
test al, al
je 0x443759
mov ecx, dword [ebp - 0x814]
cmp ecx, 0xffffffff
je 0x44375c
xor eax, eax
dec eax
lock cmpxchg dword [0x5450b0], ecx
je 0x443691
push ecx
call fcn.004ef0d0
add esp, 4
mov ecx, dword [0x5450b0]
mov dword [ebp - 0x814], ecx
jmp 0x443691
int3
int3
push esi
call fcn.0044ebc0
add esp, 4
test al, al
je 0x443784
cmp dword [ebp - 0x814], 0xffffffff
je 0x443784
push 0xffffffffffffffff
call fcn.004ef0d0
add esp, 4
mov ecx, dword [ebp - 0x814]
jmp 0x44372b
int3

Function at 0x443790
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov edi, ecx
mov eax, dword [0x542040]
xor eax, ebp
mov dword [esp + 0x1c], eax
push dword [0x5450b0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
and ecx, 3
cmp ecx, 2
je 0x4437d5
xor esi, esi
and eax, 0xfffffffc
je 0x443818
mov ecx, dword [edi]
mov edx, dword [eax + ecx*8 + 4]
cmp edx, dword [edi + 4]
jne 0x443818
mov esi, dword [eax + ecx*8]
jmp 0x443818
mov dword [esp + 0x14], 0x14
mov dword [esp + 0x10], 0x1dd76000
mov esi, esp
push 0x1fb
push str....._base_threading_thread_local_storage.cc
push 0x535fbb
push esi
call fcn.0046dfd0
add esp, 4
movsd xmm0, qword [esp + 0x1c]
movsd qword [esp + 4], xmm0
mov dword [esp], esi
call fcn.004d5d90
add esp, 0xc
xor esi, esi
mov ecx, dword [esp + 0x1c]
xor ecx, ebp
call fcn.0048e2e5
mov eax, esi
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
Function at 0x443d60
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, ecx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
cmp byte [edx + 0xb], 0
jns 0x443d79
mov edx, dword [edx]
mov ebx, eax
and ebx, 0xfffffff
test al, 4
je 0x443d91
cmp byte [esi + 0x28], 1
je 0x443e02
or ebx, 0x20000000
test bl, 8
jne 0x443e0a
mov dword [ebp - 0x10], 0
cmp byte [esi + 0x30], 0
mov eax, 0
je 0x443dab
mov eax, dword [esi + 0x2c]
cmp byte [esi + 0x24], 0
mov edi, 0
je 0x443db9
mov edi, dword [esi + 0x20]
mov dword [ebp - 0x18], eax
cmp byte [esi + 0x1c], 1
je 0x443e5c
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp byte [esi + 0xc], 1
je 0x443e72
test ecx, ecx
jne 0x443e2f
xor ecx, ecx
inc ecx
push dword [ebp - 0x18]
push edi
push dword [ebp - 0x10]
push eax
push ebx
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov esi, eax
test eax, eax
jne 0x443e26
test esi, esi
sete al
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
or ebx, 0x80000000
jmp 0x443d91
cmp byte [esi + 0x34], 1
jne 0x443e1b
or ebx, 0x40000000
jmp 0x443d96
or ebx, 0x10000000
jmp 0x443d96
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x443df3
cmp ecx, 4
jne 0x443e3b
mov ecx, 6
jmp 0x443ddc
mov esi, ecx
add ecx, 0xfffffffe
cmp ecx, 2
jae 0x443e4c
mov ecx, 7
jmp 0x443ddc
cmp esi, 1
jne 0x443e58
mov ecx, 4
jmp 0x443ddc
xor ecx, ecx
jmp 0x443ddc
lea ecx, [esi + 0x10]
mov dword [ebp - 0x14], edx
call fcn.004228a0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
jmp 0x443dc6
mov ecx, esi
mov esi, edx
call fcn.004228a0
mov ecx, dword [ebp + 0xc]
mov edx, esi
jmp 0x443dd5

Function at 0x443e90
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, ecx
mov eax, dword [ebp + 0x10]
mov ebx, eax
and ebx, 0xfffffff
test al, 4
je 0x443eba
cmp byte [esi + 0x28], 1
je 0x443f40
or ebx, 0x20000000
test bl, 8
jne 0x443f4b
xor eax, eax
cmp byte [esi + 0x30], 0
mov ecx, 0
je 0x443ed3
mov ecx, dword [esi + 0x2c]
cmp byte [esi + 0x24], 0
mov edi, 0
je 0x443ee1
mov edi, dword [esi + 0x20]
mov dword [ebp - 0x14], ecx
cmp byte [esi + 0x1c], 1
je 0x443f67
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 0xc]
xor eax, eax
cmp byte [esi + 0xc], 1
je 0x443f7d
mov ecx, dword [ebp + 8]
cmp edx, 4
jne 0x443f2f
mov edx, 6
push dword [ebp - 0x14]
push edi
push dword [ebp - 0x10]
push eax
push ebx
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
mov esi, eax
test eax, eax
jne 0x443f74
test esi, esi
sete al
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov esi, edx
add edx, 0xfffffffe
cmp edx, 2
jae 0x443f8d
mov edx, 7
jmp 0x443f09
or ebx, 0x80000000
jmp 0x443eba
cmp byte [esi + 0x34], 1
jne 0x443f5c
or ebx, 0x40000000
jmp 0x443ec3
or ebx, 0x10000000
jmp 0x443ec3
lea ecx, [esi + 0x10]
call fcn.004228a0
jmp 0x443eea
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x443f20
mov ecx, esi
mov esi, edx
call fcn.004228a0
mov edx, esi
jmp 0x443efc
test esi, esi
jne 0x443f99
xor edx, edx
inc edx
jmp 0x443f09
cmp esi, 1
jne 0x443fa8
mov edx, 4
jmp 0x443f09
xor edx, edx
jmp 0x443f09
Function at 0x4457f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [ebp + 0xc]
cmp eax, 3
je 0x445807
test eax, eax
je 0x445807
pop esi
pop edi
pop ebp
ret 0xc
test eax, eax
sete al
mov ecx, dword [0x557208]
test ecx, ecx
setne dl
and dl, al
cmp dl, 1
je 0x44585a
cmp dword [0x557200], 0
je 0x445801
mov esi, dword [0x557204]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test edi, edi
jne 0x445864
test esi, esi
je 0x445801
mov ecx, dword [0x557200]
call dword [0x53cee4]
push esi
call ecx
add esp, 4
jmp 0x445801
call dword [0x53cee4]
call ecx
jmp 0x44581e
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x445842

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb0
mov esi, ecx
mov eax, dword [0x542040]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0xb], 0
mov eax, ecx
jns 0x446472
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4464a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4464c0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048e2e5
mov ecx, esi
add esp, 0xb0
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.004465a0
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048e2e5
mov eax, ebx
add esp, 0xb0
pop esi
pop edi
pop ebx
pop ebp
ret
push 2
call fcn.0046d8e0
add esp, 4
test al, al
je 0x446576
call fcn.004d4ac0
lea ecx, [ebp - 0xb0]
push eax
push 2
push 0x265
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.004d4c90
lea eax, [ebp - 0xa8]
push 0x10
push str.CreateDirectory
push eax
call fcn.00454f30
add esp, 0xc
mov edi, eax
movsx eax, byte [esi + 0xb]
test eax, eax
jns 0x446514
mov eax, dword [esi + 4]
mov esi, dword [esi]
test eax, eax
js 0x44657d
sete cl
test esi, esi
setne dl
or dl, cl
je 0x446584
lea ebx, [ebp - 0xbc]
push eax
push esi
push ebx
call fcn.00466a10
add esp, 0xc
movsx eax, byte [ebx + 0xb]
test eax, eax
jns 0x446549
mov eax, dword [ebp - 0xb8]
mov ebx, dword [ebp - 0xbc]
push eax
push ebx
push edi
call fcn.00454f30
add esp, 0xc
cmp byte [ebp - 0xb1], 0
jns 0x44656b
push dword [ebp - 0xbc]
call fcn.0048d98d
add esp, 4
lea ecx, [ebp - 0xb0]
call fcn.004d4cf0
xor ebx, ebx
jmp 0x4464a9
push str....._third_partylibc_srcinclude_string_view:318:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
jmp 0x446589
push str....._third_partylibc_srcinclude_string_view:320:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
push 0x524b41
call fcn.004bbec0
int3
Function at 0x4465a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xa4
mov esi, ecx
mov eax, dword [0x542040]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0xb], 0
mov eax, ecx
jns 0x4465c2
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44664d
mov bl, 1
test al, 0x10
je 0x4465eb
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048e2e5
mov eax, ebx
add esp, 0xa4
pop esi
pop edi
pop ebx
pop ebp
ret
push 2
call fcn.0046d8e0
add esp, 4
test al, al
je 0x446649
lea edi, [ebp - 0xb0]
mov ecx, edi
push 2
push 0x255
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.00429cd0
lea eax, [ebp - 0xa8]
push 0x12
push str.GetFileAttributes
push eax
call fcn.00454f30
add esp, 0xc
push esi
push eax
call fcn.004d5830
add esp, 8
push 0x11
push str.:_not_a_directory
push eax
call fcn.00454f30
add esp, 0xc
mov ecx, edi
call fcn.0042a1b0
xor ebx, ebx
jmp 0x4465d4
push 2
call fcn.0046d8e0
add esp, 4
test al, al
je 0x446649
call fcn.004d4ac0
lea edi, [ebp - 0xb0]
mov ecx, edi
push eax
push 2
push 0x251
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.004d4c90
lea eax, [ebp - 0xa8]
push 0x12
push str.GetFileAttributes
push eax
call fcn.00454f30
add esp, 0xc
push esi
push eax
call fcn.004d5830
add esp, 8
mov ecx, edi
call fcn.004d4cf0
jmp 0x446649
Function at 0x447770
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0x542040]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x14]
mov dword [esi], 0xffffffff
mov edx, esi
call fcn.00446730
mov eax, dword [esi]
test eax, eax
je 0x4477c3
mov ebx, dword [eax + 0x28]
mov edi, dword [eax + 0x2c]
xor esi, esi
cmp ebx, edi
jne 0x4477ca
lea ecx, [ebp - 0x14]
call fcn.00447030
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048e2e5
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov esi, 3
jmp 0x4477a5
cmp dword [ebx + 0x50], 0
jne 0x4477e9
cmp byte [ebx + 0x1b], 0
js 0x4477db
lea eax, [ebx + 0x10]
jmp 0x4477de
mov eax, dword [ebx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x4477ee
add ebx, 0x58
jmp 0x4477a1
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
cmp edx, dword [eax + 8]
jae 0x447814
push ebx
mov dword [ebp - 0x18], edx
push edx
call fcn.004e63b0
add esp, 8
mov ecx, dword [ebp - 0x18]
add ecx, 0x50
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
jmp 0x4477e9
mov ecx, dword [ebp + 8]
push ebx
call fcn.004e6290
mov ecx, eax
jmp 0x44780c

Function at 0x447830
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0x542040]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x14]
mov dword [esi], 0xffffffff
mov edx, esi
call fcn.00446730
mov eax, dword [esi]
test eax, eax
je 0x447883
mov ebx, dword [eax + 0x28]
mov edi, dword [eax + 0x2c]
xor esi, esi
cmp ebx, edi
jne 0x44788a
lea ecx, [ebp - 0x14]
call fcn.00447030
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048e2e5
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov esi, 3
jmp 0x447865
cmp dword [ebx + 0x50], 2
jne 0x4478a9
cmp byte [ebx + 0x1b], 0
js 0x44789b
lea eax, [ebx + 0x10]
jmp 0x44789e
mov eax, dword [ebx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x4478ae
add ebx, 0x58
jmp 0x447861
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
cmp edx, dword [eax + 8]
jae 0x4478d4
push ebx
mov dword [ebp - 0x18], edx
push edx
call fcn.004e63b0
add esp, 8
mov ecx, dword [ebp - 0x18]
add ecx, 0x50
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
jmp 0x4478a9
mov ecx, dword [ebp + 8]
push ebx
call fcn.004e6290
mov ecx, eax
jmp 0x4478cc
Function at 0x44f5b0
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 [0x542040]
xor esi, ebp
mov dword [ebp - 8], esi
mov esi, 0x7fffffff
cmp edx, 0x7fffffff
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 0x44f60f
mov esi, dword [ebp - 0xc]
cmp esi, 0xffffffff
je 0x44f60c
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0048e2e5
mov eax, esi
add esp, 8
pop esi
pop ebp
ret
int3
xor esi, esi
dec esi
jmp 0x44f5fa

Function at 0x44f620
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [0x542040]
xor ecx, ebp
mov esi, 0x7fffffff
cmp eax, 0x7fffffff
cmovb esi, eax
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 0x14]
mov ecx, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0xffffffff
push 0
push eax
push esi
push edx
mov edi, ebx
push ebx
mov esi, ecx
call ecx
test eax, eax
je 0x44f6a3
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x44f68d
cmp ebx, 0xffffffff
je 0x44f6a0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048e2e5
mov eax, ebx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 3
je 0x44f6b5
mov ebx, dword [ebp - 0x14]
jmp 0x44f679
int3
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0x6d
setne bl
neg ebx
jmp 0x44f679
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
mov ecx, esi
mov esi, dword [ebp - 0x18]
jmp 0x44f656

Function at 0x44fb10
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0xa4
mov esi, dword [ebp + 8]
mov eax, dword [0x542040]
xor eax, ebp
mov dword [ebp - 0xc], eax
xor ebx, ebx
push ebx
push ebx
push ebx
push esi
call fcn.0044fa00
add esp, 0x10
or edx, eax
jne 0x44fb47
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov bl, 1
test eax, eax
je 0x44fb5d
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0048e2e5
mov eax, ebx
add esp, 0xa4
pop esi
pop ebx
pop ebp
ret
push 2
call fcn.0046d8e0
add esp, 4
test al, al
je 0x44fba7
call fcn.004d4ac0
lea esi, [ebp - 0xac]
mov ecx, esi
push eax
push 2
push 0xfc
push str....._third_partycrashpadcrashpadutil_file_file_io_win.cc
call fcn.004d4c90
lea eax, [ebp - 0xa4]
push 0xc
push 0x53806e
push eax
call fcn.00454f30
add esp, 0xc
mov ecx, esi
call fcn.004d4cf0
xor ebx, ebx
jmp 0x44fb47