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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x3e8
mov dword [rsp + 0x5c], 0
cmp qword [rsp + 0x430], 0
jbe 0x14001109e
mov rax, qword [rsp + 0x428]
movsx eax, byte [rax]
cmp eax, 0x2b
je 0x140011090
mov rax, qword [rsp + 0x428]
movsx eax, byte [rax]
cmp eax, 0x2d
jne 0x14001109e
mov qword [rsp + 0x100], 1
jmp 0x1400110aa
mov qword [rsp + 0x100], 0
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x418]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x78]
and eax, 0xe00
cmp eax, 0x800
jne 0x14001114a
mov rax, qword [rsp + 0x28]
add rax, 2
cmp rax, qword [rsp + 0x430]
ja 0x14001114a
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x428]
add rcx, rax
mov rax, rcx
movsx eax, byte [rax]
cmp eax, 0x30
jne 0x14001114a
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x428]
add rcx, rax
mov rax, rcx
movsx eax, byte [rax + 1]
cmp eax, 0x78
je 0x14001113c
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x428]
add rcx, rax
mov rax, rcx
movsx eax, byte [rax + 1]
cmp eax, 0x58
jne 0x14001114a
mov rax, qword [rsp + 0x28]
add rax, 2
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x418]
mov rdx, qword [rax + 0x40]
lea rcx, [rsp + 0x258]
call fcn.1400089f0
lea rax, [rsp + 0x258]
mov qword [rsp + 0x250], rax
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0x178], rax
mov rcx, qword [rsp + 0x178]
call fcn.140005780
mov qword [rsp + 0x110], rax
lea rcx, [rsp + 0x258]
call fcn.140009540
lea rax, [rsp + 0x158]
mov qword [rsp + 0x180], rax
movzx edx, byte [rsp + 0x38]
mov rcx, qword [rsp + 0x180]
call fcn.140001190
nop
mov r8, qword [rsp + 0x430]
xor edx, edx
lea rcx, [rsp + 0x158]
call fcn.140002eb0
nop
lea rax, [rsp + 0x158]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x18], 7
jbe 0x140011219
mov dword [rsp + 0x58], 1
jmp 0x140011221
mov dword [rsp + 0x58], 0
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140011256
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x190], rax
xor eax, eax
imul rax, rax, 2
mov rcx, qword [rsp + 0x190]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x110]
mov rax, qword [rax]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x430]
mov rcx, qword [rsp + 0x428]
add rcx, rax
mov rax, rcx
mov r9, qword [rsp + 0x198]
mov r8, rax
mov rdx, qword [rsp + 0x428]
mov rcx, qword [rsp + 0x110]
call qword [rsp + 0x1a0]
mov rax, qword [rsp + 0x418]
mov rdx, qword [rax + 0x40]
lea rcx, [rsp + 0x268]
call fcn.1400089f0
lea rax, [rsp + 0x268]
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x1b0], rax
mov rcx, qword [rsp + 0x1b0]
call fcn.140005a60
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x268]
call fcn.140009540
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x1b8], rax
lea rdx, [rsp + 0x3b8]
mov rcx, qword [rsp + 0x70]
call qword [rsp + 0x1b8]
mov eax, dword [rsp + 0x5c]
or eax, 1
mov dword [rsp + 0x5c], eax
lea rax, [rsp + 0x3b8]
mov rcx, rax
call fcn.140011fc0
xor ecx, ecx
imul rcx, rcx, 1
add rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movsx eax, byte [rax]
cmp eax, 0x7f
je 0x14001145a
mov rax, qword [rsp + 0x30]
movsx eax, byte [rax]
test eax, eax
jle 0x14001145a
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x70]
call qword [rax + 0x20]
mov word [rsp + 0x3c], ax
mov rax, qword [rsp + 0x30]
movsx eax, byte [rax]
cmp eax, 0x7f
je 0x14001145a
mov rax, qword [rsp + 0x30]
movsx eax, byte [rax]
test eax, eax
jle 0x14001145a
mov rax, qword [rsp + 0x30]
movsx rax, byte [rax]
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x430]
sub rdx, rcx
mov rcx, rdx
cmp rax, rcx
jae 0x14001145a
mov rax, qword [rsp + 0x30]
movsx rax, byte [rax]
mov rcx, qword [rsp + 0x430]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x430], rax
movzx r9d, word [rsp + 0x3c]
mov r8d, 1
mov rdx, qword [rsp + 0x430]
lea rcx, [rsp + 0x158]
call fcn.1400190c0
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x30]
movsx eax, byte [rcx + rax]
test eax, eax
jle 0x140011455
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
jmp 0x1400113b0
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x430], rax
mov rax, qword [rsp + 0x418]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x1c0], rax
cmp qword [rsp + 0x1c0], 0
jle 0x1400114af
mov rax, qword [rsp + 0x418]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x430]
cmp qword [rsp + 0x1c8], rax
ja 0x1400114ba
mov qword [rsp + 0x50], 0
jmp 0x1400114e9
mov rax, qword [rsp + 0x418]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x430]
mov rcx, qword [rsp + 0x1d0]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x418]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x7c], eax
mov eax, dword [rsp + 0x7c]
and eax, 0x1c0
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0x40
je 0x140011776
cmp dword [rsp + 0x48], 0x100
je 0x140011776
lea rax, [rsp + 0x280]
mov rdi, rax
mov rsi, qword [rsp + 0x410]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x88], rax
jmp 0x14001155a
mov rax, qword [rsp + 0x88]
dec rax
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
jbe 0x14001158c
lea rax, [rsp + 0x280]
mov qword [rsp + 0x1d8], rax
movzx edx, word [rsp + 0x420]
mov rcx, qword [rsp + 0x1d8]
call fcn.140009680
jmp 0x140011547
lea rax, [rsp + 0x310]
lea rcx, [rsp + 0x280]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x310]
mov rdi, qword [rsp + 0x410]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x3b0]
mov qword [rsp + 0x120], rax
lea rax, [rsp + 0x158]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x90]
cmp qword [rax + 0x18], 7
jbe 0x140011615
mov dword [rsp + 0x60], 1
jmp 0x14001161d
mov dword [rsp + 0x60], 0
movzx eax, byte [rsp + 0x60]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x140011652
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x1e8], rax
xor eax, eax
imul rax, rax, 2
mov rcx, qword [rsp + 0x1e8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x120], rax
lea rax, [rsp + 0x320]
mov rdi, rax
mov rsi, qword [rsp + 0x410]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x290]
lea rcx, [rsp + 0x320]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0xa0], rax
jmp 0x1400116fb
mov rax, qword [rsp + 0x98]
dec rax
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xa0]
add rax, 2
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0x98], 0
jbe 0x14001173a
mov rax, qword [rsp + 0xa0]
movzx eax, word [rax]
mov word [rsp + 0x40], ax
lea rax, [rsp + 0x290]
mov qword [rsp + 0x1f0], rax
movzx edx, word [rsp + 0x40]
mov rcx, qword [rsp + 0x1f0]
call fcn.140009680
jmp 0x1400116d4
lea rax, [rsp + 0x330]
lea rcx, [rsp + 0x290]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x330]
mov rdi, qword [rsp + 0x410]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
jmp 0x140011b81
cmp dword [rsp + 0x48], 0x100
jne 0x1400119dc
mov rax, qword [rsp + 0x2f0]
mov qword [rsp + 0x130], rax
lea rax, [rsp + 0x158]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0xa8]
cmp qword [rax + 0x18], 7
jbe 0x1400117cd
mov dword [rsp + 0x64], 1
jmp 0x1400117d5
mov dword [rsp + 0x64], 0
movzx eax, byte [rsp + 0x64]
mov byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x14001180a
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax]
mov qword [rsp + 0x1f8], rax
mov rax, qword [rsp + 0x1f8]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x200], rax
xor eax, eax
imul rax, rax, 2
mov rcx, qword [rsp + 0x200]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x130], rax
lea rax, [rsp + 0x340]
mov rdi, rax
mov rsi, qword [rsp + 0x410]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x2a0]
lea rcx, [rsp + 0x340]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0xb8], rax
jmp 0x1400118b3
mov rax, qword [rsp + 0xb0]
dec rax
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb8]
add rax, 2
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb0], 0
jbe 0x1400118f2
mov rax, qword [rsp + 0xb8]
movzx eax, word [rax]
mov word [rsp + 0x42], ax
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0x208], rax
movzx edx, word [rsp + 0x42]
mov rcx, qword [rsp + 0x208]
call fcn.140009680
jmp 0x14001188c
lea rax, [rsp + 0x350]
lea rcx, [rsp + 0x2a0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x350]
mov rdi, qword [rsp + 0x410]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x2b0]
mov rdi, rax
mov rsi, qword [rsp + 0x410]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xc0], rax
jmp 0x140011965
mov rax, qword [rsp + 0xc0]
dec rax
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0
jbe 0x140011997
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0x210], rax
movzx edx, word [rsp + 0x420]
mov rcx, qword [rsp + 0x210]
call fcn.140009680
jmp 0x140011952
lea rax, [rsp + 0x360]
lea rcx, [rsp + 0x2b0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x360]
mov rdi, qword [rsp + 0x410]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x50], 0
jmp 0x140011b81
mov rax, qword [rsp + 0x2f8]
mov qword [rsp + 0x140], rax
lea rax, [rsp + 0x158]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0xc8]
cmp qword [rax + 0x18], 7
jbe 0x140011a25
mov dword [rsp + 0x68], 1
jmp 0x140011a2d
mov dword [rsp + 0x68], 0
movzx eax, byte [rsp + 0x68]
mov byte [rsp + 0x23], al
movzx eax, byte [rsp + 0x23]
test eax, eax
je 0x140011a62
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax]
mov qword [rsp + 0x218], rax
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x220], rax
xor eax, eax
imul rax, rax, 2
mov rcx, qword [rsp + 0x220]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x140], rax
lea rax, [rsp + 0x370]
mov rdi, rax
mov rsi, qword [rsp + 0x410]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x2c0]
lea rcx, [rsp + 0x370]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0xd8], rax
jmp 0x140011b0b
mov rax, qword [rsp + 0xd0]
dec rax
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd8]
add rax, 2
mov qword [rsp + 0xd8], rax
cmp qword [rsp + 0xd0], 0
jbe 0x140011b4a
mov rax, qword [rsp + 0xd8]
movzx eax, word [rax]
mov word [rsp + 0x44], ax
lea rax, [rsp + 0x2c0]
mov qword [rsp + 0x228], rax
movzx edx, word [rsp + 0x44]
mov rcx, qword [rsp + 0x228]
call fcn.140009680
jmp 0x140011ae4
lea rax, [rsp + 0x380]
lea rcx, [rsp + 0x2c0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x380]
mov rdi, qword [rsp + 0x410]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x300]
mov qword [rsp + 0x150], rax
lea rax, [rsp + 0x158]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0xe0]
cmp qword [rax + 0x18], 7
jbe 0x140011bca
mov dword [rsp + 0x6c], 1
jmp 0x140011bd2
mov dword [rsp + 0x6c], 0
movzx eax, byte [rsp + 0x6c]
mov byte [rsp + 0x24], al
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x140011c07
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax]
mov qword [rsp + 0x230], rax
mov rax, qword [rsp + 0x230]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x238], rax
mov rax, qword [rsp + 0x238]
mov rcx, qword [rsp + 0x28]
lea rax, [rax + rcx*2]
mov qword [rsp + 0x150], rax
lea rax, [rsp + 0x390]
mov rdi, rax
mov rsi, qword [rsp + 0x410]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x2d0]
lea rcx, [rsp + 0x390]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x430]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0xf0], rax
jmp 0x140011cbb
mov rax, qword [rsp + 0xe8]
dec rax
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xf0]
add rax, 2
mov qword [rsp + 0xf0], rax
cmp qword [rsp + 0xe8], 0
jbe 0x140011cfa
mov rax, qword [rsp + 0xf0]
movzx eax, word [rax]
mov word [rsp + 0x46], ax
lea rax, [rsp + 0x2d0]
mov qword [rsp + 0x240], rax
movzx edx, word [rsp + 0x46]
mov rcx, qword [rsp + 0x240]
call fcn.140009680
jmp 0x140011c94
lea rax, [rsp + 0x3a0]
lea rcx, [rsp + 0x2d0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x3a0]
mov rdi, qword [rsp + 0x410]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x418]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x308], rax
mov rax, qword [rsp + 0x418]
mov qword [rax + 0x28], 0
lea rax, [rsp + 0x2e0]
mov rdi, rax
mov rsi, qword [rsp + 0x410]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xf8], rax
jmp 0x140011d91
mov rax, qword [rsp + 0xf8]
dec rax
mov qword [rsp + 0xf8], rax
cmp qword [rsp + 0xf8], 0
jbe 0x140011dc3
lea rax, [rsp + 0x2e0]
mov qword [rsp + 0x248], rax
movzx edx, word [rsp + 0x420]
mov rcx, qword [rsp + 0x248]
call fcn.140009680
jmp 0x140011d7e
lea rax, [rsp + 0x2e0]
mov rdi, qword [rsp + 0x408]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x3b8]
call fcn.140012c60
nop
lea rcx, [rsp + 0x158]
call fcn.140012e20
mov rax, qword [rsp + 0x408]
add rsp, 0x3e8
pop rdi
pop rsi
ret