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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x108
mov rax, qword [0x1401bd0e0]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov eax, dword [rsp + 0x138]
mov dword [rsp + 0xc4], eax
mov dword [rsp + 0x64], 0
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 8]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x120]
movzx eax, byte [rax + 1]
and eax, 0x20
test eax, eax
je 0x140078409
mov r8, qword [rsp + 0x120]
mov rax, qword [rsp + 0x120]
mov edx, dword [rax + 0x50]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 8]
call fcn.140068880
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc0], 0
je 0x1400783e0
mov eax, dword [rsp + 0xc0]
jmp 0x140078c70
cmp dword [rsp + 0xc4], 0
je 0x140078409
mov rax, qword [rsp + 0x120]
movsx eax, byte [rax + 0x54]
test eax, eax
jge 0x140078409
mov ecx, 0x1349a
call fcn.140128c30
jmp 0x140078c70
mov rax, qword [rsp + 0x120]
movzx eax, byte [rax]
cmp eax, 3
jl 0x14007844d
mov rcx, qword [rsp + 0x120]
call fcn.140070820
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc0], 0
je 0x14007844d
cmp dword [rsp + 0xc0], 0x10
je 0x14007844d
mov eax, dword [rsp + 0xc0]
jmp 0x140078c70
mov rax, qword [rsp + 0x120]
cmp qword [rax + 0x80], 0
jne 0x140078582
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x13]
test eax, eax
je 0x140078494
xor r9d, r9d
mov rax, qword [rsp + 0x128]
mov r8, qword [rax + 8]
mov rax, qword [rsp + 0x120]
mov edx, dword [rax + 0x50]
mov rcx, qword [rsp + 0x40]
call fcn.1400684d0
mov rax, qword [rsp + 0x120]
movzx eax, byte [rax + 1]
and eax, 2
test eax, eax
je 0x140078510
mov rax, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x120]
mov rcx, qword [rcx + 0x30]
cmp qword [rax + 8], rcx
jne 0x140078510
mov rax, qword [rsp + 0x120]
movzx eax, word [rax + 0x46]
test eax, eax
je 0x14007850e
mov rax, qword [rsp + 0x128]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x128]
add eax, dword [rcx + 0x28]
mov rcx, qword [rsp + 0x120]
cmp dword [rcx + 0x40], eax
jne 0x14007850e
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x120]
call fcn.140078260
jmp 0x140078c70
jmp 0x14007857d
cmp dword [rsp + 0xc4], 0
jne 0x14007857d
mov eax, dword [rsp + 0x130]
and eax, 8
test eax, eax
je 0x140078532
mov dword [rsp + 0x58], 1
jmp 0x14007853a
mov dword [rsp + 0x58], 0
lea r9, [rsp + 0xc4]
mov r8d, dword [rsp + 0x58]
mov rax, qword [rsp + 0x128]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0x120]
call fcn.140070d80
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc0], 0
je 0x14007857d
mov eax, dword [rsp + 0xc0]
jmp 0x140078c70
jmp 0x14007870c
cmp dword [rsp + 0xc4], 0
jne 0x140078691
mov eax, dword [rsp + 0x130]
and eax, 2
test eax, eax
jne 0x140078691
mov rax, qword [rsp + 0x128]
movzx eax, word [rax + 0x20]
test eax, eax
je 0x14007861e
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x80]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x128]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x128]
movzx eax, word [rax + 0x20]
mov word [rsp + 0x84], ax
mov byte [rsp + 0x86], 0
mov byte [rsp + 0x8a], 0
lea r8, [rsp + 0xc4]
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x120]
call fcn.140071390
mov dword [rsp + 0xc0], eax
jmp 0x14007867b
mov eax, dword [rsp + 0x130]
and eax, 8
test eax, eax
je 0x140078636
mov dword [rsp + 0x5c], 1
jmp 0x14007863e
mov dword [rsp + 0x5c], 0
lea rax, [rsp + 0xc4]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x5c]
mov rax, qword [rsp + 0x128]
mov r8, qword [rax + 8]
mov rax, qword [rsp + 0x128]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x120]
call fcn.1400689f0
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc0], 0
je 0x140078691
mov eax, dword [rsp + 0xc0]
jmp 0x140078c70
cmp dword [rsp + 0xc4], 0
jne 0x14007870c
mov rcx, qword [rsp + 0x120]
call fcn.14006fa30
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x128]
mov rcx, qword [rcx + 8]
cmp qword [rax + 0x30], rcx
jne 0x14007870c
mov rax, qword [rsp + 0x128]
mov rax, qword [rax]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x128]
mov eax, dword [rax + 8]
mov dword [rsp + 0xb4], eax
mov dword [rsp + 0xb8], 0
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x120]
call fcn.140078260
jmp 0x140078c70
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x88]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x14], 0
jge 0x140078775
mov rax, qword [rsp + 0x120]
movzx eax, byte [rax]
cmp eax, 1
jle 0x14007874e
mov ecx, 0x13515
call fcn.140128c30
mov dword [rsp + 0xc0], eax
jmp 0x14007875f
mov rcx, qword [rsp + 0x30]
call fcn.14006b4a0
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc0], 0
je 0x140078775
mov eax, dword [rsp + 0xc0]
jmp 0x140078c70
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 8]
mov rax, qword [rax + 0x88]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x130]
and eax, 0x80
test eax, eax
je 0x14007887d
mov dword [rsp + 0xc0], 0
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x90]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 4
jge 0x1400787cb
mov dword [rsp + 0x64], 4
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 8]
movzx eax, byte [rax + 0x21]
test eax, eax
je 0x14007887b
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0xe]
cmp dword [rsp + 0x64], eax
jle 0x14007887b
lea r8, [rsp + 0xe0]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + 0x80]
movzx eax, word [rsp + 0xf4]
cmp dword [rsp + 0xf0], eax
je 0x14007887b
mov eax, dword [rsp + 0x64]
sub eax, 4
cdqe
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14004e190
mov dword [rsp + 0x60], eax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x30]
mov r9d, dword [rax + 4]
mov r8b, 3
mov edx, dword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 8]
call fcn.140068d60
cmp dword [rsp + 0xc0], 0
je 0x14007887b
jmp 0x140078c69
jmp 0x1400788af
lea r9, [rsp + 0x64]
mov r8, qword [rsp + 0x128]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call fcn.140073330
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc0], 0
je 0x1400788af
jmp 0x140078c69
mov rax, qword [rsp + 0x120]
movzx eax, word [rax + 0x56]
mov dword [rsp + 0x3c], eax
xor eax, eax
mov rcx, qword [rsp + 0x120]
mov word [rcx + 0x46], ax
cmp dword [rsp + 0xc4], 0
jne 0x140078ace
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x18]
cmp dword [rsp + 0x3c], eax
jl 0x1400788f9
mov ecx, 0x1353c
call fcn.140128c30
jmp 0x140078c70
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x70]
call fcn.140060bb0
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc0], 0
je 0x14007891d
jmp 0x140078c69
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x1a]
mov ecx, dword [rsp + 0x3c]
shl ecx, 1
movsxd rcx, ecx
mov rdx, qword [rsp + 0x30]
mov rdx, qword [rdx + 0x60]
movzx ecx, word [rdx + rcx]
ror cx, 8
movzx ecx, cx
and eax, ecx
cdqe
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 0x50]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 8]
test eax, eax
jne 0x140078970
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx]
mov dword [rax], ecx
lea r8, [rsp + 0xc8]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + 0x80]
movzx eax, word [rsp + 0xdc]
cmp eax, dword [rsp + 0xd8]
je 0x1400789be
lea r8, [rsp + 0xc8]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
call fcn.140073140
mov dword [rsp + 0xc0], eax
jmp 0x1400789c9
mov dword [rsp + 0xc0], 0
mov rax, qword [rsp + 0x120]
movzx eax, byte [rax + 1]
and eax, 0xfffffffb
mov rcx, qword [rsp + 0x120]
mov byte [rcx + 1], al
movzx eax, word [rsp + 0xde]
cmp eax, dword [rsp + 0x64]
jne 0x140078a9c
movzx eax, word [rsp + 0xdc]
cmp eax, dword [rsp + 0xd8]
jne 0x140078a9c
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 8]
movzx eax, byte [rax + 0x21]
test eax, eax
je 0x140078a2a
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x10]
cmp dword [rsp + 0x64], eax
jge 0x140078a9c
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 9]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x50]
lea rax, [rcx + rax + 0xa]
cmp qword [rsp + 0x50], rax
jae 0x140078a57
mov ecx, 0x13557
call fcn.140128c30
jmp 0x140078c70
movsxd rax, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x30]
cmp rax, qword [rcx + 0x58]
jbe 0x140078a81
mov ecx, 0x1355a
call fcn.140128c30
jmp 0x140078c70
movsxd rax, dword [rsp + 0x64]
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
xor eax, eax
jmp 0x140078c70
movzx eax, word [rsp + 0xde]
lea r9, [rsp + 0xc0]
mov r8d, eax
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x30]
call fcn.140073910
cmp dword [rsp + 0xc0], 0
je 0x140078acc
jmp 0x140078c69
jmp 0x140078b2d
cmp dword [rsp + 0xc4], 0
jge 0x140078b2d
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x18]
test eax, eax
jle 0x140078b2d
mov rax, qword [rsp + 0x120]
movzx eax, word [rax + 0x56]
inc ax
mov word [rsp + 0x38], ax
mov rax, qword [rsp + 0x120]
movzx ecx, word [rsp + 0x38]
mov word [rax + 0x56], cx
movzx eax, word [rsp + 0x38]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x120]
movzx eax, byte [rax + 1]
and eax, 0xfffffffd
mov rcx, qword [rsp + 0x120]
mov byte [rcx + 1], al
mov r9d, dword [rsp + 0x64]
mov r8, qword [rsp + 0x48]
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x30]
call fcn.140073e90
mov dword [rsp + 0xc0], eax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0xc]
test eax, eax
je 0x140078c69
mov rax, qword [rsp + 0x120]
movzx eax, byte [rax + 1]
and eax, 0xfffffffd
mov rcx, qword [rsp + 0x120]
mov byte [rcx + 1], al
mov rcx, qword [rsp + 0x120]
call fcn.140077b20
mov dword [rsp + 0xc0], eax
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x88]
mov byte [rax + 0xc], 0
mov rax, qword [rsp + 0x120]
mov byte [rax], 1
mov eax, dword [rsp + 0x130]
and eax, 2
test eax, eax
je 0x140078c69
cmp dword [rsp + 0xc0], 0
jne 0x140078c69
mov rcx, qword [rsp + 0x120]
call fcn.140068680
mov rax, qword [rsp + 0x120]
cmp qword [rax + 0x80], 0
je 0x140078c46
mov rax, qword [rsp + 0x128]
mov rcx, qword [rax + 8]
call fcn.140043d50
mov rcx, qword [rsp + 0x120]
mov qword [rcx + 0x18], rax
mov rax, qword [rsp + 0x120]
cmp qword [rax + 0x18], 0
jne 0x140078c21
mov dword [rsp + 0xc0], 7
jmp 0x140078c46
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x128]
mov rdx, qword [rsp + 0x128]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rcx]
mov rcx, qword [rdx + 8]
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x120]
mov byte [rax], 3
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x128]
mov rcx, qword [rcx + 8]
mov qword [rax + 0x48], rcx
mov eax, dword [rsp + 0xc0]
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.14014fcd0
add rsp, 0x108
pop rdi
pop rsi
ret