Function at 0x460470
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 0x5203ed
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 0x4604da
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 0x10]
jb 0x4604da
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0x14]
jb 0x4604da
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 0x460503
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 0x53332c
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], eax
call fcn.0041c1e0
lea ecx, [ebp - 0x1d0]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x460540
push esi
push edi
sub ecx, edx
lea eax, [ebp - 0x1d0]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
push 1
push 0x53332c
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
mov eax, dword [0x5d145c]
mov esi, dword [0x5d1458]
cmp esi, eax
je 0x4605c2
mov ebx, eax
jmp 0x460580
push 2
push 0x533330
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
mov edx, dword [esi]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x460596
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
push 1
push 0x53332c
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
add esi, 4
cmp esi, ebx
jne 0x460580
mov ebx, dword [ebp - 0x6c]
push 0x10
push str.___slave_process
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
push 0x10
push str.___num_threads_1
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
push 0x1b
push str.___graphics_pipeline_range
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
push dword [ebx]
lea eax, [ebp - 0x47]
push eax
call fcn.00419500
add esp, 8
lea ecx, [ebp - 0xd]
push ecx
lea ecx, [ebp - 0x47]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00417060
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.0041c1e0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x460661
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x460657
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4614f5
push ecx
push edx
call fcn.004fa253
add esp, 8
push 1
push 0x533328
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
push dword [ebx + 0xc]
lea eax, [ebp - 0x47]
push eax
call fcn.00419500
add esp, 8
lea ecx, [ebp - 0xd]
push ecx
lea ecx, [ebp - 0x47]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00417060
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.0041c1e0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x4606e3
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4606d9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4614f5
push ecx
push edx
call fcn.004fa253
add esp, 8
push 0x1a
push str.___compute_pipeline_range
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
push dword [ebx + 4]
lea eax, [ebp - 0x47]
push eax
call fcn.00419500
add esp, 8
lea ecx, [ebp - 0xd]
push ecx
lea ecx, [ebp - 0x47]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00417060
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.0041c1e0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x460765
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46075b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4614f5
push ecx
push edx
call fcn.004fa253
add esp, 8
push 1
push 0x533328
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
push dword [ebx + 0x10]
lea eax, [ebp - 0x47]
push eax
call fcn.00419500
add esp, 8
lea ecx, [ebp - 0xd]
push ecx
lea ecx, [ebp - 0x47]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00417060
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.0041c1e0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x4607e7
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4607dd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4614f5
push ecx
push edx
call fcn.004fa253
add esp, 8
push 0x1d
push str.___raytracing_pipeline_range
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
push dword [ebx + 8]
lea eax, [ebp - 0x47]
push eax
call fcn.00419500
add esp, 8
lea ecx, [ebp - 0xd]
push ecx
lea ecx, [ebp - 0x47]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00417060
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.0041c1e0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x460869
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46085f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4614f5
push ecx
push edx
call fcn.004fa253
add esp, 8
push 1
push 0x533328
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
push dword [ebx + 0x14]
lea eax, [ebp - 0x47]
push eax
call fcn.00419500
add esp, 8
lea ecx, [ebp - 0xd]
push ecx
lea ecx, [ebp - 0x47]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00417060
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.0041c1e0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x4608eb
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4608e1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4614f5
push ecx
push edx
call fcn.004fa253
add esp, 8
push 0x10
push str.___device_index
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
mov eax, dword [0x5c308c]
test eax, eax
jns 0x460919
neg eax
push eax
lea eax, [ebp - 0x47]
push eax
call fcn.00419500
add esp, 8
mov byte [eax - 1], 0x2d
dec eax
jmp 0x460926
push eax
lea eax, [ebp - 0x47]
push eax
call fcn.00419500
add esp, 8
lea ecx, [ebp - 0xd]
push ecx
lea ecx, [ebp - 0x47]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00417060
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.0041c1e0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x46098a
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x460980
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4614f5
push ecx
push edx
call fcn.004fa253
add esp, 8
cmp byte [0x5c3088], 0
je 0x4609a2
push 0x14
push str.___enable_validation
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
cmp dword [0x5d1470], 0
je 0x4609d8
push 0xc
push str.___shm_name
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
mov edx, dword [0x5d1470]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4609c5
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
cmp dword [0x5d1474], 0
je 0x460a13
push 0x12
push str.___shm_mutex_name
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
mov edx, dword [0x5d1474]
mov ecx, edx
lea esi, [ecx + 1]
jmp 0x460a00
mov al, byte [ecx]
inc ecx
test al, al
jne 0x460a00
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
cmp byte [0x5d1480], 0
je 0x460a4a
push 0x11
push str.___metadata_name
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
mov ecx, 0x5d1480
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x460a33
sub ecx, edx
push ecx
push 0x5d1480
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
cmp byte [0x5d1358], 0
je 0x460a62
push 0xc
push str.___spirv_val
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
cmp byte [0x5c308a], 0
je 0x460a7a
push 0xe
push str.___null_device
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
cmp dword [0x5d136c], 0
je 0x460b6c
push 0x1a
push str.___on_disk_pipeline_cache
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
push 1
push 0x53332c
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
cmp dword [0x5d1370], 0xf
lea ecx, [ebp - 0x40]
push dword [0x5d136c]
mov eax, 0x5d135c
cmova eax, dword [0x5d135c]
push eax
call fcn.0041c1e0
cmp dword [ebx + 0x448], 0
lea esi, [ebx + 0x448]
je 0x460b5b
push 1
push 0x5330bc
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
push dword [esi]
lea eax, [ebp - 0x47]
push eax
call fcn.00419500
add esp, 8
lea ecx, [ebp - 0xd]
push ecx
lea ecx, [ebp - 0x47]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00417060
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.0041c1e0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x460b5b
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x460b51
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4614f5
push ecx
push edx
call fcn.004fa253
add esp, 8
push 1
push 0x53332c
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
jmp 0x460b72
lea esi, [ebx + 0x448]
cmp dword [0x5d13cc], 0
je 0x460c6b
push 0x1d
push str.___on_disk_module_identifier
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
push 1
push 0x53332c
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
cmp dword [0x5d13d0], 0xf
mov eax, 0x5d13bc
jbe 0x460bb6
mov eax, dword [0x5d13bc]
lea esi, [ebx + 0x448]
push dword [0x5d13cc]
lea ecx, [ebp - 0x40]
push eax
call fcn.0041c1e0
cmp dword [esi], 0
je 0x460c5c
push 1
push 0x5330bc
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
push dword [esi]
lea eax, [ebp - 0x47]
push eax
call fcn.00419500
add esp, 8
lea ecx, [ebp - 0xd]
push ecx
lea ecx, [ebp - 0x47]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00417060
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 9
jbe 0x460c12
mov eax, dword [ebp - 0x28]
lea esi, [ebx + 0x448]
push dword [ebp - 0x18]
lea ecx, [ebp - 0x40]
push eax
call fcn.0041c1e0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x460c5c
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x460c52
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4614f5
lea esi, [ebx + 0x448]
push ecx
push edx
call fcn.004fa253
add esp, 8
push 1
push 0x53332c
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
cmp dword [0x5d1384], 0
je 0x460d51
push 0x1c
push str.___on_disk_validation_cache
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
push 1
push 0x53332c
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
cmp dword [0x5d1388], 0xf
lea ecx, [ebp - 0x40]
push dword [0x5d1384]
mov eax, 0x5d1374
cmova eax, dword [0x5d1374]
push eax
call fcn.0041c1e0
cmp dword [esi], 0
je 0x460d42
push 1
push 0x5330bc
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
push dword [esi]
lea eax, [ebp - 0x47]
push eax
call fcn.00419500
add esp, 8
lea ecx, [ebp - 0xd]
push ecx
lea ecx, [ebp - 0x47]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00417060
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.0041c1e0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x460d42
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x460d38
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4614f5
push ecx
push edx
call fcn.004fa253
add esp, 8
push 1
push 0x53332c
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
cmp dword [0x5d139c], 0
je 0x460da9
push 0x20
push str.___on_disk_validation_whitelist
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
push 1
push 0x53332c
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
cmp dword [0x5d13a0], 0xf
lea ecx, [ebp - 0x40]
push dword [0x5d139c]
mov eax, 0x5d138c
cmova eax, dword [0x5d138c]
push eax
call fcn.0041c1e0
push 1
push 0x53332c
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
cmp dword [0x5d13b4], 0
je 0x460e01
push 0x20
push str.___on_disk_validation_blacklist
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
push 1
push 0x53332c
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
cmp dword [0x5d13b8], 0xf
lea ecx, [ebp - 0x40]
push dword [0x5d13b4]
mov eax, 0x5d13a4
cmova eax, dword [0x5d13a4]
push eax
call fcn.0041c1e0
push 1
push 0x53332c
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
push 0x15
push str.___shader_cache_size
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
push dword [0x5d1418]
lea eax, [ebp - 0x47]
push eax
call fcn.00419500
add esp, 8
lea ecx, [ebp - 0xd]
push ecx
lea ecx, [ebp - 0x47]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00417060
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.0041c1e0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x460e86
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x460e7c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4614f5
push ecx
push edx
call fcn.004fa253
add esp, 8
cmp dword [0x5d13e4], 0
je 0x460f74
push 0x19
push str.___enable_pipeline_stats
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
push 1
push 0x53332c
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
cmp dword [0x5d13e8], 0xf
lea ecx, [ebp - 0x40]
push dword [0x5d13e4]
mov eax, 0x5d13d4
cmova eax, dword [0x5d13d4]
push eax
call fcn.0041c1e0
cmp dword [ebx + 0x448], 0
je 0x460f65
push 1
push 0x5330bc
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
push dword [ebx + 0x448]
lea eax, [ebp - 0x47]
push eax
call fcn.00419500
add esp, 8
lea ecx, [ebp - 0xd]
push ecx
lea ecx, [ebp - 0x47]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00417060
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.0041c1e0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x460f65
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x460f5b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4614f5
push ecx
push edx
call fcn.004fa253
add esp, 8
push 1
push 0x53332c
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
cmp dword [0x5d1450], 0
je 0x461006
push 0x13
push str.___timeout_seconds
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
push dword [0x5d1450]
lea eax, [ebp - 0x47]
push eax
call fcn.00419500
add esp, 8
lea ecx, [ebp - 0xd]
push ecx
lea ecx, [ebp - 0x47]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00417060
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.0041c1e0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x461006
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x460ffc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4614f5
push ecx
push edx
call fcn.004fa253
add esp, 8
mov edi, dword [0x5d1404]
mov ebx, dword [0x5d1408]
cmp edi, ebx
je 0x4610ad
lea ebx, [ebx]
mov esi, dword [edi]
lea ecx, [ebp - 0x40]
push 0x16
push str.___implicit_whitelist
call fcn.0041c1e0
lea eax, [ebp - 0x47]
push esi
push eax
call fcn.00419500
add esp, 8
lea ecx, [ebp - 0xd]
push ecx
lea ecx, [ebp - 0x47]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00417060
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.0041c1e0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x4610a2
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x461098
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4614f5
push ecx
push edx
call fcn.004fa253
add esp, 8
add edi, 4
cmp edi, ebx
jne 0x461020
cmp dword [0x5d13fc], 0
je 0x461105
push 0x12
push str.___replayer_cache
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
push 1
push 0x53332c
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
cmp dword [0x5d1400], 0xf
lea ecx, [ebp - 0x40]
push dword [0x5d13fc]
mov eax, 0x5d13ec
cmova eax, dword [0x5d13ec]
push eax
call fcn.0041c1e0
push 1
push 0x53332c
lea ecx, [ebp - 0x40]
call fcn.0041c1e0
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.00453ad0
add esp, 0x10
test al, al
jne 0x461163
mov esi, str.Fossilize_ERROR:_Failed_to_create_pipe._n
jmp 0x4612c3
push 1
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00453ad0
add esp, 0x10
test al, al
jne 0x46118a
mov esi, str.Fossilize_ERROR:_Failed_to_create_pipe._n
jmp 0x4612c3
mov edi, dword [sym.imp.KERNEL32.dll_SetHandleInformation]
push 0
push 1
push dword [ebp - 0x44]
call edi
test eax, eax
jne 0x4611a7
mov esi, str.Fossilize_ERROR:_Failed_to_set_handle_information._n
jmp 0x4612c3
push 0
push 1
push dword [ebp - 0x60]
call edi
test eax, eax
jne 0x4611be
mov esi, str.Fossilize_ERROR:_Failed_to_set_handle_information._n
jmp 0x4612c3
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 [0x5d1468], al
je 0x4612a9
push eax
push eax
push 3
lea eax, [ebp - 0x88]
push eax
push 0
push 0x40000000
push 0x533578
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4612a1
mov esi, str.Fossilize_ERROR:_Failed_to_open_NUL_file_for_writing._n
jmp 0x4612c3
mov dword [ebp - 0x8c], esi
jmp 0x4612f5
mov ebx, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 1
push 1
push 0xfffffffffffffff4
call ebx
push eax
call edi
test eax, eax
jne 0x4612e8
mov esi, str.Fossilize_ERROR:_Failed_to_enable_inheritance_for_stderror_handle._n
push 2
call fcn.00503303
push esi
push eax
call fcn.00401d30
push 2
call fcn.00503303
push eax
call fcn.005036c0
add esp, 0x14
xor bl, bl
jmp 0x4614b2
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.0050a13b
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 0x461364
push str.Fossilize_ERROR:_Failed_to_create_child_process._n
push 2
call fcn.00503303
add esp, 4
push eax
call fcn.00401d30
push 2
call fcn.00503303
push eax
call fcn.005036c0
push edi
call fcn.0050562e
add esp, 0x14
xor bl, bl
jmp 0x4614b2
push edi
call fcn.0050562e
mov eax, dword [0x5d147c]
add esp, 4
test eax, eax
je 0x4613a9
push dword [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x4613a9
push str.Fossilize_ERROR:_Failed_to_assign_process_to_job_handle._n
push 2
call fcn.00503303
add esp, 4
push eax
call fcn.00401d30
push 2
call fcn.00503303
push eax
call fcn.005036c0
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 0x4613c8
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 [0x5d133c]
mov dword [ebp - 0x64], eax
mov esi, dword [eax]
cmp esi, eax
je 0x46144f
push dword [esi + 0xc]
lea eax, [ebp - 0x5c]
push dword [esi + 8]
push str._llx_n
push eax
call fcn.0042e720
lea ebx, [ebp - 0x5c]
add esp, 0x10
mov edi, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x461403
sub edi, ecx
je 0x46143f
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 0x46143f
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test eax, eax
je 0x46143f
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x46143f
add ebx, eax
sub edi, eax
jne 0x461410
mov esi, dword [esi]
cmp esi, dword [ebp - 0x64]
jne 0x4613e4
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 [0x5d1464]
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 0x46147c
push str.Fossilize_ERROR:_Failed_to_create_event._n
jmp 0x46148c
mov ecx, ebx
call fcn.0045a250
test al, al
jne 0x4614b0
push str.Fossilize_ERROR:_Failed_to_start_overlapped_I_O._n
push 2
call fcn.00503303
add esp, 4
push eax
call fcn.00401d30
push 2
call fcn.00503303
push eax
call fcn.005036c0
add esp, 0x10
xor bl, bl
jmp 0x4614b2
mov bl, 1
mov ecx, dword [ebp - 0x2c]
pop edi
pop esi
cmp ecx, 0xf
jbe 0x4614e4
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4614da
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4614f5
push ecx
push edx
call fcn.004fa253
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.004ff45f
int3