joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4db9d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov esi, ecx
mov eax, dword [0x5a8564]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x5a8a48]
cmp eax, 0xffffffff
je 0x4db9fa
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x4db9ff
call fcn.004dbc00
cmp byte [0x5b948c], 1
jne 0x4dbb8e
mov edi, dword [0x5b9488]
cmp dword [0x5a9910], 0
je 0x4dbbbb
mov ecx, dword [0x5a990c]
test ecx, ecx
je 0x4dbbeb
call dword [section..00cfg]
push edi
call ecx
test al, al
jne 0x4dba41
mov ecx, edi
call fcn.00434ef0
mov ecx, dword [0x5b847c]
inc ecx
mov ebx, 0x100
nop dword [eax]
movzx eax, cl
mov edx, eax
shl edx, 4
cmp dword [edx + 0x5b8480], 0
je 0x4dba9b
lea eax, [ecx + 1]
movzx eax, al
mov edx, eax
shl edx, 4
cmp dword [edx + 0x5b8480], 0
je 0x4dba9b
add ecx, 2
add ebx, 0xfffffffe
jne 0x4dba50
cmp dword [0x5a97a8], 0
je 0x4dbae1
mov ecx, dword [0x5a97a4]
test ecx, ecx
je 0x4dbb0d
call dword [section..00cfg]
push edi
call ecx
jmp 0x4dbb11
lea ecx, [edx + 0x5b8480]
mov dword [ecx], 1
mov ecx, eax
shl ecx, 4
mov edx, dword [ebp + 8]
mov dword [ecx + 0x5b8484], edx
mov edx, dword [0x5b9480]
inc edx
mov dword [0x5b9480], edx
mov dword [ecx + 0x5b848c], edx
mov dword [0x5b847c], eax
mov dword [esi], eax
mov eax, dword [ecx + 0x5b8488]
mov dword [esi + 4], eax
cmp dword [0x5a97a8], 0
jne 0x4dba86
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x560f2f
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
mov dword [0x5a97a4], eax
mov dword [0x5a97a8], 1
test ecx, ecx
jne 0x4dba90
xor eax, eax
xchg dword [edi], eax
mov edi, dword [esi]
cmp edi, 0x100
jae 0x4dbb2f
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005327f1
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 4
push 0x100
call fcn.004585a0
add esp, 4
mov esi, eax
push edi
call fcn.004585a0
add esp, 4
push esi
push eax
push str.slot____kThreadLocalStorageSize
call fcn.00458910
add esp, 0xc
test eax, eax
je 0x4dbb1b
mov esi, eax
lea ebx, [ebp - 0x24]
push 0x201
push str....._base_threading_thread_local_storage.cc
push str.Initialize
push ebx
call fcn.00451690
add esp, 0x10
lea edi, [ebp - 0x14]
push ebx
push esi
push edi
call fcn.00458bc0
add esp, 0xc
mov ecx, edi
call fcn.00458cb0
jmp 0x4dbb1b
mov byte [0x5b948c], 1
push 4
call fcn.00532780
add esp, 4
mov edi, eax
mov ecx, eax
call fcn.00434ee0
mov dword [0x5b9488], edi
cmp dword [0x5a9910], 0
jne 0x4dba1f
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.TryAcquireSRWLockExclusive
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
mov dword [0x5a990c], eax
mov dword [0x5a9910], 1
test ecx, ecx
jne 0x4dba2d
xor eax, eax
lock bts dword [edi], eax
jb 0x4dba3a
jmp 0x4dba41
Function at 0x4dbc00
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x814
mov eax, dword [0x5a8564]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x814], 0xffffffff
mov ecx, dword [0x5a8a48]
mov dword [ebp - 0x814], ecx
cmp ecx, 0xffffffff
jne 0x4dbcc3
lea edi, [ebp - 0x814]
push edi
call fcn.004f86e0
add esp, 4
test al, al
je 0x4dbdae
mov ecx, dword [ebp - 0x814]
cmp ecx, 0xffffffff
jne 0x4dbc85
push edi
call fcn.004f86e0
add esp, 4
test al, al
je 0x4dbded
cmp dword [ebp - 0x814], 0xffffffff
je 0x4dbded
push 0xffffffffffffffff
call fcn.004f8700
add esp, 4
mov ecx, dword [ebp - 0x814]
mov eax, 0xffffffff
lock cmpxchg dword [0x5a8a48], ecx
je 0x4dbca9
push ecx
call fcn.004f8700
add esp, 4
mov ecx, dword [0x5a8a48]
mov dword [ebp - 0x814], ecx
cmp dword [0x5b9484], 0
jne 0x4dbcc3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x5b9484], eax
mov ecx, dword [ebp - 0x814]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
and esi, 3
jne 0x4dbd45
lea edi, [ebp - 0x810]
push 0x800
push 0
push edi
call fcn.00536680
add esp, 0xc
lea eax, [ebp - 0x80d]
push eax
push dword [ebp - 0x814]
call fcn.004f8710
add esp, 8
push 0x800
call fcn.005327e3
add esp, 4
mov esi, eax
push 0x800
push edi
push eax
call fcn.00536100
add esp, 0xc
mov eax, esi
or eax, 3
push eax
push dword [ebp - 0x814]
call fcn.004f8710
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005327f1
mov eax, esi
add esp, 0x814
pop esi
pop edi
pop ebx
pop ebp
ret
push 0
call fcn.00458540
add esp, 4
mov edi, eax
push esi
call fcn.00458540
add esp, 4
push edi
push eax
push str.GetTlsVectorStateAndValue_key___TlsVectorState::kUninitialized
call fcn.00458910
add esp, 0xc
test eax, eax
je 0x4dbcd1
mov esi, eax
lea ebx, [ebp - 0x810]
push 0x140
push str....._base_threading_thread_local_storage.cc
push str.ConstructTlsVector
push ebx
call fcn.00451690
add esp, 0x10
lea edi, [ebp - 0x820]
push ebx
push esi
push edi
call fcn.00458bc0
add esp, 0xc
mov ecx, edi
call fcn.00458cb0
jmp 0x4dbcd1
lea ebx, [ebp - 0x810]
push 0x122
push str....._base_threading_thread_local_storage.cc
push str.ConstructTlsVector
push ebx
call fcn.00451690
add esp, 0x10
lea esi, [ebp - 0x818]
push ebx
push str.PlatformThreadLocalStorage::AllocTLS_key_
push esi
call fcn.00458b50
add esp, 0xc
mov ecx, esi
call fcn.00458cb0
jmp 0x4dbc4c
lea edi, [ebp - 0x810]
push 0x12c
push str....._base_threading_thread_local_storage.cc
push str.ConstructTlsVector
push edi
call fcn.00451690
add esp, 0x10
lea esi, [ebp - 0x81c]
push edi
push str.PlatformThreadLocalStorage::AllocTLS_key___key___PlatformThreadLocalStorage::TLS_KEY_OUT_OF_INDEXES
push esi
call fcn.00458b50
add esp, 0xc
mov ecx, esi
call fcn.00458cb0
jmp 0x4dbc75
Function at 0x4dd6c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
cmp byte [0x5b94b0], 0
je 0x4dd71f
mov ecx, 0x5b94a4
call fcn.004dbe30
test eax, eax
jne 0x4dd712
push 4
call fcn.00532780
add esp, 4
mov edi, eax
mov dword [eax], 0
mov ecx, 0x5b94a4
call fcn.004dbe30
mov esi, eax
mov ecx, 0x5b94a4
push edi
call fcn.004dbe60
test esi, esi
je 0x4dd712
push esi
call fcn.005327b0
add esp, 4
mov ecx, 0x5b94a4
pop esi
pop edi
pop ebp
jmp fcn.004dbe30
mov byte [0x5b94b0], 1
mov ecx, 0x5b94a4
call fcn.004dd740
jmp 0x4dd6ce

Function at 0x4e2824
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov esi, dword [0x5a8564]
xor esi, ebp
mov dword [ebp - 0x10], esi
mov esi, 0x7fffffff
cmp edx, esi
cmovb esi, edx
lea edx, [ebp - 0x14]
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 0x4e28ae
push str.bytes_written___static_cast_DWORD___1_
push 0xffffffffffffffff
push dword [ebp - 0x14]
call fcn.004e28c5
add esp, 0xc
test eax, eax
je 0x4e28a9
mov esi, eax
lea ebx, [ebp - 0x28]
push 0x65
push str....._third_partycrashpadcrashpadutil_file_file_io_win.cc
push str.NativeWriteFile
push ebx
call fcn.00451690
add esp, 0x10
lea edi, [ebp - 0x18]
push ebx
push esi
push edi
call fcn.00458bc0
add esp, 0xc
mov ecx, edi
call fcn.00458cb0
mov esi, dword [ebp - 0x14]
jmp 0x4e28b1
xor esi, esi
dec esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005327f1
mov eax, esi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4e28fe
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [0x5a8564]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
mov ecx, 0x7fffffff
cmp eax, ecx
cmovb ecx, eax
lea eax, [ebp - 0x14]
mov dword [eax], 0xffffffff
push 0
push eax
mov dword [ebp - 0x2c], ecx
push ecx
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4e29aa
push str.bytes_read___static_cast_DWORD___1_
push 0xffffffffffffffff
push dword [ebp - 0x14]
call fcn.004e28c5
add esp, 0xc
test eax, eax
je 0x4e2985
mov edi, eax
push 0x7e
push str....._third_partycrashpadcrashpadutil_file_file_io_win.cc
push 0x568137
lea ebx, [ebp - 0x28]
push ebx
call fcn.00451690
add esp, 0x10
push ebx
push edi
lea edi, [ebp - 0x18]
push edi
call fcn.00458bc0
add esp, 0xc
mov ecx, edi
call fcn.00458cb0
mov ebx, dword [ebp - 0x14]
test ebx, ebx
jne 0x4e29bf
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 3
jne 0x4e29bc
mov dword [ebp - 0x14], 0xffffffff
push 0
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x2c]
jmp 0x4e2932
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0x6d
setne bl
neg ebx
jmp 0x4e29bf
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005327f1
mov eax, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4e2fb3
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0xac
mov esi, dword [ebp + 8]
mov eax, dword [0x5a8564]
xor eax, ebp
mov dword [ebp - 0xc], eax
xor ebx, ebx
push ebx
push ebx
push ebx
push esi
call fcn.004e2e91
add esp, 0x10
or edx, eax
jne 0x4e3036
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov bl, 1
test eax, eax
jne 0x4e3036
push 2
call fcn.0044f030
add esp, 4
test al, al
je 0x4e3034
call fcn.0044ff30
lea esi, [ebp - 0xb4]
mov ecx, esi
push eax
push 2
push 0xfb
push str....._third_partycrashpadcrashpadutil_file_file_io_win.cc
call fcn.004500d0
lea eax, [ebp - 0xac]
push 0xc
push 0x57694f
push eax
call fcn.0040218b
add esp, 0xc
mov ecx, esi
call fcn.00450180
xor ebx, ebx
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.005327f1
mov eax, ebx
add esp, 0xac
pop esi
pop ebx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb8
mov edi, dword [ebp + 8]
mov eax, dword [0x5a8564]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x4e36ad
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4e36d9
mov ebx, eax
cmp byte [ebp + 0xc], 0
jne 0x4e36ce
mov eax, ebx
and eax, 0x400
jne 0x4e377f
and ebx, 0x10
shr ebx, 4
jmp 0x4e3781
push 2
call fcn.0044f030
add esp, 4
test al, al
je 0x4e377f
call fcn.0044ff30
lea ecx, [ebp - 0xb8]
push eax
push 2
push 0x82
push str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
call fcn.004500d0
lea eax, [ebp - 0xb0]
push 0x12
push str.GetFileAttributes
push eax
call fcn.0040218b
add esp, 0xc
mov esi, eax
movzx eax, byte [edi + 0xb]
test al, al
jns 0x4e372d
mov eax, dword [edi + 4]
mov edi, dword [edi]
lea ebx, [ebp - 0xc4]
push eax
push edi
push ebx
call fcn.00442160
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x4e3752
mov eax, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xc4]
push eax
push ebx
push esi
call fcn.0040218b
add esp, 0xc
cmp byte [ebp - 0xb9], 0
jns 0x4e3774
push dword [ebp - 0xc4]
call fcn.005327b0
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.00450180
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005327f1
mov eax, ebx
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4e3798
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb8
mov edi, dword [ebp + 8]
mov eax, dword [0x5a8564]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x4e37bb
mov eax, dword [edi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
jne 0x4e3923
cmp byte [ebp + 0x10], 0
je 0x4e388d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4e388d
push 1
push edi
call fcn.004e368a
add esp, 8
test al, al
jne 0x4e3923
push 2
call fcn.0044f030
add esp, 4
test al, al
je 0x4e3921
lea ecx, [ebp - 0xc4]
push 2
push 0x5d
push str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
call fcn.0044f100
movzx eax, byte [edi + 0xb]
test al, al
jns 0x4e382f
mov eax, dword [edi + 4]
mov edi, dword [edi]
lea esi, [ebp - 0xbc]
lea ebx, [ebp - 0x1c]
push eax
push edi
push ebx
call fcn.00442160
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x4e3851
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
push eax
push ebx
push esi
call fcn.0040218b
add esp, 0xc
push 0x10
push str._not_a_directory
push eax
call fcn.0040218b
add esp, 0xc
cmp byte [ebp - 0x11], 0
jns 0x4e387d
push dword [ebp - 0x1c]
call fcn.005327b0
add esp, 4
lea ecx, [ebp - 0xc4]
call fcn.0044f510
jmp 0x4e3921
push 2
call fcn.0044f030
add esp, 4
test al, al
je 0x4e3921
call fcn.0044ff30
lea ecx, [ebp - 0xc4]
push eax
push 2
push 0x62
push str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
call fcn.004500d0
lea eax, [ebp - 0xbc]
push 0x10
push str.CreateDirectory
push eax
call fcn.0040218b
add esp, 0xc
mov esi, eax
movzx eax, byte [edi + 0xb]
test al, al
jns 0x4e38de
mov eax, dword [edi + 4]
mov edi, dword [edi]
lea ebx, [ebp - 0x1c]
push eax
push edi
push ebx
call fcn.00442160
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x4e38fa
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
push eax
push ebx
push esi
call fcn.0040218b
add esp, 0xc
cmp byte [ebp - 0x11], 0
jns 0x4e3916
push dword [ebp - 0x1c]
call fcn.005327b0
add esp, 4
lea ecx, [ebp - 0xc4]
call fcn.00450180
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005327f1
mov eax, ebx
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4e393a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb8
mov edi, dword [ebp + 8]
mov eax, dword [0x5a8564]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x4e395d
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4e3976
test eax, 0x410
sete bl
jmp 0x4e3a1b
push 2
call fcn.0044f030
add esp, 4
test al, al
je 0x4e3a19
call fcn.0044ff30
lea ecx, [ebp - 0xb8]
push eax
push 2
push 0x75
push str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
call fcn.004500d0
lea eax, [ebp - 0xb0]
push 0x12
push str.GetFileAttributes
push eax
call fcn.0040218b
add esp, 0xc
mov esi, eax
movzx eax, byte [edi + 0xb]
test al, al
jns 0x4e39c7
mov eax, dword [edi + 4]
mov edi, dword [edi]
lea ebx, [ebp - 0xc4]
push eax
push edi
push ebx
call fcn.00442160
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x4e39ec
mov eax, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xc4]
push eax
push ebx
push esi
call fcn.0040218b
add esp, 0xc
cmp byte [ebp - 0xb9], 0
jns 0x4e3a0e
push dword [ebp - 0xc4]
call fcn.005327b0
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.00450180
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005327f1
mov eax, ebx
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4e3a32
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb8
mov esi, dword [ebp + 8]
mov eax, dword [0x5a8564]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [esi + 0xb], 0
mov eax, esi
jns 0x4e3a55
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4e3a88
and eax, 0x410
cmp eax, 0x410
jne 0x4e3a88
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005327f1
mov ecx, esi
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.004e3b62
cmp byte [esi + 0xb], 0
mov eax, esi
jns 0x4e3a92
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov bl, 1
test eax, eax
jne 0x4e3b4b
push 2
call fcn.0044f030
add esp, 4
test al, al
je 0x4e3b49
call fcn.0044ff30
lea ecx, [ebp - 0xb8]
push eax
push 2
push 0x95
push str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
call fcn.004500d0
lea eax, [ebp - 0xb0]
push 0xb
push str.DeleteFile
push eax
call fcn.0040218b
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x4e3af7
mov eax, dword [esi + 4]
mov esi, dword [esi]
lea ebx, [ebp - 0xc4]
push eax
push esi
push ebx
call fcn.00442160
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x4e3b1c
mov eax, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xc4]
push eax
push ebx
push edi
call fcn.0040218b
add esp, 0xc
cmp byte [ebp - 0xb9], 0
jns 0x4e3b3e
push dword [ebp - 0xc4]
call fcn.005327b0
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.00450180
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005327f1
mov eax, ebx
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4e3b62
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xbc
mov edi, ecx
mov eax, dword [0x5a8564]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0xb], 0
mov eax, ecx
jns 0x4e3b84
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
test eax, eax
jne 0x4e3c41
push 2
call fcn.0044f030
add esp, 4
test al, al
je 0x4e3c41
call fcn.0044ff30
lea ecx, [ebp - 0xb8]
push eax
push 2
push 0x30
push str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
call fcn.004500d0
lea eax, [ebp - 0xb0]
push 0x10
push str.RemoveDirectory
push eax
call fcn.0040218b
add esp, 0xc
movzx ecx, byte [edi + 0xb]
test cl, cl
mov dword [ebp - 0xc8], eax
jns 0x4e3bea
mov ecx, dword [edi + 4]
mov edi, dword [edi]
lea ebx, [ebp - 0xc4]
push ecx
push edi
push ebx
call fcn.00442160
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x4e3c0f
mov eax, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xc4]
push eax
push ebx
push dword [ebp - 0xc8]
call fcn.0040218b
add esp, 0xc
cmp byte [ebp - 0xb9], 0
jns 0x4e3c36
push dword [ebp - 0xc4]
call fcn.005327b0
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.00450180
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005327f1
mov eax, ebx
add esp, 0xbc
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4e9939
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x108
mov dword [ebp - 0x114], ecx
mov eax, dword [0x5a8564]
xor eax, ebp
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov esi, 0x100
lea ebx, [ebp - 0x110]
push esi
push 0xff
push ebx
call fcn.00536680
add esp, 0xc
push str.winhttp.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor ecx, ecx
push ecx
push esi
push ebx
push ecx
push edi
push eax
push 0x1aff
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov esi, eax
push 0x6001
call fcn.0043d840
add esp, 4
mov ebx, eax
test esi, esi
je 0x4e99cd
push edi
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0x114]
push str.LogErrorWinHttpMessage:__s_:__s__0x_x_n
push 0x6000
push ebx
call fcn.004e9a0d
add esp, 0x18
jmp 0x4e99e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
push eax
push str.LogErrorWinHttpMessage:_Error__0x_X__while_retrieving_error.__0x_X__n
push 0x6000
push ebx
call fcn.004e9a0d
add esp, 0x14
push ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
call fcn.0043d890
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005327f1
add esp, 0x108
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4ed941
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x12c
mov esi, dword [ebp + 8]
mov al, byte [ebp + 0xc]
mov ecx, dword [0x5a8564]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
xor ecx, ecx
dec ecx
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x130], ecx
test al, al
je 0x4eda1c
lea ebx, [ebp - 0x120]
xor edi, edi
push 0x110
push edi
push ebx
call fcn.00536680
add esp, 0xc
mov dword [ebx - 0xc], 0x11c
sub esp, 0x10
movaps xmm0, xmmword [0x574b50]
movups xmmword [esp], xmm0
mov ebx, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
call ebx
mov ecx, 3
push ecx
push 1
push edx
push eax
call ebx
mov ecx, 3
push ecx
push 0x20
push edx
push eax
call ebx
lea ecx, [ebp - 0x120]
mov dword [ecx - 8], 6
mov dword [ecx - 4], edi
mov word [ecx + 0x108], 0
lea ecx, [ebp - 0x12c]
push edx
push eax
push 0x23
push ecx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
mov ebx, 0x80003
test eax, eax
je 0x4eda23
lea edi, [ebp - 0x138]
mov dword [edi], 0xc
push 0
call fcn.004eda6c
add esp, 4
mov dword [edi + 4], eax
mov dword [edi + 8], 1
jmp 0x4eda23
xor edi, edi
mov ebx, 3
cmp byte [esi + 0xb], 0
jns 0x4eda2b
mov esi, dword [esi]
sub esp, 0x20
mov dword [esp + 0x1c], edi
movaps xmm0, xmmword [0x577850]
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]
mov esi, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005327f1
mov eax, esi
add esp, 0x12c
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4eddc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x18
mov esi, ecx
mov eax, dword [0x5a8564]
xor eax, ebp
mov dword [ebp - 0xc], eax
xor eax, eax
push eax
push eax
push ecx
push 0x4ede40
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
test eax, eax
je 0x4eddfe
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.005327f1
add esp, 0x18
pop esi
pop edi
pop ebp
ret
lea edi, [ebp - 0x20]
push 0x1b
push str....._third_partycrashpadcrashpadutil_thread_thread_win.cc
push str.Start
push edi
call fcn.00451690
add esp, 0x10
lea esi, [ebp - 0x10]
push edi
push str.platform_thread_
push esi
call fcn.00458c20
add esp, 0xc
mov ecx, esi
push 0x574707
call fcn.0040b260
mov ecx, esi
call fcn.00458cb0
jmp 0x4edded

Function at 0x4ee104
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