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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xb8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xd0], 0
je 0x140009329
cmp qword [rsp + 0xd8], 0
je 0x140009329
cmp qword [rsp + 0xe0], 0
je 0x140009329
mov rax, qword [rsp + 0xe0]
movzx eax, byte [rax]
test eax, eax
je 0x140009329
cmp qword [rsp + 0xf0], 0
je 0x140009329
mov rax, qword [rsp + 0xf0]
movsx eax, byte [rax]
test eax, eax
jne 0x140009333
mov eax, 0xffffffff
jmp 0x140009a86
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x6c], 0
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x20], 0
cmp qword [rsp + 0x40], 0
je 0x140009411
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x24]
and eax, 0x20
test eax, eax
je 0x1400093a8
cmp qword [rsp + 0x30], 0
jne 0x1400093a8
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x68]
cmp dword [rax + 0x14], ecx
jbe 0x1400093d8
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x64]
cmp dword [rax + 0xc], ecx
jbe 0x1400093fe
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 8]
mov dword [rsp + 0x6c], eax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x40], rax
jmp 0x14000937b
cmp qword [rsp + 0x30], 0
jne 0x140009423
mov eax, 0xfffffffe
jmp 0x140009a86
mov ecx, 0x38
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140009445
mov eax, 0xfffffffd
jmp 0x140009a86
mov rax, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x20]
xor eax, eax
mov ecx, 0x28
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x20]
mov r8d, 8
mov rdx, qword [rsp + 0xf0]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov eax, dword [rsp + 0xe8]
add eax, 0x10
neg eax
mov rcx, qword [rsp + 0xd0]
mov ecx, dword [rcx + 0x38]
neg ecx
and eax, ecx
neg eax
mov rcx, qword [rsp + 0x20]
mov dword [rcx + 8], eax
mov eax, dword [rsp + 0x6c]
mov ecx, dword [rsp + 0x64]
add ecx, eax
mov eax, ecx
neg eax
mov rcx, qword [rsp + 0xd0]
mov ecx, dword [rcx + 0x38]
neg ecx
and eax, ecx
neg eax
mov rcx, qword [rsp + 0x20]
mov dword [rcx + 0xc], eax
mov eax, dword [rsp + 0xe8]
add eax, 0x10
neg eax
mov rcx, qword [rsp + 0xd0]
mov ecx, dword [rcx + 0x3c]
neg ecx
and eax, ecx
neg eax
mov rcx, qword [rsp + 0x20]
mov dword [rcx + 0x10], eax
mov eax, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x68]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x20]
mov dword [rcx + 0x14], eax
mov rax, qword [rsp + 0x20]
mov dword [rax + 0x24], 0x60000020
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x10]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x28], rax
mov rax, qword [rsp + 0x20]
cmp qword [rax + 0x28], 0
jne 0x14000953f
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, 0xfffffffc
jmp 0x140009a86
mov rax, qword [rsp + 0x20]
mov qword [rax + 0x30], 0
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x20]
mov qword [rax + 0x30], rcx
mov rax, qword [rsp + 0xd0]
movzx eax, word [rax + 6]
inc ax
mov rcx, qword [rsp + 0xd0]
mov word [rcx + 6], ax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x20]
add eax, dword [rcx + 8]
neg eax
mov rcx, qword [rsp + 0xd0]
mov ecx, dword [rcx + 0x38]
neg ecx
and eax, ecx
neg eax
mov rcx, qword [rsp + 0xd0]
mov dword [rcx + 0x50], eax
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0xd0]
add rax, qword [rcx + 0x30]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x60]
lea rcx, [0x140012718]
mov rdi, rax
mov rsi, rcx
mov ecx, 3
rep movsb byte [rdi], byte [rsi]
movsx eax, byte [rsp + 0x50]
and eax, 0xff
mov byte [rsp + 0x90], al
mov rax, qword [rsp + 0x50]
shr rax, 8
movsx eax, al
and eax, 0xff
mov byte [rsp + 0x91], al
mov rax, qword [rsp + 0x50]
shr rax, 0x10
movsx eax, al
and eax, 0xff
mov byte [rsp + 0x92], al
mov rax, qword [rsp + 0x50]
shr rax, 0x18
movsx eax, al
and eax, 0xff
mov byte [rsp + 0x93], al
mov rax, qword [rsp + 0x50]
shr rax, 0x20
movsx eax, al
and eax, 0xff
mov byte [rsp + 0x94], al
mov rax, qword [rsp + 0x50]
shr rax, 0x28
movsx eax, al
and eax, 0xff
mov byte [rsp + 0x95], al
mov rax, qword [rsp + 0x50]
shr rax, 0x30
movsx eax, al
and eax, 0xff
mov byte [rsp + 0x96], al
mov rax, qword [rsp + 0x50]
shr rax, 0x38
movsx eax, al
and eax, 0xff
mov byte [rsp + 0x97], al
lea rax, [rsp + 0xa0]
lea rcx, [0x140012710]
mov rdi, rax
mov rsi, rcx
mov ecx, 7
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0xe8]
mov rcx, qword [rsp + 0x20]
mov rdi, qword [rcx + 0x28]
mov rsi, qword [rsp + 0xe0]
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0xe8]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0x28]
lea rdx, [rsp + 0x60]
lea rdi, [rcx + rax]
mov rsi, rdx
mov ecx, 3
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0xe8]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0x28]
mov rdx, qword [rsp + 0x90]
mov qword [rcx + rax + 2], rdx
mov eax, dword [rsp + 0xe8]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0x28]
lea rdx, [rsp + 0xa0]
lea rdi, [rcx + rax + 0xa]
mov rsi, rdx
mov ecx, 7
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 8]
cmp dword [rax + 0x10], ecx
jbe 0x1400097d9
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 8]
mov eax, dword [rax + 0x10]
sub eax, ecx
mov dword [rsp + 0x74], eax
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x3c]
cmp dword [rsp + 0x74], eax
jb 0x14000977f
mov eax, 0xfffffffb
jmp 0x140009a86
mov dword [rsp + 0x48], 0
jmp 0x140009793
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x74]
cmp dword [rsp + 0x48], eax
jae 0x1400097c8
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
add eax, dword [rsp + 0x48]
mov eax, eax
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x28]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x1400097c6
mov eax, 0xfffffffa
jmp 0x140009a86
jmp 0x140009789
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
mov dword [rsp + 0x28], eax
jmp 0x140009862
mov qword [rsp + 0x80], 0
mov dword [rsp + 0x38], 0
jmp 0x1400097f9
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x10]
xor edx, edx
mov eax, ecx
mov ecx, 8
div rcx
mov rcx, qword [rsp + 0x88]
cmp rcx, rax
jae 0x140009862
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x28]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
jne 0x140009860
mov eax, dword [rsp + 0x38]
dec eax
mov eax, eax
lea rax, [rax*8 + 1]
mov dword [rsp + 0x28], eax
jmp 0x140009862
jmp 0x1400097ef
mov eax, dword [rsp + 0x28]
add eax, 8
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0xd0]
add rax, qword [rcx + 0x30]
mov qword [rsp + 0x58], rax
movsx eax, byte [rsp + 0x58]
and eax, 0xff
mov byte [rsp + 0x98], al
mov rax, qword [rsp + 0x58]
shr rax, 8
movsx eax, al
and eax, 0xff
mov byte [rsp + 0x99], al
mov rax, qword [rsp + 0x58]
shr rax, 0x10
movsx eax, al
and eax, 0xff
mov byte [rsp + 0x9a], al
mov rax, qword [rsp + 0x58]
shr rax, 0x18
movsx eax, al
and eax, 0xff
mov byte [rsp + 0x9b], al
mov rax, qword [rsp + 0x58]
shr rax, 0x20
movsx eax, al
and eax, 0xff
mov byte [rsp + 0x9c], al
mov rax, qword [rsp + 0x58]
shr rax, 0x28
movsx eax, al
and eax, 0xff
mov byte [rsp + 0x9d], al
mov rax, qword [rsp + 0x58]
shr rax, 0x30
movsx eax, al
and eax, 0xff
mov byte [rsp + 0x9e], al
mov rax, qword [rsp + 0x58]
shr rax, 0x38
movsx eax, al
and eax, 0xff
mov byte [rsp + 0x9f], al
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x28]
lea rdx, [rsp + 0x60]
lea rdi, [rcx + rax]
mov rsi, rdx
mov ecx, 3
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x28]
mov rdx, qword [rsp + 0x98]
mov qword [rcx + rax + 2], rdx
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x28]
lea rdx, [rsp + 0xa0]
lea rdi, [rcx + rax + 0xa]
mov rsi, rdx
mov ecx, 7
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xc]
add eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0xd0]
mov dword [rcx + 0x28], eax
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [rsp + 0x50]
lea rdx, str.original_entry_point_0x_16lX_n
mov rcx, rax
call fcn.1400061d0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, qword [rsp + 0xd0]
mov r8d, dword [rcx + 0x28]
lea rdx, [0x1400126c8]
mov rcx, rax
call fcn.1400061d0
mov rax, qword [rsp + 0xd0]
movzx eax, word [rax + 0x5e]
and eax, 0xffffffbf
mov rcx, qword [rsp + 0xd0]
mov word [rcx + 0x5e], ax
mov rax, qword [rsp + 0xd0]
movzx eax, word [rax + 0x16]
or eax, 1
mov rcx, qword [rsp + 0xd0]
mov word [rcx + 0x16], ax
mov rax, qword [rsp + 0xd0]
movzx eax, word [rax + 0x16]
and eax, 0x2000
test eax, eax
jne 0x140009a68
mov rax, qword [rsp + 0xd0]
mov dword [rax + 0xb0], 0
mov rax, qword [rsp + 0xd0]
mov dword [rax + 0xb4], 0
mov rax, qword [rsp + 0xd0]
movzx eax, word [rax + 0x5e]
btr eax, 8
mov rcx, qword [rsp + 0xd0]
mov word [rcx + 0x5e], ax
xor eax, eax
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14000cf70
add rsp, 0xb8
pop rdi
pop rsi
ret