joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426d10
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 [ebp + 0xc]
mov edx, dword [0x5c4738]
xor edx, ebp
mov dword [esp + 0x78], edx
mov byte [ecx], 0
mov dword [esp + 0x3c], ecx
mov dword [ecx + 8], eax
test byte [0x5c3290], 0x19
je 0x426df1
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [esp + 0x40], ecx
mov esi, dword [eax + 4]
call fcn.004ba5a0
mov dword [esp + 0x44], eax
xor eax, eax
dec eax
lea edi, [esp + 0x48]
mov dword [edi + 4], eax
mov dword [edi], eax
mov dword [esp], edi
call fcn.004bb520
pcmpeqd xmm0, xmm0
lea ebx, [esp + 0x50]
movdqa xmmword [ebx], xmm0
movdqa xmmword [ebx + 0x10], xmm0
mov word [ebx], 0x602
mov byte [ebx + 2], 6
mov dword [ebx + 4], str.file_name
mov dword [ebx + 8], str.function_name
mov dword [ebx + 0x10], esi
mov eax, dword [esp + 0x40]
mov dword [ebx + 0x18], eax
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edi
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 8], 0x586834
mov dword [esp + 4], 0x5c3290
mov dword [esp], 0x42
call fcn.004c1190
mov al, byte [ebx]
test al, al
jne 0x426ea9
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 8]
test eax, eax
je 0x426dfb
mov al, byte [eax]
test al, 1
jne 0x426e04
call fcn.00430110
test eax, eax
je 0x426e1d
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.004d25a3
mov eax, dword [esp + 0x3c]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov eax, dword [esp + 0x3c]
cmp byte [eax], 0
jne 0x426e2d
mov eax, dword [esp + 0x3c]
mov byte [eax], 1
mov eax, dword [esp + 0x3c]
mov dword [eax + 4], 0
mov dword [esp], 1
call fcn.00421870
test byte [0x5c3290], 0x19
je 0x426e04
call fcn.004ba5a0
mov edi, eax
xor eax, eax
dec eax
lea esi, [esp + 0x50]
mov dword [esi + 4], eax
mov dword [esi], eax
mov dword [esp], esi
call fcn.004bb520
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], eax
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 8], str.ScopedMayLoadLibraryAtBackgroundPriority_:_Priority_Increased
mov dword [esp + 4], 0x5c3290
mov dword [esp], 0x42
call fcn.004c1190
jmp 0x426e04
cmp byte [esp + 0x51], 8
jne 0x426eca
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x426eca
mov eax, dword [ecx]
mov dword [esp], 1
call dword [eax]
sub esp, 4
mov al, byte [esp + 0x50]
cmp al, 2
jb 0x426dea
xor edi, edi
inc edi
cmp byte [esp + edi + 0x51], 8
jne 0x426ef6
mov ecx, dword [esp + edi*8 + 0x60]
test ecx, ecx
je 0x426ef6
mov eax, dword [ecx]
mov dword [esp], 1
call dword [eax]
sub esp, 4
mov al, byte [esp + 0x50]
inc edi
movzx ecx, al
cmp edi, ecx
jae 0x426dea
jmp 0x426ed5
Function at 0x4287a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
mov eax, dword [0x5c4738]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x21a]
push 0x20a
push 0xff
push edi
call fcn.004d5a00
add esp, 0xc
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
dec esi
cmp esi, 0x102
ja 0x428823
push edi
call fcn.004d00f2
add esp, 4
lea ebx, [ebp - 0x234]
mov ecx, ebx
push eax
push edi
call fcn.004cae90
lea edi, [ebp - 0x228]
mov ecx, ebx
push edi
call fcn.004291a0
mov ecx, dword [ebp + 8]
push edi
call fcn.00411710
mov ecx, edi
call fcn.004c5e70
mov ecx, ebx
call fcn.004c5e70
cmp esi, 0x103
setb bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d25a3
mov eax, ebx
add esp, 0x228
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x429da0
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 [0x5c4738]
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 0x429df8
mov esi, dword [ebp - 0xc]
cmp esi, 0xffffffff
je 0x429dfd
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004d25a3
mov eax, esi
add esp, 8
pop esi
pop ebp
ret
xor esi, esi
dec esi
jmp 0x429de6
int3

Function at 0x429fb0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [ebp + 0x10]
mov ecx, dword [0x5c4738]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
mov esi, 0x7fffffff
cmp eax, esi
cmovb esi, eax
lea edi, [ebp - 0x14]
mov dword [edi], 0xffffffff
push 0
push edi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42a046
mov eax, dword [sym.imp.KERNEL32.dll_GetFileType]
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x42a013
cmp ebx, 0xffffffff
je 0x42a025
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d25a3
mov eax, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [ebp + 8]
push ebx
mov ebx, eax
call eax
cmp eax, 3
je 0x42a028
mov ebx, dword [ebp - 0x14]
jmp 0x429fff
int3
mov dword [ebp - 0x14], 0xffffffff
push 0
push edi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [sym.imp.KERNEL32.dll_ReadFile]
call eax
test eax, eax
mov eax, ebx
jne 0x429ff3
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0x6d
setne bl
neg ebx
jmp 0x429fff
Function at 0x42b600
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 [0x5c4738]
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
jne 0x42b677
cmp byte [esi + 0xb], 0
jns 0x42b639
mov esi, dword [esi]
mov dword [esp + 0x1c], edi
movaps xmm0, xmmword [0x58be30]
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.004d25a3
mov eax, esi
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xfe
mov ebx, 0x80003
cmp eax, 6
jb 0x42b631
lea edi, [ebp - 0x1c]
mov dword [edi], 0xc
mov dword [esp], 0
call fcn.00547ae0
mov dword [edi + 4], eax
mov dword [edi + 8], 1
jmp 0x42b631
Function at 0x42dc90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
cmp dword [ecx + 8], 0
mov eax, dword [ecx]
jne 0x42dd73
test eax, eax
jne 0x42dd73
cmp dword [esi + 0xc], 0
jne 0x42dd71
xor eax, eax
cmp dword [esi + 4], 0
mov edx, 0
jne 0x42dd73
mov ecx, dword [ebp + 8]
mov ebx, dword [ecx]
cmp edx, ebx
je 0x42dcf9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x42dd41
lea eax, [ebx + 1]
cmp eax, 2
jb 0x42dcef
mov dword [esi], ebx
call fcn.004bafe0
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi + 4]
mov ecx, dword [ebp + 8]
mov ebx, dword [ecx + 4]
cmp eax, ebx
je 0x42dd2b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi + 4]
inc eax
cmp eax, 2
jae 0x42dd58
lea eax, [ebx + 1]
cmp eax, 2
jb 0x42dd24
mov dword [esi + 4], ebx
call fcn.004bafe0
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [esi + 0xc], eax
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.004bafe0
push dword [esi]
call fcn.004c1b90
add esp, 4
mov dword [esi], 0
jmp 0x42dce0
call fcn.004bafe0
push dword [esi + 4]
call fcn.004c1b90
add esp, 4
mov dword [esi + 4], 0
jmp 0x42dd14
xor eax, eax
lea ecx, [eax + 1]
cmp ecx, 2
jae 0x42dd97
mov ecx, dword [esi + 4]
lea edx, [ecx + 1]
cmp edx, 2
jae 0x42ddb0
mov edx, eax
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov eax, ecx
jmp 0x42dcc7
call fcn.004bafe0
push dword [esi]
call fcn.004c1b90
add esp, 4
mov dword [esi], 0
xor eax, eax
jmp 0x42dd7b
call fcn.004bafe0
push dword [esi + 4]
call fcn.004c1b90
add esp, 4
mov dword [esi + 4], 0
mov eax, dword [esi]
xor ecx, ecx
jmp 0x42dd86

Function at 0x42de70
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x5c3210]
cmp eax, 0xffffffff
je 0x42de90
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 3
dec eax
cmp eax, 2
setb al
pop ebp
ret
xor eax, eax
jmp 0x42de8e

Function at 0x42eef0
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 [0x5c4738]
xor eax, ebp
mov dword [ebp - 0xc], eax
xor ebx, ebx
push ebx
push ebx
push ebx
push esi
call fcn.00431da0
add esp, 0x10
or edx, eax
jne 0x42ef27
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov bl, 1
test eax, eax
je 0x42ef3d
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004d25a3
mov eax, ebx
add esp, 0xb0
pop esi
pop ebx
pop ebp
ret
push 2
call fcn.004cb810
add esp, 4
test al, al
je 0x42ef87
call fcn.00501800
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.00501810
lea eax, [ebp - 0xb0]
push 0xc
push 0x5930c0
push eax
call fcn.004b7fc0
add esp, 0xc
mov ecx, esi
call fcn.005018c0
xor ebx, ebx
jmp 0x42ef27
Function at 0x42fa90
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov edi, dword [ebp + 8]
mov eax, dword [0x5c4738]
xor eax, ebp
mov dword [esp + 0x48], eax
xor eax, eax
dec eax
lea esi, [esp + 0x10]
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
mov ebx, esp
push 0x1e8
push str..._.._base_files_file_util_win.cc
push str.PathExists
push ebx
call fcn.004c10c0
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.004c7be0
cmp byte [edi + 0xb], 0
jns 0x42faf5
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
dec ecx
cmp eax, ecx
setne bl
mov ecx, esi
call fcn.004c7b60
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.004d25a3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x430150
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x460
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [0x5c4738]
xor eax, ebp
mov dword [esp + 0x458], eax
xor eax, eax
dec eax
lea esi, [esp + 0x10]
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea eax, [esp + 0x250]
push 0x1b5
push str..._.._base_files_file_util_win.cc
push 0x57e06d
push eax
call fcn.004c10c0
add esp, 0x10
mov ecx, esi
lea esi, [esp + 0x250]
push 0
push esi
call fcn.004c7be0
mov eax, 0x208
mov ecx, 0xff
push eax
push ecx
push esi
call fcn.004d5a00
add esp, 0xc
cmp byte [ebx + 0xb], 0
mov eax, ebx
jns 0x4301e1
mov eax, dword [ebx]
mov ecx, 0x104
push ecx
push eax
push esi
call fcn.004302f0
add esp, 0xc
push esi
call fcn.004b94c0
add esp, 4
lea esi, [esp + 0x48]
mov eax, 0x208
push eax
mov eax, 0xff
push eax
push esi
call fcn.004d5a00
add esp, 0xc
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x43021d
mov eax, dword [edi]
mov ecx, 0x104
push ecx
push eax
push esi
call fcn.004302f0
add esp, 0xc
push esi
call fcn.004b94c0
add esp, 4
cmp byte [ebx + 0xb], 0
mov eax, ebx
jns 0x430240
mov eax, dword [ebx]
cmp byte [edi + 0xb], 0
mov ecx, edi
jns 0x43024a
mov ecx, dword [edi]
sub esp, 0x18
movaps xmm0, xmmword [0x579aa0]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], eax
mov dword [esp], ecx
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
test eax, eax
jne 0x4302c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00430340
add esp, 4
mov dword [esp + 0xc], eax
cmp byte [edi + 0xb], 0
jns 0x430285
mov edi, dword [edi]
mov esi, dword [ebp + 0x10]
cmp byte [ebx + 0xb], 0
jns 0x430290
mov ebx, dword [ebx]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne bl
test esi, esi
je 0x4302a5
test eax, eax
je 0x4302ca
lea ecx, [esp + 0x10]
call fcn.004c7b60
mov ecx, dword [esp + 0x458]
xor ecx, ebp
call fcn.004d25a3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov bl, 1
jmp 0x4302a5
cmp dword [esp + 0xc], 0xfffffffc
jne 0x4302da
call fcn.0051fc50
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [esi], eax
xor ebx, ebx
jmp 0x4302a5
Function at 0x430470
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov dword [esp + 8], ecx
mov eax, dword [0x5c4738]
xor eax, ebp
mov dword [esp + 0x58], eax
xor edi, edi
dec edi
lea ebx, [esp + 0x20]
mov dword [ebx + 0x34], edi
mov dword [ebx + 0x30], edi
pcmpeqd xmm0, xmm0
movdqa xmmword [ebx + 0x20], xmm0
movdqa xmmword [ebx + 0x10], xmm0
movdqa xmmword [ebx], xmm0
lea esi, [esp + 0x10]
push 0x88
push str..._.._base_files_file_win.cc
push str.WriteAtCurrentPos
push esi
call fcn.004c10c0
add esp, 0x10
mov ecx, ebx
mov ebx, dword [ebp + 0xc]
push 0
push esi
call fcn.004c7be0
test ebx, ebx
js 0x430520
mov edi, dword [ebp + 8]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0
call fcn.004c7b10
test al, al
jne 0x430540
lea esi, [esp + 0xc]
mov dword [esi], 0xffffffff
push 0
push esi
push ebx
push edi
mov eax, dword [esp + 0x18]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor edi, edi
cmp eax, 1
sbb edi, edi
or edi, dword [esi]
lea ecx, [esp + 0x10]
call fcn.004c7b30
lea ecx, [esp + 0x20]
call fcn.004c7b60
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.004d25a3
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
lea ecx, [esp + 0x10]
push 0
push ebx
push dword [esp + 0x10]
push str.File::WriteAtCurrentPos
call fcn.00519a00
jmp 0x4304f3
Function at 0x430b50
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov eax, dword [0x5c4738]
xor eax, ebp
mov dword [esp + 0x68], eax
xor edi, edi
dec edi
lea esi, [esp + 0x20]
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], edi
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea ebx, [esp + 0x10]
push 0x4d
push str..._.._base_file_version_info_win.cc
push str.CreateFileVersionInfoWin
push ebx
call fcn.004c10c0
add esp, 0x10
mov ecx, esi
push 0
push ebx
mov ebx, dword [ebp + 0xc]
call fcn.004c7be0
mov dword [esp + 0xc], edi
cmp byte [ebx + 0xb], 0
jns 0x430bb8
mov ebx, dword [ebx]
mov esi, dword [ebp + 8]
lea eax, [esp + 0xc]
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x430cfc
mov edi, eax
mov dword [esp + 8], ebx
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
test edi, edi
js 0x430d04
push edi
call fcn.004cf0a6
add esp, 4
mov ebx, eax
mov dword [esp + 0x10], eax
mov esi, edi
add esi, eax
mov dword [esp + 0x18], esi
push edi
push 0
push eax
call fcn.004d5a00
add esp, 0xc
mov dword [esp + 0x14], esi
push ebx
push edi
push dword [esp + 0x14]
push dword [esp + 0x14]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x430cf1
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x64]
mov dword [ecx], 0
lea esi, [esp + 0x60]
mov dword [esi], 0xffffffff
push esi
push ecx
push str.VarFileInfoTranslation
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x430cf1
mov ebx, dword [esp + 0x64]
test ebx, ebx
je 0x430cf1
push 0x1c
call fcn.004cf0a6
add esp, 4
mov edi, eax
mov eax, dword [ebx]
mov dword [edi], 0x57dd90
mov ecx, dword [esp + 0x10]
mov dword [edi + 4], ecx
mov edx, dword [esp + 0x14]
mov dword [edi + 8], edx
mov edx, dword [esp + 0x18]
mov dword [edi + 0xc], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edx
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x60], 0xffffffff
push esi
lea eax, [esp + 0x68]
push eax
push 0x57dfe6
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x430d0d
mov eax, dword [esp + 0x64]
mov dword [edi + 0x18], eax
mov esi, dword [ebp + 8]
mov dword [esi], edi
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x430d10
lea ecx, [esp + 0x20]
call fcn.004c7b60
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.004d25a3
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [ebp + 8]
mov dword [esi], 0
jmp 0x430ccb
mov dword [esi], 0
jmp 0x430cd3
lea ecx, [esp + 0x10]
call fcn.004ff350
int3
mov dword [esp + 0x14], eax
push eax
call fcn.004cf0d6
add esp, 4
jmp 0x430cd3
Function at 0x4315a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 8
mov esi, ecx
mov eax, dword [0x5c4738]
xor eax, ebp
mov dword [ebp - 8], eax
xor eax, eax
push eax
push eax
push ecx
push 0x49ba50
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
test eax, eax
je 0x4315dc
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004d25a3
add esp, 8
pop esi
pop ebp
ret
lea esi, [ebp - 0xc]
push 0x1b
push str..._.._third_party_crashpad_crashpad_util_thread_thread_win.cc
push esi
call fcn.0053dc60
add esp, 0xc
mov ecx, esi
call fcn.0053dc80
push 0xc
push 0x5839e2
push eax
call fcn.004b7fc0
add esp, 0xc
mov ecx, esi
call fcn.0053dc90
jmp 0x4315cc

Function at 0x4316e0
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 [0x5c4738]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0xb], 0
mov eax, ecx
jns 0x431702
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
jne 0x4317e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x43173d
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d25a3
mov ecx, esi
add esp, 0xbc
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.00431f30
push 2
call fcn.004cb810
add esp, 4
test al, al
je 0x4317e3
call fcn.00501800
lea ecx, [ebp - 0xbc]
push eax
push 2
push 0x267
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.00501810
lea eax, [ebp - 0xb4]
push 0x10
push str.CreateDirectory
push eax
call fcn.004b7fc0
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x431791
mov eax, dword [esi + 4]
mov esi, dword [esi]
lea ebx, [ebp - 0xc8]
push eax
push esi
push ebx
call fcn.00412900
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x4317b6
mov eax, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0xc8]
push eax
push ebx
push edi
call fcn.004b7fc0
add esp, 0xc
cmp byte [ebp - 0xbd], 0
jns 0x4317d8
push dword [ebp - 0xc8]
call fcn.004cf0d6
add esp, 4
lea ecx, [ebp - 0xbc]
call fcn.005018c0
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d25a3
mov eax, ebx
add esp, 0xbc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x431f30
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 [0x5c4738]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0xb], 0
mov eax, ecx
jns 0x431f52
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x431f7f
mov bl, 1
test al, 0x10
je 0x43202a
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d25a3
mov eax, ebx
add esp, 0xbc
pop esi
pop edi
pop ebx
pop ebp
ret
push 2
call fcn.004cb810
add esp, 4
test al, al
je 0x4320da
call fcn.00501800
lea ecx, [ebp - 0xbc]
push eax
push 2
push 0x252
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.00501810
lea eax, [ebp - 0xb4]
push 0x12
push str.GetFileAttributes
push eax
call fcn.004b7fc0
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x431fd3
mov eax, dword [esi + 4]
mov esi, dword [esi]
lea ebx, [ebp - 0xc8]
push eax
push esi
push ebx
call fcn.00412900
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x431ff8
mov eax, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0xc8]
push eax
push ebx
push edi
call fcn.004b7fc0
add esp, 0xc
cmp byte [ebp - 0xbd], 0
jns 0x43201a
push dword [ebp - 0xc8]
call fcn.004cf0d6
add esp, 4
lea ecx, [ebp - 0xbc]
call fcn.005018c0
jmp 0x4320da
push 2
call fcn.004cb810
add esp, 4
test al, al
je 0x4320da
lea ecx, [ebp - 0xbc]
push 2
push 0x256
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.00408a90
lea eax, [ebp - 0xb4]
push 0x12
push str.GetFileAttributes
push eax
call fcn.004b7fc0
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x432078
mov eax, dword [esi + 4]
mov esi, dword [esi]
lea ebx, [ebp - 0xc8]
push eax
push esi
push ebx
call fcn.00412900
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x43209d
mov eax, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0xc8]
push eax
push ebx
push edi
call fcn.004b7fc0
add esp, 0xc
push 0x11
push str.:_not_a_directory
push eax
call fcn.004b7fc0
add esp, 0xc
cmp byte [ebp - 0xbd], 0
jns 0x4320cf
push dword [ebp - 0xc8]
call fcn.004cf0d6
add esp, 4
lea ecx, [ebp - 0xbc]
call fcn.00408d50
xor ebx, ebx
jmp 0x431f68