joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b8530
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov ecx, dword [ebp + 8]
mov eax, dword [0x582e50]
mov edi, 5
lea ecx, [ecx - 5]
xor eax, ebp
cmp ecx, 1
mov dword [ebp - 0x10], eax
ja 0x4b8684
mov eax, dword [ebp + 0x14]
xor edi, edi
mov ecx, 7
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x54], 0x44
cmp dword [eax + 0x14], ecx
jbe 0x4b85a2
mov eax, dword [eax]
mov ebx, dword [ebp + 0x10]
push eax
call fcn.00518a21
add esp, 4
mov edx, 7
mov ecx, dword [esi + 0x10]
cmp dword [esi + 0x14], edx
jbe 0x4b85bd
mov esi, dword [esi]
test ecx, ecx
mov edx, dword [ebp + 0x1c]
cmove esi, ecx
mov ecx, 7
cmp dword [ebx + 0x14], ecx
mov ecx, dword [ebp + 0xc]
jbe 0x4b85d4
mov ebx, dword [ebx]
mov ecx, dword [ecx]
mov dword [ebp - 0x5c], ecx
lea ecx, [ebp - 0x54]
push edx
push ecx
push esi
push edi
push edi
push edi
push edi
push edi
mov dword [ebp - 0x58], eax
push eax
push ebx
mov esi, edx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, 5
test eax, eax
je 0x4b8674
mov eax, dword [ebp + 8]
mov ebx, 0x101c01
cmp eax, 6
mov eax, 0x1fffff
cmove ebx, eax
mov eax, dword [esi]
mov dword [ebp - 0x60], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 1
push 0
push ebx
push esi
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov ebx, dword [esi + 4]
test eax, eax
je 0x4b866d
mov eax, esi
mov esi, 0x100c43
mov ecx, 0x1fffff
add eax, 4
cmp dword [ebp + 8], 6
mov edi, eax
cmove esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 1
push 0
push esi
push edi
push dword [ebp - 0x5c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor ecx, ecx
test eax, eax
sete cl
lea edi, [ecx + ecx*4]
jmp 0x4b8674
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x4b8684
push eax
call fcn.00431330
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ed5a1
mov eax, edi
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4b8698
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x20]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x14], ecx
xor ecx, ecx
mov edi, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x10], ebx
mov dword [ebx], ecx
xor ebx, ebx
push edi
mov edi, eax
push esi
push edx
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
je 0x4b8709
mov edi, dword [edi]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 3
push ebx
push ebx
push dword [ebp - 0x10]
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor ecx, ecx
test eax, eax
sete cl
lea eax, [ecx + ecx*4]
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x4ba45c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd8
mov edx, dword [0x582e50]
mov al, byte [ebp + 8]
mov ebx, ecx
xor edx, ebp
test al, al
mov dword [esp + 0xd0], edx
je 0x4ba4b6
xor esi, esi
mov edi, 0x5448ac
mov ecx, ebx
inc esi
push 0
push 0x4caff0
push esi
push str.NtMapViewOfSection
push edi
call fcn.004b9f50
mov ecx, ebx
push esi
push 0x4cb1c0
push esi
push str.NtUnmapViewOfSection
push edi
call fcn.004b9f50
jmp 0x4ba4c0
cmp dword [ebx + 8], 0
je 0x4ba5e3
mov eax, dword [ebx]
mov edi, dword [eax]
push 1
push 0x2000
push 0x10000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, dword [ebx + 8]
mov dword [esp + 4], eax
shl esi, 6
lea eax, [esi + 0x50]
mov dword [esp + 8], eax
push eax
call fcn.004b9dec
add esp, 4
mov dword [esp + 0xc], ebx
mov ebx, eax
and eax, 0xfffff000
add esi, 0x104f
add eax, dword [esp + 4]
and ebx, 0xfff
and esi, 0xfffff000
push 0x40
push 0x1000
push esi
push eax
mov dword [esp + 0x14], edi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
test eax, eax
jne 0x4ba54f
lea esi, [esp + 0x18]
mov ecx, esi
push str.thunk_base
push 0x1a8
push str..._.._sandbox_win_src_interception.cc
call int.00419410
mov ecx, esi
call fcn.00419550
add edi, ebx
mov ebx, dword [esp + 8]
lea esi, [esp + 0x18]
xor eax, eax
mov dword [esi], ebx
mov dword [esi + 0xc], eax
mov dword [esi + 4], 0x10
push 0xa4
push eax
push 0x589ed4
call fcn.0050bec0
add esp, 0xc
mov ecx, dword [esp + 0xc]
push esi
push ebx
push edi
call fcn.004ba7d0
mov ebx, eax
test eax, eax
jne 0x4ba5e5
lea eax, [esp + 0x14]
push eax
push 0x10
push esi
push edi
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
mov ebx, 0x2a
je 0x4ba5e5
cmp dword [esp + 0x14], 0x10
jne 0x4ba5e5
lea eax, [esp + 0x10]
push eax
push 0x20
push dword [esp + 0x10]
push edi
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push 0xa4
push 0x589ed4
push str.g_originals
call fcn.0048b9e0
mov ebx, eax
jmp 0x4ba5e5
xor ebx, ebx
mov ecx, dword [esp + 0xd0]
xor ecx, ebp
call fcn.004ed5a1
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x4be574
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe8
mov eax, dword [0x582e50]
mov edi, dword [ebp + 8]
xor eax, ebp
mov dword [esp + 0xe0], eax
mov eax, edi
cmp dword [edi + 0x14], 7
jbe 0x4be59e
mov eax, dword [edi]
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x4be616
mov esi, eax
push eax
call fcn.004ed593
add esp, 4
cmp dword [edi + 0x14], 7
mov ebx, eax
mov eax, edi
jbe 0x4be5c1
mov eax, dword [edi]
push ebx
push esi
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
mov dword [esp], ebx
je 0x4be6b2
lea eax, [esp + 4]
lea ecx, [esp + 0xc8]
push eax
push ecx
push 0x530c48
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4be737
mov eax, dword [ebp + 0xc]
mov esi, dword [esp + 0xc8]
mov ecx, 0xd
mov bl, 1
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x18]
and dword [eax + 0x1c], ecx
jmp 0x4be77a
push 1
call fcn.00419f10
add esp, 4
test al, al
je 0x4be6ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x715
je 0x4be6ab
call fcn.0041abf0
lea ecx, [esp + 8]
push eax
push 1
push 0x1f
push str..._.._third_party_crashpad_crashpad_util_win_module_version.cc
call fcn.0041afa0
lea eax, [esp + 0x18]
push str.GetFileVersionInfoSize:
push eax
call fcn.004014ea
add esp, 8
mov esi, eax
mov eax, dword [edi + 0x10]
cmp dword [edi + 0x14], 7
jbe 0x4be66c
mov edi, dword [edi]
lea ebx, [esp + 0xc8]
push eax
push edi
push ebx
call fcn.00427330
add esp, 0xc
mov eax, dword [ebx + 0x10]
cmp dword [ebx + 0x14], 0xf
mov ecx, ebx
jbe 0x4be690
mov ecx, dword [esp + 0xc8]
push eax
push ecx
push esi
call fcn.00402d83
add esp, 0xc
mov ecx, ebx
call fcn.00401ade
lea ecx, [esp + 8]
call fcn.0041b0c0
xor ebx, ebx
jmp 0x4be785
push 1
call fcn.00419f10
add esp, 4
test al, al
je 0x4be778
call fcn.0041abf0
lea ecx, [esp + 8]
push eax
push 1
push 0x26
push str..._.._third_party_crashpad_crashpad_util_win_module_version.cc
call fcn.0041afa0
lea eax, [esp + 0x18]
push str.GetFileVersionInfo:
push eax
call fcn.004014ea
add esp, 8
mov esi, eax
mov eax, dword [edi + 0x10]
cmp dword [edi + 0x14], 7
jbe 0x4be6fb
mov edi, dword [edi]
lea ebx, [esp + 0xc8]
push eax
push edi
push ebx
call fcn.00427330
add esp, 0xc
mov eax, dword [ebx + 0x10]
cmp dword [ebx + 0x14], 0xf
mov ecx, ebx
jbe 0x4be71f
mov ecx, dword [esp + 0xc8]
push eax
push ecx
push esi
call fcn.00402d83
add esp, 0xc
mov ecx, ebx
call fcn.00401ade
lea ecx, [esp + 8]
jmp 0x4be773
push 1
call fcn.00419f10
add esp, 4
test al, al
je 0x4be778
call fcn.0041abf0
lea esi, [esp + 8]
mov ecx, esi
push eax
push 1
push 0x31
push str..._.._third_party_crashpad_crashpad_util_win_module_version.cc
call fcn.0041afa0
lea eax, [esp + 0x18]
push str.VerQueryValue
push eax
call fcn.004014ea
add esp, 8
mov ecx, esi
call fcn.0041b0c0
xor ebx, ebx
push dword [esp]
call fcn.004ed59c
add esp, 4
mov ecx, dword [esp + 0xe0]
xor ecx, ebp
call fcn.004ed5a1
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4bed60
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
and esp, 0xfffffff8
sub esp, 0xe8
mov eax, dword [0x582e50]
lea esi, [esp + 4]
xor eax, ebp
mov dword [esp + 0xe4], eax
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [esi + 0x14], 0x100
jb 0x4bedce
push 1
call fcn.00419f10
add esp, 4
test al, al
je 0x4bedce
lea esi, [esp + 0x28]
mov ecx, esi
push 1
push 0xb0
push str..._.._third_party_crashpad_crashpad_snapshot_win_system_snapshot_win.cc
call fcn.00419fa0
lea eax, [esp + 0x30]
push str.dwNumberOfProcessors_exceeds_uint8_t_storage
push eax
call fcn.004014ea
add esp, 8
mov ecx, esi
call fcn.00419550
mov ebx, dword [esp + 0x18]
cmp ebx, 0x100
jb 0x4beddc
mov bl, 0xff
mov ecx, dword [esp + 0xe4]
xor ecx, ebp
call fcn.004ed5a1
mov eax, ebx
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret
Function at 0x4cedac
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe0
mov eax, dword [0x582e50]
mov esi, dword [ebp + 8]
xor eax, ebp
mov dword [esp + 0xd8], eax
mov eax, esi
cmp dword [esi + 0x14], 7
jbe 0x4cedd6
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4cee0c
and eax, 0x410
cmp eax, 0x410
jne 0x4cee0c
mov ecx, esi
call fcn.004ceec4
mov ecx, dword [esp + 0xd8]
mov ebx, eax
xor ecx, ebp
call fcn.004ed5a1
mov eax, ebx
jmp 0x4ceebc
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x4cee16
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov bl, 1
test eax, eax
jne 0x4ceeac
push 2
call fcn.00419f10
add esp, 4
test al, al
je 0x4ceeaa
call fcn.0041abf0
mov ecx, esp
push eax
push 2
push 0x94
push str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
call fcn.0041afa0
lea eax, [esp + 0x10]
push str.DeleteFile
push eax
call fcn.004014ea
add esp, 8
mov ebx, eax
mov eax, dword [esi + 0x10]
cmp dword [esi + 0x14], 7
jbe 0x4cee6d
mov esi, dword [esi]
lea edi, [esp + 0xc0]
push eax
push esi
push edi
call fcn.00427330
add esp, 0xc
mov eax, dword [edi + 0x10]
cmp dword [edi + 0x14], 0xf
mov ecx, edi
jbe 0x4cee91
mov ecx, dword [esp + 0xc0]
push eax
push ecx
push ebx
call fcn.00402d83
add esp, 0xc
mov ecx, edi
call fcn.00401ade
mov ecx, esp
call fcn.0041b0c0
xor ebx, ebx
mov ecx, dword [esp + 0xd8]
xor ecx, ebp
call fcn.004ed5a1
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4ceec4
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe0
mov eax, dword [0x582e50]
mov esi, ecx
xor eax, ebp
mov dword [esp + 0xd8], eax
mov eax, ecx
cmp dword [ecx + 0x14], 7
jbe 0x4ceeed
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov bl, 1
test eax, eax
jne 0x4cef80
push 2
call fcn.00419f10
add esp, 4
test al, al
je 0x4cef7e
call fcn.0041abf0
mov ecx, esp
push eax
push 2
push 0x2f
push str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
call fcn.0041afa0
lea eax, [esp + 0x10]
push str.RemoveDirectory
push eax
call fcn.004014ea
add esp, 8
mov ebx, eax
mov eax, dword [esi + 0x10]
cmp dword [esi + 0x14], 7
jbe 0x4cef41
mov esi, dword [esi]
lea edi, [esp + 0xc0]
push eax
push esi
push edi
call fcn.00427330
add esp, 0xc
mov eax, dword [edi + 0x10]
cmp dword [edi + 0x14], 0xf
mov ecx, edi
jbe 0x4cef65
mov ecx, dword [esp + 0xc0]
push eax
push ecx
push ebx
call fcn.00402d83
add esp, 0xc
mov ecx, edi
call fcn.00401ade
mov ecx, esp
call fcn.0041b0c0
xor ebx, ebx
mov ecx, dword [esp + 0xd8]
xor ecx, ebp
call fcn.004ed5a1
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4d2176
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x100
mov eax, dword [0x582e50]
lea edi, [ecx + 0x18]
mov esi, ecx
mov ecx, edi
xor eax, ebp
mov dword [esp + 0xf8], eax
call fcn.004d2596
lea ebx, [esp + 0xb8]
mov ecx, esi
push ebx
push 0
push 0x40
push edx
push eax
call fcn.004dad9a
test al, al
je 0x4d2227
movzx eax, word [esp + 0xb8]
cmp eax, 0x5a4d
jne 0x4d225c
mov ecx, edi
call fcn.004d2596
mov ebx, eax
mov eax, dword [esp + 0xf4]
mov ecx, esi
mov edi, eax
sar edi, 0x1f
add ebx, eax
adc edi, edx
push dword [ebp + 8]
push 0
push 0x108
push edi
push ebx
call fcn.004dad9a
test al, al
je 0x4d228e
mov eax, dword [ebp + 8]
cmp dword [eax], 0x4550
jne 0x4d22bc
mov eax, dword [ebp + 0xc]
mov ecx, ebx
mov bl, 1
test eax, eax
je 0x4d2310
mov dword [eax], ecx
mov dword [eax + 4], edi
jmp 0x4d2310
push 1
call fcn.00419f10
add esp, 4
test al, al
je 0x4d230e
mov edi, esp
mov ecx, edi
push 1
push 0x154
push str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
call fcn.00419fa0
lea eax, [esp + 8]
push str.could_not_read_dos_header_from
jmp 0x4d22e8
push 1
call fcn.00419f10
add esp, 4
test al, al
je 0x4d230e
mov edi, esp
mov ecx, edi
push 1
push 0x15a
push str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
call fcn.00419fa0
lea eax, [esp + 8]
push str.invalid_e_magic_in_dos_header_of
jmp 0x4d22e8
push 1
call fcn.00419f10
add esp, 4
test al, al
je 0x4d230e
mov edi, esp
mov ecx, edi
push 1
push 0x162
push str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
call fcn.00419fa0
lea eax, [esp + 8]
push str.could_not_read_nt_headers_from
jmp 0x4d22e8
push 1
call fcn.00419f10
add esp, 4
test al, al
je 0x4d230e
mov edi, esp
mov ecx, edi
push 1
push 0x168
push str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
call fcn.00419fa0
lea eax, [esp + 8]
push str.invalid_signature_in_nt_headers_of
push eax
call fcn.004014ea
add esp, 8
mov ecx, dword [esi + 0x10]
cmp dword [esi + 0x14], 0xf
jbe 0x4d22fc
mov esi, dword [esi]
push ecx
push esi
push eax
call fcn.00402d83
add esp, 0xc
mov ecx, edi
call fcn.00419550
xor ebx, ebx
mov ecx, dword [esp + 0xf8]
xor ecx, ebp
call fcn.004ed5a1
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x4d232a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x100
mov eax, dword [0x582e50]
lea edi, [ecx + 0x18]
mov esi, ecx
mov ecx, edi
xor eax, ebp
mov dword [esp + 0xf8], eax
call fcn.004d2596
lea ebx, [esp + 0xb8]
mov ecx, esi
push ebx
push 0
push 0x40
push edx
push eax
call fcn.004dad9a
test al, al
je 0x4d23db
movzx eax, word [esp + 0xb8]
cmp eax, 0x5a4d
jne 0x4d2410
mov ecx, edi
call fcn.004d2596
mov ebx, eax
mov eax, dword [esp + 0xf4]
mov ecx, esi
mov edi, eax
sar edi, 0x1f
add ebx, eax
adc edi, edx
push dword [ebp + 8]
push 0
push 0xf8
push edi
push ebx
call fcn.004dad9a
test al, al
je 0x4d2442
mov eax, dword [ebp + 8]
cmp dword [eax], 0x4550
jne 0x4d2470
mov eax, dword [ebp + 0xc]
mov ecx, ebx
mov bl, 1
test eax, eax
je 0x4d24c4
mov dword [eax], ecx
mov dword [eax + 4], edi
jmp 0x4d24c4
push 1
call fcn.00419f10
add esp, 4
test al, al
je 0x4d24c2
mov edi, esp
mov ecx, edi
push 1
push 0x154
push str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
call fcn.00419fa0
lea eax, [esp + 8]
push str.could_not_read_dos_header_from
jmp 0x4d249c
push 1
call fcn.00419f10
add esp, 4
test al, al
je 0x4d24c2
mov edi, esp
mov ecx, edi
push 1
push 0x15a
push str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
call fcn.00419fa0
lea eax, [esp + 8]
push str.invalid_e_magic_in_dos_header_of
jmp 0x4d249c
push 1
call fcn.00419f10
add esp, 4
test al, al
je 0x4d24c2
mov edi, esp
mov ecx, edi
push 1
push 0x162
push str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
call fcn.00419fa0
lea eax, [esp + 8]
push str.could_not_read_nt_headers_from
jmp 0x4d249c
push 1
call fcn.00419f10
add esp, 4
test al, al
je 0x4d24c2
mov edi, esp
mov ecx, edi
push 1
push 0x168
push str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
call fcn.00419fa0
lea eax, [esp + 8]
push str.invalid_signature_in_nt_headers_of
push eax
call fcn.004014ea
add esp, 8
mov ecx, dword [esi + 0x10]
cmp dword [esi + 0x14], 0xf
jbe 0x4d24b0
mov esi, dword [esi]
push ecx
push esi
push eax
call fcn.00402d83
add esp, 0xc
mov ecx, edi
call fcn.00419550
xor ebx, ebx
mov ecx, dword [esp + 0xf8]
xor ecx, ebp
call fcn.004ed5a1
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x4d963c
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
xor ebx, ebx
mov edi, edx
mov esi, ecx
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
push ebx
push edx
push ebx
push 0x8000004
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ecx, esi
push eax
call fcn.00402488
mov eax, dword [esi]
lea ecx, [eax + 1]
cmp ecx, 2
jb 0x4d967f
push edi
push ebx
push ebx
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 4], eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4f32e1
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x4f32f6
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4f3308
movzx eax, ax
or eax, 0x80070000
push eax
lea ecx, [ebp - 0x10]
call fcn.004fb95a
push 0x57f938
lea eax, [ebp - 0x10]
push eax
call fcn.0050875c
int3

Function at 0x4f3485
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x4fd052
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 4
mov eax, 0x52de87
call fcn.004f05b0
mov edi, ecx
mov dword [ebp - 0x10], edi
or dword [edi + 4], 0xfffffff
lea ecx, [edi + 0x3c]
xor ebx, ebx
mov dword [edi + 8], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 0x80000000
mov dword [edi + 0x18], ebx
mov dword [edi + 0x38], ebx
call fcn.004f135f
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x64]
mov dword [edi + 0x64], eax
xor eax, eax
mov dword [edi + 0x6c], eax
mov dword [edi + 0x78], eax
mov dword [edi + 0x84], eax
mov dword [edi + 0x88], eax
test dword [0x5830c0], 0x80000000
je 0x4fd0c3
push dword [0x589fe4]
call fcn.004f332e
pop ecx
test eax, eax
jne 0x4fd0c8
call fcn.004f8dc2
mov dword [edi + 0xc], eax
mov eax, dword [eax + 0x34]
mov dword [edi], eax
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
test eax, eax
je 0x4fd0e3
cmp eax, 2
je 0x4fd0e3
lock inc dword [eax + 4]
mov ecx, edi
call fcn.004fd7d3
lea ecx, [edi + 0x3c]
call fcn.004f1520
cmp byte [ebp + 0xc], 0
je 0x4fd124
mov edx, dword [edi + 0x64]
mov ecx, edi
add edx, 0x68
mov esi, dword [edx]
mov eax, esi
mov dword [edi + 0x68], esi
lock cmpxchg dword [edx], ecx
jmp 0x4fd11e
mov dword [edi + 0x68], eax
mov esi, eax
mov ecx, dword [edi + 0x64]
mov edx, edi
add ecx, 0x68
lock cmpxchg dword [ecx], edx
cmp eax, esi
jne 0x4fd10d
jmp 0x4fd12c
or dword [edi + 0x78], 1
and dword [edi + 0x68], 0
call fcn.004f8d99
mov esi, eax
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x4fd144
mov ecx, esi
call fcn.004fbfa4
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0x40]
and dword [edi + 4], 0xfffffff
mov dword [edi + 0x80], eax
mov eax, edi
call fcn.004f0652
ret 8
Function at 0x505488
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x58a32c], eax
cmp eax, 0xffffffff
je 0x5054a2
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x5054b4
movzx eax, ax
or eax, 0x80070000
push eax
lea ecx, [ebp - 0x10]
call fcn.004fb95a
push 0x57f938
lea eax, [ebp - 0x10]
push eax
call fcn.0050875c
int3

Function at 0x52911c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00529127

Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4