Function at 0x4583a0
Capabilities:
Create process on windows
Create process suspended
Resume thread
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f62d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c4
push ebx
mov ebx, ecx
mov dword [ebp - 0x6c], ebx
mov eax, dword [ebx]
mov dword [ebx + 0x440], 0xffffffff
mov dword [ebx + 0x43c], 0xffffffff
mov dword [ebx + 0x444], 0xffffffff
cmp eax, dword [ebx + 0xc]
jb 0x45840a
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 0x10]
jb 0x45840a
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0x14]
jb 0x45840a
mov al, 1
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x104
lea eax, [ebp - 0x1d0]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jns 0x458433
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x40], al
push 1
push 0x520b7c
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], eax
call fcn.00418380
lea ecx, [ebp - 0x1d0]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x458470
push esi
push edi
sub ecx, edx
lea eax, [ebp - 0x1d0]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00418380
push 1
push 0x520b7c
lea ecx, [ebp - 0x40]
call fcn.00418380
mov eax, dword [0x5b00c4]
mov esi, dword [0x5b00c0]
cmp esi, eax
je 0x4584f2
mov ebx, eax
jmp 0x4584b0
push 2
push 0x520b80
lea ecx, [ebp - 0x40]
call fcn.00418380
mov edx, dword [esi]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4584c6
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00418380
push 1
push 0x520b7c
lea ecx, [ebp - 0x40]
call fcn.00418380
add esi, 4
cmp esi, ebx
jne 0x4584b0
mov ebx, dword [ebp - 0x6c]
push 0x10
push str.___slave_process
lea ecx, [ebp - 0x40]
call fcn.00418380
push 0x10
push str.___num_threads_1
lea ecx, [ebp - 0x40]
call fcn.00418380
push 0x1b
push str.___graphics_pipeline_range
lea ecx, [ebp - 0x40]
call fcn.00418380
push dword [ebx]
lea eax, [ebp - 0x47]
push eax
call fcn.004156a0
add esp, 8
lea ecx, [ebp - 0xd]
push ecx
lea ecx, [ebp - 0x47]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00413200
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmova eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
push eax
mov byte [ebp - 4], 1
call fcn.00418380
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x458591
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x458587
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459425
push ecx
push edx
call fcn.004e9693
add esp, 8
push 1
push 0x520b78
lea ecx, [ebp - 0x40]
call fcn.00418380
push dword [ebx + 0xc]
lea eax, [ebp - 0x47]
push eax
call fcn.004156a0
add esp, 8
lea ecx, [ebp - 0xd]
push ecx
lea ecx, [ebp - 0x47]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00413200
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmova eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
push eax
mov byte [ebp - 4], 2
call fcn.00418380
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x458613
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x458609
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459425
push ecx
push edx
call fcn.004e9693
add esp, 8
push 0x1a
push str.___compute_pipeline_range
lea ecx, [ebp - 0x40]
call fcn.00418380
push dword [ebx + 4]
lea eax, [ebp - 0x47]
push eax
call fcn.004156a0
add esp, 8
lea ecx, [ebp - 0xd]
push ecx
lea ecx, [ebp - 0x47]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00413200
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmova eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
push eax
mov byte [ebp - 4], 3
call fcn.00418380
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x458695
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45868b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459425
push ecx
push edx
call fcn.004e9693
add esp, 8
push 1
push 0x520b78
lea ecx, [ebp - 0x40]
call fcn.00418380
push dword [ebx + 0x10]
lea eax, [ebp - 0x47]
push eax
call fcn.004156a0
add esp, 8
lea ecx, [ebp - 0xd]
push ecx
lea ecx, [ebp - 0x47]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00413200
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmova eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
push eax
mov byte [ebp - 4], 4
call fcn.00418380
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x458717
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45870d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459425
push ecx
push edx
call fcn.004e9693
add esp, 8
push 0x1d
push str.___raytracing_pipeline_range
lea ecx, [ebp - 0x40]
call fcn.00418380
push dword [ebx + 8]
lea eax, [ebp - 0x47]
push eax
call fcn.004156a0
add esp, 8
lea ecx, [ebp - 0xd]
push ecx
lea ecx, [ebp - 0x47]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00413200
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmova eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
push eax
mov byte [ebp - 4], 5
call fcn.00418380
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x458799
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45878f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459425
push ecx
push edx
call fcn.004e9693
add esp, 8
push 1
push 0x520b78
lea ecx, [ebp - 0x40]
call fcn.00418380
push dword [ebx + 0x14]
lea eax, [ebp - 0x47]
push eax
call fcn.004156a0
add esp, 8
lea ecx, [ebp - 0xd]
push ecx
lea ecx, [ebp - 0x47]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00413200
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmova eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
push eax
mov byte [ebp - 4], 6
call fcn.00418380
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x45881b
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x458811
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459425
push ecx
push edx
call fcn.004e9693
add esp, 8
push 0x10
push str.___device_index
lea ecx, [ebp - 0x40]
call fcn.00418380
mov eax, dword [0x5a208c]
test eax, eax
jns 0x458849
neg eax
push eax
lea eax, [ebp - 0x47]
push eax
call fcn.004156a0
add esp, 8
mov byte [eax - 1], 0x2d
dec eax
jmp 0x458856
push eax
lea eax, [ebp - 0x47]
push eax
call fcn.004156a0
add esp, 8
lea ecx, [ebp - 0xd]
push ecx
lea ecx, [ebp - 0x47]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00413200
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmova eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
push eax
mov byte [ebp - 4], 7
call fcn.00418380
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x4588ba
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4588b0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459425
push ecx
push edx
call fcn.004e9693
add esp, 8
cmp byte [0x5a2088], 0
je 0x4588d2
push 0x14
push str.___enable_validation
lea ecx, [ebp - 0x40]
call fcn.00418380
cmp dword [0x5b00d8], 0
je 0x458908
push 0xc
push str.___shm_name
lea ecx, [ebp - 0x40]
call fcn.00418380
mov edx, dword [0x5b00d8]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4588f5
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00418380
cmp dword [0x5b00dc], 0
je 0x458943
push 0x12
push str.___shm_mutex_name
lea ecx, [ebp - 0x40]
call fcn.00418380
mov edx, dword [0x5b00dc]
mov ecx, edx
lea esi, [ecx + 1]
jmp 0x458930
mov al, byte [ecx]
inc ecx
test al, al
jne 0x458930
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00418380
cmp byte [0x5b00e8], 0
je 0x45897a
push 0x11
push str.___metadata_name
lea ecx, [ebp - 0x40]
call fcn.00418380
mov ecx, 0x5b00e8
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x458963
sub ecx, edx
push ecx
push 0x5b00e8
lea ecx, [ebp - 0x40]
call fcn.00418380
cmp byte [0x5affc0], 0
je 0x458992
push 0xc
push str.___spirv_val
lea ecx, [ebp - 0x40]
call fcn.00418380
cmp byte [0x5a208a], 0
je 0x4589aa
push 0xe
push str.___null_device
lea ecx, [ebp - 0x40]
call fcn.00418380
cmp dword [0x5affd4], 0
je 0x458a9c
push 0x1a
push str.___on_disk_pipeline_cache
lea ecx, [ebp - 0x40]
call fcn.00418380
push 1
push 0x520b7c
lea ecx, [ebp - 0x40]
call fcn.00418380
cmp dword [0x5affd8], 0xf
lea ecx, [ebp - 0x40]
push dword [0x5affd4]
mov eax, 0x5affc4
cmova eax, dword [0x5affc4]
push eax
call fcn.00418380
cmp dword [ebx + 0x448], 0
lea esi, [ebx + 0x448]
je 0x458a8b
push 1
push 0x52090c
lea ecx, [ebp - 0x40]
call fcn.00418380
push dword [esi]
lea eax, [ebp - 0x47]
push eax
call fcn.004156a0
add esp, 8
lea ecx, [ebp - 0xd]
push ecx
lea ecx, [ebp - 0x47]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00413200
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmova eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
push eax
mov byte [ebp - 4], 8
call fcn.00418380
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x458a8b
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x458a81
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459425
push ecx
push edx
call fcn.004e9693
add esp, 8
push 1
push 0x520b7c
lea ecx, [ebp - 0x40]
call fcn.00418380
jmp 0x458aa2
lea esi, [ebx + 0x448]
cmp dword [0x5b0034], 0
je 0x458b9b
push 0x1d
push str.___on_disk_module_identifier
lea ecx, [ebp - 0x40]
call fcn.00418380
push 1
push 0x520b7c
lea ecx, [ebp - 0x40]
call fcn.00418380
cmp dword [0x5b0038], 0xf
mov eax, 0x5b0024
jbe 0x458ae6
mov eax, dword [0x5b0024]
lea esi, [ebx + 0x448]
push dword [0x5b0034]
lea ecx, [ebp - 0x40]
push eax
call fcn.00418380
cmp dword [esi], 0
je 0x458b8c
push 1
push 0x52090c
lea ecx, [ebp - 0x40]
call fcn.00418380
push dword [esi]
lea eax, [ebp - 0x47]
push eax
call fcn.004156a0
add esp, 8
lea ecx, [ebp - 0xd]
push ecx
lea ecx, [ebp - 0x47]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00413200
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 9
jbe 0x458b42
mov eax, dword [ebp - 0x28]
lea esi, [ebx + 0x448]
push dword [ebp - 0x18]
lea ecx, [ebp - 0x40]
push eax
call fcn.00418380
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x458b8c
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x458b82
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459425
lea esi, [ebx + 0x448]
push ecx
push edx
call fcn.004e9693
add esp, 8
push 1
push 0x520b7c
lea ecx, [ebp - 0x40]
call fcn.00418380
cmp dword [0x5affec], 0
je 0x458c81
push 0x1c
push str.___on_disk_validation_cache
lea ecx, [ebp - 0x40]
call fcn.00418380
push 1
push 0x520b7c
lea ecx, [ebp - 0x40]
call fcn.00418380
cmp dword [0x5afff0], 0xf
lea ecx, [ebp - 0x40]
push dword [0x5affec]
mov eax, 0x5affdc
cmova eax, dword [0x5affdc]
push eax
call fcn.00418380
cmp dword [esi], 0
je 0x458c72
push 1
push 0x52090c
lea ecx, [ebp - 0x40]
call fcn.00418380
push dword [esi]
lea eax, [ebp - 0x47]
push eax
call fcn.004156a0
add esp, 8
lea ecx, [ebp - 0xd]
push ecx
lea ecx, [ebp - 0x47]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00413200
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmova eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
push eax
mov byte [ebp - 4], 0xa
call fcn.00418380
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x458c72
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x458c68
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459425
push ecx
push edx
call fcn.004e9693
add esp, 8
push 1
push 0x520b7c
lea ecx, [ebp - 0x40]
call fcn.00418380
cmp dword [0x5b0004], 0
je 0x458cd9
push 0x20
push str.___on_disk_validation_whitelist
lea ecx, [ebp - 0x40]
call fcn.00418380
push 1
push 0x520b7c
lea ecx, [ebp - 0x40]
call fcn.00418380
cmp dword [0x5b0008], 0xf
lea ecx, [ebp - 0x40]
push dword [0x5b0004]
mov eax, 0x5afff4
cmova eax, dword [0x5afff4]
push eax
call fcn.00418380
push 1
push 0x520b7c
lea ecx, [ebp - 0x40]
call fcn.00418380
cmp dword [0x5b001c], 0
je 0x458d31
push 0x20
push str.___on_disk_validation_blacklist
lea ecx, [ebp - 0x40]
call fcn.00418380
push 1
push 0x520b7c
lea ecx, [ebp - 0x40]
call fcn.00418380
cmp dword [0x5b0020], 0xf
lea ecx, [ebp - 0x40]
push dword [0x5b001c]
mov eax, 0x5b000c
cmova eax, dword [0x5b000c]
push eax
call fcn.00418380
push 1
push 0x520b7c
lea ecx, [ebp - 0x40]
call fcn.00418380
push 0x15
push str.___shader_cache_size
lea ecx, [ebp - 0x40]
call fcn.00418380
push dword [0x5b0080]
lea eax, [ebp - 0x47]
push eax
call fcn.004156a0
add esp, 8
lea ecx, [ebp - 0xd]
push ecx
lea ecx, [ebp - 0x47]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00413200
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmova eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
push eax
mov byte [ebp - 4], 0xb
call fcn.00418380
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x458db6
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x458dac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459425
push ecx
push edx
call fcn.004e9693
add esp, 8
cmp dword [0x5b004c], 0
je 0x458ea4
push 0x19
push str.___enable_pipeline_stats
lea ecx, [ebp - 0x40]
call fcn.00418380
push 1
push 0x520b7c
lea ecx, [ebp - 0x40]
call fcn.00418380
cmp dword [0x5b0050], 0xf
lea ecx, [ebp - 0x40]
push dword [0x5b004c]
mov eax, 0x5b003c
cmova eax, dword [0x5b003c]
push eax
call fcn.00418380
cmp dword [ebx + 0x448], 0
je 0x458e95
push 1
push 0x52090c
lea ecx, [ebp - 0x40]
call fcn.00418380
push dword [ebx + 0x448]
lea eax, [ebp - 0x47]
push eax
call fcn.004156a0
add esp, 8
lea ecx, [ebp - 0xd]
push ecx
lea ecx, [ebp - 0x47]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00413200
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmova eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
push eax
mov byte [ebp - 4], 0xc
call fcn.00418380
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x458e95
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x458e8b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459425
push ecx
push edx
call fcn.004e9693
add esp, 8
push 1
push 0x520b7c
lea ecx, [ebp - 0x40]
call fcn.00418380
cmp dword [0x5b00b8], 0
je 0x458f36
push 0x13
push str.___timeout_seconds
lea ecx, [ebp - 0x40]
call fcn.00418380
push dword [0x5b00b8]
lea eax, [ebp - 0x47]
push eax
call fcn.004156a0
add esp, 8
lea ecx, [ebp - 0xd]
push ecx
lea ecx, [ebp - 0x47]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00413200
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmova eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
push eax
mov byte [ebp - 4], 0xd
call fcn.00418380
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x458f36
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x458f2c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459425
push ecx
push edx
call fcn.004e9693
add esp, 8
mov edi, dword [0x5b006c]
mov ebx, dword [0x5b0070]
cmp edi, ebx
je 0x458fdd
lea ebx, [ebx]
mov esi, dword [edi]
lea ecx, [ebp - 0x40]
push 0x16
push str.___implicit_whitelist
call fcn.00418380
lea eax, [ebp - 0x47]
push esi
push eax
call fcn.004156a0
add esp, 8
lea ecx, [ebp - 0xd]
push ecx
lea ecx, [ebp - 0x47]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00413200
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmova eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
push eax
mov byte [ebp - 4], 0xe
call fcn.00418380
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x458fd2
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x458fc8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459425
push ecx
push edx
call fcn.004e9693
add esp, 8
add edi, 4
cmp edi, ebx
jne 0x458f50
cmp dword [0x5b0064], 0
je 0x459035
push 0x12
push str.___replayer_cache
lea ecx, [ebp - 0x40]
call fcn.00418380
push 1
push 0x520b7c
lea ecx, [ebp - 0x40]
call fcn.00418380
cmp dword [0x5b0068], 0xf
lea ecx, [ebp - 0x40]
push dword [0x5b0064]
mov eax, 0x5b0054
cmova eax, dword [0x5b0054]
push eax
call fcn.00418380
push 1
push 0x520b7c
lea ecx, [ebp - 0x40]
call fcn.00418380
push 0
lea eax, [ebp - 0x88]
mov dword [ebp - 0x80], 1
push eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x88], 0xc
push eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x84], 0
push eax
mov dword [ebp - 0x68], 0xffffffff
mov dword [ebp - 0x64], 0xffffffff
mov dword [ebp - 0x44], 0xffffffff
mov dword [ebp - 0x60], 0xffffffff
call fcn.0044ba20
add esp, 0x10
test al, al
jne 0x459093
mov esi, str.Fossilize_ERROR:_Failed_to_create_pipe._n
jmp 0x4591f3
push 1
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0044ba20
add esp, 0x10
test al, al
jne 0x4590ba
mov esi, str.Fossilize_ERROR:_Failed_to_create_pipe._n
jmp 0x4591f3
mov edi, dword [sym.imp.KERNEL32.dll_SetHandleInformation]
push 0
push 1
push dword [ebp - 0x44]
call edi
test eax, eax
jne 0x4590d7
mov esi, str.Fossilize_ERROR:_Failed_to_set_handle_information._n
jmp 0x4591f3
push 0
push 1
push dword [ebp - 0x60]
call edi
test eax, eax
jne 0x4590ee
mov esi, str.Fossilize_ERROR:_Failed_to_set_handle_information._n
jmp 0x4591f3
mov ebx, dword [ebp - 0x64]
xor eax, eax
mov ecx, dword [ebp - 0x68]
or esi, 0xffffffff
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x8c], eax
or eax, 0x100
mov dword [ebp - 0xa0], eax
xor eax, eax
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xcc], 0x44
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
cmp byte [0x5b00d0], al
je 0x4591d9
push eax
push eax
push 3
lea eax, [ebp - 0x88]
push eax
push 0
push 0x40000000
push 0x520dc8
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4591d1
mov esi, str.Fossilize_ERROR:_Failed_to_open_NUL_file_for_writing._n
jmp 0x4591f3
mov dword [ebp - 0x8c], esi
jmp 0x459225
mov ebx, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 1
push 1
push 0xfffffffffffffff4
call ebx
push eax
call edi
test eax, eax
jne 0x459218
mov esi, str.Fossilize_ERROR:_Failed_to_enable_inheritance_for_stderror_handle._n
push 2
call fcn.004f2743
push esi
push eax
call fcn.00401d60
push 2
call fcn.004f2743
push eax
call fcn.004f2b00
add esp, 0x14
xor bl, bl
jmp 0x4593e2
push 0xfffffffffffffff4
call ebx
mov ebx, dword [ebp - 0x64]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x2c], 0xf
lea eax, [ebp - 0x40]
cmova eax, dword [ebp - 0x40]
push eax
call fcn.004f957c
add esp, 4
mov edi, eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0xcc]
push eax
push 0
push 0
push 0x8000004
push 1
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x459294
push str.Fossilize_ERROR:_Failed_to_create_child_process._n
push 2
call fcn.004f2743
add esp, 4
push eax
call fcn.00401d60
push 2
call fcn.004f2743
push eax
call fcn.004f2b00
push edi
call fcn.004f4a6e
add esp, 0x14
xor bl, bl
jmp 0x4593e2
push edi
call fcn.004f4a6e
mov eax, dword [0x5b00e4]
add esp, 4
test eax, eax
je 0x4592d9
push dword [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x4592d9
push str.Fossilize_ERROR:_Failed_to_assign_process_to_job_handle._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 dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [ebp - 0x68]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push ebx
call edi
cmp esi, 0xffffffff
je 0x4592f8
push esi
call edi
push dword [ebp - 0x78]
call edi
mov ebx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x7c]
mov dword [ebx + 0x18], eax
mov eax, dword [0x5affa4]
mov dword [ebp - 0x64], eax
mov esi, dword [eax]
cmp esi, eax
je 0x45937f
push dword [esi + 0xc]
lea eax, [ebp - 0x5c]
push dword [esi + 8]
push str._llx_n
push eax
call fcn.00429c00
lea ebx, [ebp - 0x5c]
add esp, 0x10
mov edi, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x459333
sub edi, ecx
je 0x45936f
mov edi, edi
push 0
lea eax, [ebp - 0x68]
push eax
push edi
push ebx
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x45936f
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test eax, eax
je 0x45936f
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x45936f
add ebx, eax
sub edi, eax
jne 0x459340
mov esi, dword [esi]
cmp esi, dword [ebp - 0x64]
jne 0x459314
mov ebx, dword [ebp - 0x6c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x60]
call edi
mov eax, dword [ebp - 0x44]
inc dword [0x5b00cc]
push 0
push 0
push 1
push 0
mov dword [ebx + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebx + 0x24], eax
test eax, eax
jne 0x4593ac
push str.Fossilize_ERROR:_Failed_to_create_event._n
jmp 0x4593bc
mov ecx, ebx
call fcn.00452180
test al, al
jne 0x4593e0
push str.Fossilize_ERROR:_Failed_to_start_overlapped_I_O._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
xor bl, bl
jmp 0x4593e2
mov bl, 1
mov ecx, dword [ebp - 0x2c]
pop edi
pop esi
cmp ecx, 0xf
jbe 0x459414
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45940a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459425
push ecx
push edx
call fcn.004e9693
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.004ee89f
int3