joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425380
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47dd95
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x4a7018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2c], 0
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x4253c0
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4254bb
sub esp, 8
mov eax, esi
cmp dword [esi + 0x14], 8
mov ecx, esp
jb 0x4253de
mov eax, dword [esi]
mov dword [ecx], eax
mov eax, dword [esi + 0x10]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x28]
call fcn.00419fa0
add esp, 8
mov edi, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
lea ecx, [ebp - 0xdc]
mov esi, eax
call fcn.004064e0
mov dword [ebp - 4], 1
push ecx
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0x44], str..._.._util_file_filesystem_win.cc
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0x2f
mov dword [ebp - 0x38], 2
call fcn.0041b720
mov dword [ebp - 0x34], esi
mov dword [ebp - 4], 2
lea ecx, [ebp - 0xdc]
mov edx, str.RemoveDirectory
mov dword [ebp - 0x2c], 3
call fcn.00405b50
cmp dword [edi + 0x14], 0x10
mov edx, edi
jb 0x42546f
mov edx, dword [edi]
push dword [edi + 0x10]
mov ecx, eax
call fcn.004082b0
add esp, 4
lea ecx, [ebp - 0xdc]
call fcn.0041bc20
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4254b7
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4254ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4254d8
push edx
push ecx
call fcn.00457f09
add esp, 8
xor al, al
jmp 0x4254bd
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00457ec6
mov esp, ebp
pop ebp
ret
call fcn.00461509
int3
Function at 0x425820
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x480dda
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x4a7018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x44], 0
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x425860
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4259cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x42590b
mov dl, 1
mov ecx, esi
call fcn.00425b60
test al, al
jne 0x4259cf
sub esp, 8
mov ecx, esp
push esi
call fcn.00401570
lea ecx, [ebp - 0x28]
call fcn.00419fa0
add esp, 8
mov esi, eax
push 2
push 0x5c
push str..._.._util_file_filesystem_win.cc
push ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0x44], 1
call fcn.0041b3c0
mov dword [ebp - 4], 1
mov edx, esi
mov ecx, eax
mov dword [ebp - 0x44], 3
call fcn.00405ed0
mov edx, str._not_a_directory
mov ecx, eax
call fcn.00405b50
lea ecx, [ebp - 0x19c]
call fcn.0041b540
lea ecx, [ebp - 0x28]
call fcn.004015f0
xor al, al
jmp 0x4259d1
sub esp, 8
mov eax, esi
cmp dword [esi + 0x14], 8
mov ecx, esp
jb 0x42591a
mov eax, dword [esi]
mov dword [ecx], eax
mov eax, dword [esi + 0x10]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x40]
call fcn.00419fa0
add esp, 8
mov edi, eax
mov dword [ebp - 4], 2
mov dword [ebp - 0x44], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
lea ecx, [ebp - 0xf4]
mov esi, eax
call fcn.004064e0
mov dword [ebp - 4], 3
push ecx
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0x5c], str..._.._util_file_filesystem_win.cc
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0x61
mov dword [ebp - 0x50], 2
call fcn.0041b720
mov dword [ebp - 0x4c], esi
mov dword [ebp - 4], 4
lea ecx, [ebp - 0xf4]
mov edx, str.CreateDirectory
mov dword [ebp - 0x44], 0xc
call fcn.00405b50
cmp dword [edi + 0x14], 0x10
mov edx, edi
jb 0x4259ab
mov edx, dword [edi]
push dword [edi + 0x10]
mov ecx, eax
call fcn.004082b0
add esp, 4
lea ecx, [ebp - 0xf4]
call fcn.0041bc20
lea ecx, [ebp - 0x40]
call fcn.004015f0
xor al, al
jmp 0x4259d1
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00457ec6
mov esp, ebp
pop ebp
ret
Function at 0x4259f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x480b25
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x4a7018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2c], 0
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x425a30
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x425b45
sub esp, 8
mov eax, esi
cmp dword [esi + 0x14], 8
mov ecx, esp
jb 0x425a4f
mov eax, dword [esi]
mov dword [ecx], eax
mov eax, dword [esi + 0x10]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x28]
call fcn.00419fa0
add esp, 8
mov edi, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
lea ecx, [ebp - 0xe0]
mov esi, eax
call fcn.004064e0
mov dword [ebp - 4], 1
push ecx
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0x48], str..._.._util_file_filesystem_win.cc
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0x74
mov dword [ebp - 0x3c], 2
call fcn.0041b720
mov dword [ebp - 0x38], esi
mov dword [ebp - 4], 2
lea ecx, [ebp - 0xe0]
mov edx, str.GetFileAttributes
mov dword [ebp - 0x2c], 3
call fcn.00405b50
cmp dword [edi + 0x14], 0x10
mov edx, edi
jb 0x425ae0
mov edx, dword [edi]
push dword [edi + 0x10]
mov ecx, eax
call fcn.004082b0
add esp, 4
lea ecx, [ebp - 0xe0]
call fcn.0041bc20
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x425b28
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x425b1e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425b50
push edx
push ecx
call fcn.00457f09
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00457ec6
mov esp, ebp
pop ebp
ret
test eax, 0x410
jne 0x425b28
mov al, 1
jmp 0x425b2a
call fcn.00461509
int3
Function at 0x425b60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x480e55
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x4a7018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov bl, dl
mov esi, ecx
mov dword [ebp - 0x2c], 0
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x425ba3
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x425c9f
sub esp, 8
mov eax, esi
cmp dword [esi + 0x14], 8
mov ecx, esp
jb 0x425bc2
mov eax, dword [esi]
mov dword [ecx], eax
mov eax, dword [esi + 0x10]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x28]
call fcn.00419fa0
add esp, 8
mov edi, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
lea ecx, [ebp - 0xdc]
mov esi, eax
call fcn.004064e0
mov dword [ebp - 4], 1
push ecx
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0x44], str..._.._util_file_filesystem_win.cc
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0x81
mov dword [ebp - 0x38], 2
call fcn.0041b720
mov dword [ebp - 0x34], esi
mov dword [ebp - 4], 2
lea ecx, [ebp - 0xdc]
mov edx, str.GetFileAttributes
mov dword [ebp - 0x2c], 3
call fcn.00405b50
cmp dword [edi + 0x14], 0x10
mov edx, edi
jb 0x425c53
mov edx, dword [edi]
push dword [edi + 0x10]
mov ecx, eax
call fcn.004082b0
add esp, 4
lea ecx, [ebp - 0xdc]
call fcn.0041bc20
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x425caa
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x425c91
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425ccf
push edx
push ecx
call fcn.00457f09
add esp, 8
xor al, al
jmp 0x425cb3
test bl, bl
jne 0x425cae
test eax, 0x400
je 0x425cae
xor al, al
jmp 0x425cb3
shr eax, 4
and al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00457ec6
mov esp, ebp
pop ebp
ret
call fcn.00461509
int3
Function at 0x425ce0
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47dd95
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x4a7018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2c], 0
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x425d20
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x425d44
and eax, 0x410
cmp eax, 0x410
jne 0x425d44
mov ecx, esi
call fcn.00425380
jmp 0x425e4b
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x425d4e
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x425e49
sub esp, 8
mov eax, esi
cmp dword [esi + 0x14], 8
mov ecx, esp
jb 0x425d6c
mov eax, dword [esi]
mov dword [ecx], eax
mov eax, dword [esi + 0x10]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x28]
call fcn.00419fa0
add esp, 8
mov edi, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
lea ecx, [ebp - 0xdc]
mov esi, eax
call fcn.004064e0
mov dword [ebp - 4], 1
push ecx
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0x44], str..._.._util_file_filesystem_win.cc
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0x94
mov dword [ebp - 0x38], 2
call fcn.0041b720
mov dword [ebp - 0x34], esi
mov dword [ebp - 4], 2
lea ecx, [ebp - 0xdc]
mov edx, str.DeleteFile
mov dword [ebp - 0x2c], 3
call fcn.00405b50
cmp dword [edi + 0x14], 0x10
mov edx, edi
jb 0x425dfd
mov edx, dword [edi]
push dword [edi + 0x10]
mov ecx, eax
call fcn.004082b0
add esp, 4
lea ecx, [ebp - 0xdc]
call fcn.0041bc20
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x425e45
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x425e3b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425e66
push edx
push ecx
call fcn.00457f09
add esp, 8
xor al, al
jmp 0x425e4b
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00457ec6
mov esp, ebp
pop ebp
ret
call fcn.00461509
int3
Function at 0x426080
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x480e80
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x4a7018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
lea eax, [ebp - 0x10]
mov edx, 0x7fffffff
push eax
mov eax, dword [ebp + 0xc]
cmp eax, edx
cmova eax, edx
push eax
push dword [ebp + 8]
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4260e0
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebp - 0x10], 0xffffffff
mov dword [ebp + 0xc], 0xffffffff
jne 0x426123
push str.bytes_written___static_cast_DWORD___1_
lea edx, [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.00408560
add esp, 4
test eax, eax
je 0x426123
push eax
push 0x65
push str..._.._util_file_file_io_win.cc
push ecx
lea ecx, [ebp - 0xb8]
call fcn.0041b440
lea ecx, [ebp - 0xb8]
call fcn.0041b540
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x427580
Capabilities:
Access peb ldr_data
Check os version
Create pipe
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4812d8
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
push ebx
push esi
push edi
mov eax, dword [0x4a7018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov al, dl
mov byte [ebp - 0xd], al
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x14], 0
test al, al
je 0x4276a4
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x4276a1
mov eax, dword fs:[0x18]
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x20], 0xc
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xa0]
mov eax, dword [eax + 0xc]
cmp eax, dword [ecx + 0x24]
jne 0x427656
push ecx
lea ecx, [ebp - 0xc8]
call fcn.004064e0
mov dword [ebp - 4], edi
push ecx
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x30], str..._.._util_win_registration_protocol_win.cc
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], 0xfc
mov dword [ebp - 0x24], 4
call fcn.0041b720
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xc8]
mov ebx, 1
mov edx, str.Check_failed:__IsThreadInLoaderLock__
mov dword [ebp - 0x14], ebx
call fcn.00405b50
mov edx, 0x494710
mov ecx, eax
call fcn.00405b50
jmp 0x427659
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x427670
lea ecx, [ebp - 0xc8]
call fcn.0041b540
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4aa5cc]
cmp eax, dword [ecx + 4]
jg 0x4276e0
mov eax, dword [0x4aa5c4]
lea edi, [ebp - 0x20]
test eax, eax
mov dword [ebp - 0x18], 1
mov ecx, 0x496e58
cmovne ecx, eax
mov dword [ebp - 0x1c], ecx
mov al, byte [ebp - 0xd]
cmp dword [esi + 0x14], 8
jb 0x4276ac
mov esi, dword [esi]
push edi
push 0
push 0x200
push 0x200
movzx eax, al
push 2
shl eax, 0x13
push 6
or eax, 3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4aa5cc
call fcn.004582c1
add esp, 4
cmp dword [0x4aa5cc], 0xffffffff
jne 0x427685
mov dword [ebp - 4], 2
call fcn.00427020
push 0x4aa5cc
mov dword [0x4aa5c4], eax
call fcn.00458277
add esp, 4
jmp 0x427685
Function at 0x42bc20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481d4c
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
push ebx
push esi
mov eax, dword [0x4a7018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push ebx
push ebx
push esi
push 0x42be00
push ebx
mov dword [ebp - 0x10], ebx
push ebx
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
test eax, eax
jne 0x42bce8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
lea ecx, [ebp - 0xc0]
mov esi, eax
call fcn.004064e0
mov dword [ebp - 4], 2
push ecx
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x28], str..._.._util_thread_thread_win.cc
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 0x1b
mov dword [ebp - 0x1c], 4
call fcn.0041b720
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 3
lea ecx, [ebp - 0xc0]
mov ebx, 2
mov edx, str.Check_failed:_platform_thread_
mov dword [ebp - 0x10], ebx
call fcn.00405b50
mov edx, 0x494710
mov ecx, eax
call fcn.00405b50
mov edx, 0x495d40
mov ecx, eax
call fcn.00405b50
test bl, 2
je 0x42bcf8
lea ecx, [ebp - 0xc0]
call fcn.0041bc20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43ffa0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48229d
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4a7018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [ebp - 4], 0
push 4
mov dword [esi], vtable.crashpad::internal::MinidumpRVAListWriter.0
call fcn.00457ed9
add esp, 4
mov dword [eax], 0
mov dword [esi + 0x24], eax
mov eax, esi
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x441400
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482f01
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4a7018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [edi], vtable.crashpad::ProcessSnapshotMinidump.0
movups xmmword [edi + 4], xmm0
movups xmmword [edi + 0x14], xmm0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
lea esi, [edi + 0x30]
mov byte [ebp - 4], 1
push 0x18
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00457ed9
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
push 0x30
lea eax, [edi + 0x84]
mov dword [edi + 0x80], 0
push 0
push eax
call fcn.00459de0
push 0x38
lea eax, [edi + 0xb8]
mov dword [edi + 0xb4], 0
push 0
push eax
mov dword [edi + 0xb4], vtable.crashpad::internal::SystemSnapshotMinidump.0
call fcn.00459de0
mov dword [edi + 0xf0], 0
mov dword [edi + 0x100], 0
mov dword [edi + 0x104], 0xf
mov dword [edi + 0x108], 0
mov dword [edi + 0x118], 0
mov dword [edi + 0x11c], 0xf
push 0xa8
lea eax, [edi + 0x128]
mov dword [edi + 0x124], 0
push 0
push eax
mov dword [edi + method.crashpad::internal::ExceptionSnapshotMinidump.virtual_0], vtable.crashpad::internal::ExceptionSnapshotMinidump.0
call fcn.00459de0
mov dword [edi + 0x1d8], 0
mov dword [edi + 0x1dc], 0
mov dword [edi + 0x1e0], 0
mov dword [edi + 0x1d0], 0
mov dword [edi + 0x1e8], 0
mov dword [edi + 0x1ec], 0
mov dword [edi + 0x1f0], 0
mov byte [edi + 0x1f4], 0
mov byte [ebp - 4], 0xa
lea esi, [edi + 0x1fc]
mov dword [edi + 0x1f8], 0
push 0x40
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00457ed9
add esp, 0x2c
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, edi
mov dword [edi + 0x204], 0
mov dword [edi + 0x214], 0
mov dword [edi + 0x218], 0xf
mov byte [edi + 0x204], 0
mov dword [edi + 0x21c], 0
mov dword [edi + 0x220], 0
mov dword [edi + 0x224], 0
mov dword [edi + 0x228], 0
mov dword [edi + 0x22c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4442b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4834cb
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4a7018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [ebp - 4], 0
mov dword [edi], vtable.crashpad::ProcessSnapshotWin.0
mov dword [edi + 4], 0
mov dword [edi + 4], vtable.crashpad::internal::SystemSnapshotWin.0
mov dword [edi + 8], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0xf
mov dword [edi + 0x20], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0xf
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov byte [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
lea ecx, [edi + 0x98]
mov dword [edi + 0x90], 0xffffffff
call fcn.00428b90
lea ecx, [edi + 0x100]
mov dword [edi + 0xf8], vtable.crashpad::ProcessMemoryWin.0
mov dword [edi + 0xfc], 0
call fcn.00428b90
mov dword [edi + 0x168], 0
mov dword [edi + 0x16c], 0
mov dword [edi + 0x170], 0
mov dword [edi + 0x174], 0
mov dword [edi + 0x178], 0
mov dword [edi + 0x17c], 0
mov word [edi + 0x180], 0
mov byte [ebp - 4], 8
lea esi, [edi + 0x1a8]
xorps xmm0, xmm0
mov dword [ebp - 0x14], esi
movups xmmword [edi + 0x188], xmm0
push 0x40
movups xmmword [edi + 0x198], xmm0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00457ed9
xorps xmm0, xmm0
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, edi
movq qword [edi + 0x1b0], xmm0
mov word [edi + 0x1b8], 0
mov byte [edi + 0x1ba], 0
mov dword [edi + 0x1bc], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44c410
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48445c
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x4a7018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x10], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xff
jbe 0x44c4c7
push ecx
lea ecx, [ebp - 0xe0]
call fcn.004064e0
mov dword [ebp - 4], 0
push ecx
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0x48], str..._.._snapshot_win_system_snapshot_win.cc
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xb3
mov dword [ebp - 0x3c], 1
call fcn.0041b720
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xe0]
mov edx, str.dwNumberOfProcessors_exceeds_uint8_t_storage
mov dword [ebp - 0x10], 1
call fcn.00405b50
lea ecx, [ebp - 0xe0]
call fcn.0041b540
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xff
jbe 0x44c4c7
xor dl, dl
jmp 0x44c4c9
mov dl, 1
test dl, dl
movzx ecx, cl
mov eax, 0xff
cmovne eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret