Function at 0x457730
Capabilities:
Enumerate pe sections
Read file on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f597
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
mov edx, dword [0x5b0fe0]
mov eax, dword fs:[0x2c]
push esi
mov esi, ecx
mov dword [ebp - 0x34], esi
mov eax, dword [eax + edx*4]
imul edx, dword [eax + 0x10], 0xd0
mov eax, dword [esi + 0x3b0]
cmp dword [edx + eax + 0xb8], 0
jne 0x4581bd
cmp byte [esi + 0x934], 0
jne 0x4581bd
mov eax, dword [0x5b0130]
test eax, eax
je 0x4577a5
push str.BEGIN_HEARTBEAT_n
push eax
call fcn.0045b8b0
add esp, 8
push ebx
push edi
push 0xb68
mov byte [esi + 0x934], 1
call fcn.004e9663
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x45788d
push 0x330
lea eax, [edi + 0x18]
mov dword [edi], vtable.Fossilize::VulkanDevice.0
push 0
push eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.004eb750
push 0x524
lea eax, [edi + 0x35c]
mov dword [edi + 0x348], 0
push 0
push eax
mov dword [edi + 0x34c], 0
mov dword [edi + 0x350], 0
mov dword [edi + 0x354], 0
mov word [edi + 0x358], 0
call fcn.004eb750
push 0x2d8
lea eax, [edi + 0x880]
push 0
push eax
call fcn.004eb750
add esp, 0x24
lea ecx, [edi + 0xb58]
call fcn.004055f0
mov dword [edi + 0xb5c], 0
mov dword [edi + 0xb60], 0
mov dword [edi + 0xb64], 0
jmp 0x45788f
xor edi, edi
mov ecx, dword [esi + 0x930]
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x930], edi
test ecx, ecx
je 0x4578ac
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x940], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x944], eax
mov al, byte [esi + 9]
mov byte [esi + 0x93b], al
lea eax, [ebp - 0x3c]
push eax
call fcn.00419270
mov ecx, dword [esi + 0x930]
lea eax, [esi + 0x938]
add esp, 4
push eax
call fcn.00402a10
test al, al
je 0x4581ce
mov ecx, dword [esi + 0x930]
push esi
push 0x4529e0
call fcn.004043f0
cmp byte [esi + 9], 0
je 0x45793c
mov eax, dword [esi + 0x930]
cmp byte [eax + 0x357], 0
jne 0x45793c
push str.Fossilize_INFO:_Requested_pipeline_stats__but_device_does_not_support_them._Disabling._n
push 2
call fcn.004f2743
add esp, 4
push eax
call fcn.00401d60
push 2
call fcn.004f2743
push eax
call fcn.004f2b00
add esp, 0x10
mov byte [esi + 9], 0
cmp dword [esi + 0x7c], 0
je 0x457b77
mov eax, dword [esi + 0x930]
cmp byte [eax + 0x355], 0
je 0x457b77
xor edi, edi
lea ebx, [ebp - 0x60]
mov esi, eax
movzx eax, byte [esi + edi + 0xb44]
push eax
push str._02x
push ebx
call fcn.00429c00
inc edi
add esp, 0xc
add ebx, 2
cmp edi, 0x10
jb 0x457960
cmp dword [0x5b0130], 0
mov esi, dword [ebp - 0x34]
je 0x4579c2
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0xa0]
push str.MODULE_UUID__s_n
push eax
call fcn.00429c00
lea eax, [ebp - 0xa0]
push eax
push dword [0x5b0130]
call fcn.0045b8b0
add esp, 0x14
test al, al
jne 0x4579c2
push 2
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea eax, [esi + 0x6c]
push eax
lea ecx, [ebp - 0x30]
call fcn.00405450
mov edi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], edi
cmp ebx, edi
jae 0x4579fd
lea eax, [ebx + 1]
cmp edi, 0xf
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x30]
cmova eax, dword [ebp - 0x30]
mov word [eax + ebx], 0x2e
jmp 0x457ac1
mov edx, 0x7fffffff
mov eax, edx
sub eax, ebx
cmp eax, 1
jb 0x4581fa
lea ecx, [ebx + 1]
or ecx, 0xf
cmp ecx, edx
jbe 0x457a1d
mov ecx, edx
jmp 0x457a35
mov eax, edi
shr eax, 1
sub edx, eax
cmp edi, edx
jbe 0x457a2e
mov ecx, 0x7fffffff
jmp 0x457a35
add eax, edi
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp + 0x14]
mov dword [ebp + 0x14], ecx
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00401190
lea ecx, [ebx + 1]
mov dword [ebp - 0x34], eax
add esp, 8
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x1c], ecx
lea ecx, [eax + ebx]
mov dword [ebp + 0x14], ecx
push ebx
cmp edi, 0xf
jbe 0x457aa6
mov edi, dword [ebp - 0x30]
push edi
push eax
call fcn.004eb010
mov eax, dword [ebp + 0x14]
add esp, 0xc
mov ecx, dword [ebp - 0x10]
inc ecx
mov word [eax], 0x2e
cmp ecx, 0x1000
jb 0x457a9a
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x4581ff
mov edi, edx
push ecx
push edi
call fcn.004e9693
add esp, 8
jmp 0x457abb
lea ecx, [ebp - 0x30]
push ecx
push eax
call fcn.004eb010
mov eax, dword [ebp + 0x14]
add esp, 0xc
mov word [eax], 0x2e
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x60]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x457ac7
sub ecx, edx
lea eax, [ebp - 0x60]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00418380
push 4
push str..foz
lea ecx, [ebp - 0x30]
call fcn.00418380
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
push 0
cmova eax, dword [ebp - 0x30]
push eax
call fcn.0042ce00
mov ecx, dword [esi + 0x60c]
add esp, 8
mov dword [esi + 0x60c], eax
test ecx, ecx
je 0x457b18
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esi + 0x60c]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
test al, al
jne 0x457b68
push str.Fossilize_WARN:_Failed_to_prepare_module_identifier_database._Disabling_identifiers._n
push 2
call fcn.004f2743
add esp, 4
push eax
call fcn.00401d60
push 2
call fcn.004f2743
push eax
call fcn.004f2b00
mov ecx, dword [esi + 0x60c]
add esp, 0x10
mov dword [esi + 0x60c], 0
test ecx, ecx
je 0x457b68
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.00401790
cmp byte [esi + 9], 0
je 0x457c2c
push str..__tmp.foz
lea eax, [esi + 0x84]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0043f780
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
push 3
cmova eax, dword [ebp - 0x30]
push eax
mov dword [ebp - 4], 2
call fcn.0042ce00
mov ecx, dword [esi + 0x460]
add esp, 0x14
mov dword [esi + 0x460], eax
test ecx, ecx
je 0x457bc9
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esi + 0x460]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
test al, al
jne 0x457c1d
push str.Fossilize_WARN:_Failed_to_prepare_stats_database._Disabling_pipeline_stats._n
push 2
call fcn.004f2743
add esp, 4
push eax
call fcn.00401d60
push 2
call fcn.004f2743
push eax
call fcn.004f2b00
mov ecx, dword [esi + 0x460]
add esp, 0x10
mov dword [esi + 0x460], 0
test ecx, ecx
je 0x457c19
mov eax, dword [ecx]
push 1
call dword [eax]
mov byte [esi + 9], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.00401790
cmp dword [esi + 0x1c], 0
je 0x457de9
xor eax, eax
mov dword [ebp - 0x2c], 0x11
xor edi, edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
cmp dword [esi + 0x20], 0xf
lea eax, [esi + 0xc]
mov dword [ebp - 4], 3
jbe 0x457c68
mov eax, dword [eax]
push 0x51cb88
push eax
call fcn.004f4c46
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x457d0a
push 2
push 0
push ebx
call fcn.004f521b
push ebx
call fcn.004f58c2
push ebx
mov dword [ebp + 0x14], eax
call fcn.004f5b4f
mov eax, dword [ebp + 0x14]
add esp, 0x14
test eax, eax
je 0x457d0a
push eax
lea ecx, [ebp - 0x18]
call fcn.00429260
mov edi, dword [ebp - 0x18]
push ebx
mov ebx, dword [ebp + 0x14]
push ebx
push 1
push edi
call fcn.004f4e8a
add esp, 0x10
cmp eax, ebx
jne 0x457d0a
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.0045ad40
test al, al
je 0x457ce2
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
sub eax, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], eax
jmp 0x457d0a
push str.Fossilize_INFO:_Failed_to_validate_pipeline_cache._Creating_a_blank_one._n
push 2
call fcn.004f2743
add esp, 4
push eax
call fcn.00401d60
push 2
call fcn.004f2743
push eax
call fcn.004f2b00
mov edi, dword [ebp - 0x18]
add esp, 0x10
mov eax, dword [esi + 0x930]
lea ebx, [esi + 0x2a0]
mov ecx, dword [0x5b0250]
lea edx, [ebp - 0x2c]
push ebx
push 0
push edx
push dword [eax + 0xc]
call ecx
test eax, eax
je 0x457db1
push str.Fossilize_WARN:_Failed_to_create_pipeline_cache__trying_to_create_a_blank_one._n
push 2
call fcn.004f2743
add esp, 4
push eax
call fcn.00401d60
push 2
call fcn.004f2743
push eax
call fcn.004f2b00
mov ecx, dword [0x5b0250]
lea eax, [ebp - 0x2c]
add esp, 0x10
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
push ebx
push 0
push eax
mov eax, dword [esi + 0x930]
push dword [eax + 0xc]
call ecx
test eax, eax
je 0x457db1
push str.Fossilize_ERROR:_Failed_to_create_pipeline_cache._n
push 2
call fcn.004f2743
add esp, 4
push eax
call fcn.00401d60
push 2
call fcn.004f2743
push eax
call fcn.004f2b00
add esp, 0x10
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x457de9
mov ecx, dword [ebp - 0x10]
mov eax, edi
sub ecx, edi
cmp ecx, 0x1000
jb 0x457ddf
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4581ff
push ecx
push edi
call fcn.004e9693
add esp, 8
cmp dword [esi + 0x34], 0
je 0x45802e
mov eax, dword [esi + 0x930]
cmp byte [eax + 0x358], 0
je 0x458009
xor eax, eax
mov dword [ebp - 0x2c], 0x3b9d3b00
xor edi, edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
cmp dword [esi + 0x38], 0xf
lea eax, [esi + 0x24]
mov dword [ebp - 4], 4
jbe 0x457e38
mov eax, dword [eax]
push 0x51cb88
push eax
call fcn.004f4c46
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x457eef
push 2
push 0
push ebx
call fcn.004f521b
push ebx
call fcn.004f58c2
push ebx
mov dword [ebp + 0x14], eax
call fcn.004f5b4f
mov eax, dword [ebp + 0x14]
add esp, 0x14
test eax, eax
je 0x457eef
push eax
lea ecx, [ebp - 0x18]
call fcn.00429260
mov edi, dword [ebp - 0x18]
push ebx
mov ebx, dword [ebp + 0x14]
push ebx
push 1
push edi
call fcn.004f4e8a
add esp, 0x10
cmp eax, ebx
jne 0x457eef
mov edx, dword [ebp - 0x14]
sub edx, edi
cmp edx, 0x18
jae 0x457fca
push str.Fossilize_ERROR:_Validation_cache_header_is_too_small._n
push 2
call fcn.004f2743
add esp, 4
push eax
call fcn.00401d60
push 2
call fcn.004f2743
push eax
call fcn.004f2b00
add esp, 0x10
push str.Fossilize_INFO:_Failed_to_validate_validation_cache._Creating_a_blank_one._n
push 2
call fcn.004f2743
add esp, 4
push eax
call fcn.00401d60
push 2
call fcn.004f2743
push eax
call fcn.004f2b00
add esp, 0x10
mov ecx, dword [0x5b0654]
lea ebx, [esi + 0x2a8]
push ebx
push 0
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [esi + 0x930]
push dword [eax + 0xc]
call ecx
test eax, eax
je 0x457f96
push str.Fossilize_WARN:_Failed_to_create_validation_cache__trying_to_create_a_blank_one._n
push 2
call fcn.004f2743
add esp, 4
push eax
call fcn.00401d60
push 2
call fcn.004f2743
push eax
call fcn.004f2b00
mov ecx, dword [0x5b0654]
lea eax, [ebp - 0x2c]
add esp, 0x10
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
push ebx
push 0
push eax
mov eax, dword [esi + 0x930]
push dword [eax + 0xc]
call ecx
test eax, eax
je 0x457f96
push str.Fossilize_ERROR:_Failed_to_create_validation_cache._n
push 2
call fcn.004f2743
add esp, 4
push eax
call fcn.00401d60
push 2
call fcn.004f2743
push eax
call fcn.004f2b00
add esp, 0x10
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x45802e
mov ecx, dword [ebp - 0x10]
mov eax, edi
sub ecx, edi
cmp ecx, 0x1000
jb 0x457ffd
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458204
jmp 0x457ffd
movzx ecx, byte [edi + 7]
movzx eax, byte [edi + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 4]
shl ecx, 8
or ecx, eax
cmp ecx, 1
jne 0x457eca
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edx
jmp 0x457eef
push ecx
push edi
call fcn.004e9693
add esp, 8
jmp 0x45802e
push str.Fossilize_ERROR:_Requested_validation_cache__but_validation_layers_do_not_support_this_extension._n
push 2
call fcn.004f2743
add esp, 4
push eax
call fcn.00401d60
push 2
call fcn.004f2743
push eax
call fcn.004f2b00
add esp, 0x10
cmp dword [esi + 0xac], 0
je 0x458067
mov ecx, esi
call fcn.00451e60
test al, al
jne 0x458067
push str.Fossilize_WARN:_Failed_to_initialize_replayer_cache._Ignoring__n
push 2
call fcn.004f2743
add esp, 4
push eax
call fcn.00401d60
push 2
call fcn.004f2743
push eax
call fcn.004f2b00
add esp, 0x10
lea eax, [ebp - 0x14]
push eax
call fcn.00419270
mov ecx, dword [ebp - 0x14]
add esp, 4
sub ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x10]
sbb eax, dword [ebp - 0x38]
push 0
push 0xf4240
push eax
push ecx
call fcn.004e96e0
push eax
push str.Fossilize_INFO:_Creating_Vulkan_device_took:__ld_ms_n
push 2
call fcn.004f2743
add esp, 4
push eax
call fcn.00401d60
push 2
call fcn.004f2743
push eax
call fcn.004f2b00
mov ebx, dword [ebp + 0x10]
add esp, 0x14
test ebx, ebx
je 0x4581bb
push str.Fossilize_INFO:_Replaying_for_application:_n
push 2
call fcn.004f2743
add esp, 4
push eax
call fcn.00401d60
push 2
call fcn.004f2743
push eax
call fcn.004f2b00
mov esi, dword [ebx + 0x18]
push 2
call fcn.004f2743
mov ecx, esi
and ecx, 0xfff
push ecx
mov ecx, esi
shr esi, 0x16
shr ecx, 0xc
and ecx, 0x3ff
push ecx
push esi
push str.Fossilize_INFO:___apiVersion:__u._u._u_n
push eax
call fcn.00401d60
push 2
call fcn.004f2743
push eax
call fcn.004f2b00
mov esi, dword [ebx + 0x14]
push 2
call fcn.004f2743
push esi
push str.Fossilize_INFO:___engineVersion:__u_n
push eax
call fcn.00401d60
add esp, 0x40
push 2
call fcn.004f2743
push eax
call fcn.004f2b00
mov esi, dword [ebx + 0xc]
push 2
call fcn.004f2743
push esi
push str.Fossilize_INFO:___applicationVersion:__u_n
push eax
call fcn.00401d60
push 2
call fcn.004f2743
push eax
call fcn.004f2b00
mov esi, dword [ebx + 0x10]
add esp, 0x20
test esi, esi
je 0x458191
push 2
call fcn.004f2743
push esi
push str.Fossilize_INFO:___engineName:__s_n
push eax
call fcn.00401d60
push 2
call fcn.004f2743
push eax
call fcn.004f2b00
add esp, 0x18
mov esi, dword [ebx + 8]
test esi, esi
je 0x4581bb
push 2
call fcn.004f2743
push esi
push str.Fossilize_INFO:___applicationName:__s_n
push eax
call fcn.00401d60
push 2
call fcn.004f2743
push eax
call fcn.004f2b00
add esp, 0x18
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
push str.Fossilize_ERROR:_Failed_to_create_Vulkan_device__bailing_..._n
push 2
call fcn.004f2743
add esp, 4
push eax
call fcn.00401d60
push 2
call fcn.004f2743
push eax
call fcn.004f2b00
add esp, 0x10
push 1
call fcn.004eec9b
call fcn.00401a20
call fcn.004ee89f
call fcn.004ee89f
int3