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

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x108
mov rax, qword [0x14014d470]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov dword [rsp + 0x20], 0
jmp 0x1401154b0
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xf
ja 0x1401154ec
mov eax, dword [rsp + 0x20]
shl rax, 1
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0x20
jae 0x1401154d3
jmp 0x1401154d8
call fcn.140101aa8
xor eax, eax
mov rcx, qword [rsp + 0xa0]
mov word [rsp + rcx + 0xb0], ax
jmp 0x1401154a6
mov dword [rsp + 0x24], 0
jmp 0x140115500
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x120]
cmp dword [rsp + 0x24], eax
jae 0x140115542
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x118]
movzx eax, word [rcx + rax*2]
movzx eax, word [rsp + rax*2 + 0xb0]
inc ax
mov ecx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x118]
movzx ecx, word [rdx + rcx*2]
mov word [rsp + rcx*2 + 0xb0], ax
jmp 0x1401154f6
mov rax, qword [rsp + 0x130]
mov eax, dword [rax]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x34], 0xf
jmp 0x140115564
mov eax, dword [rsp + 0x34]
dec eax
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 1
jb 0x14011557f
mov eax, dword [rsp + 0x34]
movzx eax, word [rsp + rax*2 + 0xb0]
test eax, eax
je 0x14011557d
jmp 0x14011557f
jmp 0x14011555a
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x38], eax
jbe 0x140115591
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x34], 0
jne 0x140115614
mov byte [rsp + 0x28], 0x40
mov byte [rsp + 0x29], 1
xor eax, eax
mov word [rsp + 0x2a], ax
mov rax, qword [rsp + 0x128]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x28]
mov dword [rax], ecx
mov rax, qword [rsp + 0x128]
mov rax, qword [rax]
add rax, 4
mov rcx, qword [rsp + 0x128]
mov qword [rcx], rax
mov rax, qword [rsp + 0x128]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x28]
mov dword [rax], ecx
mov rax, qword [rsp + 0x128]
mov rax, qword [rax]
add rax, 4
mov rcx, qword [rsp + 0x128]
mov qword [rcx], rax
mov rax, qword [rsp + 0x130]
mov dword [rax], 1
xor eax, eax
jmp 0x140115d07
mov dword [rsp + 0x3c], 1
jmp 0x140115628
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x3c], eax
jae 0x140115646
mov eax, dword [rsp + 0x3c]
movzx eax, word [rsp + rax*2 + 0xb0]
test eax, eax
je 0x140115644
jmp 0x140115646
jmp 0x14011561e
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x38], eax
jae 0x140115658
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x2c], 1
mov dword [rsp + 0x20], 1
jmp 0x140115674
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xf
ja 0x1401156b0
mov eax, dword [rsp + 0x2c]
shl eax, 1
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x20]
movzx eax, word [rsp + rax*2 + 0xb0]
mov ecx, dword [rsp + 0x2c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0
jge 0x1401156ae
mov eax, 0xffffffff
jmp 0x140115d07
jmp 0x14011566a
cmp dword [rsp + 0x2c], 0
jle 0x1401156d2
cmp dword [rsp + 0x110], 0
je 0x1401156c8
cmp dword [rsp + 0x34], 1
je 0x1401156d2
mov eax, 0xffffffff
jmp 0x140115d07
mov qword [rsp + 0xa8], 2
cmp qword [rsp + 0xa8], 0x20
jae 0x1401156eb
jmp 0x1401156f0
call fcn.140101aa8
xor eax, eax
mov rcx, qword [rsp + 0xa8]
mov word [rsp + rcx + 0xd0], ax
mov dword [rsp + 0x20], 1
jmp 0x140115716
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xf
jae 0x140115749
mov eax, dword [rsp + 0x20]
movzx eax, word [rsp + rax*2 + 0xd0]
mov ecx, dword [rsp + 0x20]
movzx ecx, word [rsp + rcx*2 + 0xb0]
add eax, ecx
mov ecx, dword [rsp + 0x20]
inc ecx
mov ecx, ecx
mov word [rsp + rcx*2 + 0xd0], ax
jmp 0x14011570c
mov dword [rsp + 0x24], 0
jmp 0x14011575d
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x120]
cmp dword [rsp + 0x24], eax
jae 0x1401157df
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x118]
movzx eax, word [rcx + rax*2]
test eax, eax
je 0x1401157da
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x118]
movzx eax, word [rcx + rax*2]
movzx eax, word [rsp + rax*2 + 0xd0]
mov rcx, qword [rsp + 0x138]
movzx edx, word [rsp + 0x24]
mov word [rcx + rax*2], dx
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x118]
movzx eax, word [rcx + rax*2]
movzx eax, word [rsp + rax*2 + 0xd0]
inc ax
mov ecx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x118]
movzx ecx, word [rdx + rcx*2]
mov word [rsp + rcx*2 + 0xd0], ax
jmp 0x140115753
mov eax, dword [rsp + 0x110]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x1401157fa
cmp dword [rsp + 0x60], 1
je 0x14011581e
jmp 0x140115843
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x50], 0x14
jmp 0x140115866
lea rax, [0x140135130]
mov qword [rsp + 0x88], rax
lea rax, [0x140135170]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x50], 0x101
jmp 0x140115866
lea rax, [0x1401351b0]
mov qword [rsp + 0x88], rax
lea rax, [0x1401351f0]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x128]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x54], 0xffffffff
mov eax, dword [rsp + 0x38]
mov ecx, 1
mov dword [rsp + 0x90], ecx
movzx ecx, al
mov eax, dword [rsp + 0x90]
shl eax, cl
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
dec eax
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x110], 1
jne 0x1401158e4
cmp dword [rsp + 0x48], 0x354
ja 0x1401158f8
cmp dword [rsp + 0x110], 2
jne 0x140115902
cmp dword [rsp + 0x48], 0x250
jbe 0x140115902
mov eax, 1
jmp 0x140115d07
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov byte [rsp + 0x29], al
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x138]
movzx eax, word [rcx + rax*2]
inc eax
cmp eax, dword [rsp + 0x50]
jae 0x140115946
mov byte [rsp + 0x28], 0
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x138]
movzx eax, word [rcx + rax*2]
mov word [rsp + 0x2a], ax
jmp 0x1401159b4
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x138]
movzx eax, word [rcx + rax*2]
cmp eax, dword [rsp + 0x50]
jb 0x1401159a8
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x138]
movzx eax, word [rcx + rax*2]
sub eax, dword [rsp + 0x50]
mov eax, eax
mov rcx, qword [rsp + 0x78]
movzx eax, byte [rcx + rax*2]
mov byte [rsp + 0x28], al
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x138]
movzx eax, word [rcx + rax*2]
sub eax, dword [rsp + 0x50]
mov eax, eax
mov rcx, qword [rsp + 0x88]
movzx eax, word [rcx + rax*2]
mov word [rsp + 0x2a], ax
jmp 0x1401159b4
mov byte [rsp + 0x28], 0x60
xor eax, eax
mov word [rsp + 0x2a], ax
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov ecx, 1
mov dword [rsp + 0x98], ecx
movzx ecx, al
mov eax, dword [rsp + 0x98]
shl eax, cl
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x44]
mov ecx, 1
mov dword [rsp + 0x84], ecx
movzx ecx, al
mov eax, dword [rsp + 0x84]
shl eax, cl
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x58]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x40]
movzx ecx, al
mov eax, dword [rsp + 0x30]
shr eax, cl
add eax, dword [rsp + 0x58]
mov eax, eax
mov rcx, qword [rsp + 0x68]
mov edx, dword [rsp + 0x28]
mov dword [rcx + rax*4], edx
cmp dword [rsp + 0x58], 0
jne 0x140115a04
mov eax, dword [rsp + 0x20]
dec eax
mov ecx, 1
mov dword [rsp + 0x94], ecx
movzx ecx, al
mov eax, dword [rsp + 0x94]
shl eax, cl
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x30]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x140115a78
mov eax, dword [rsp + 0x4c]
shr eax, 1
mov dword [rsp + 0x4c], eax
jmp 0x140115a5c
cmp dword [rsp + 0x4c], 0
je 0x140115aa3
mov eax, dword [rsp + 0x4c]
dec eax
mov ecx, dword [rsp + 0x30]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
jmp 0x140115aab
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
movzx eax, word [rsp + rax*2 + 0xb0]
dec ax
mov word [rsp + 0x5c], ax
mov eax, dword [rsp + 0x20]
movzx ecx, word [rsp + 0x5c]
mov word [rsp + rax*2 + 0xb0], cx
movzx eax, word [rsp + 0x5c]
test eax, eax
jne 0x140115b12
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x20], eax
jne 0x140115af2
jmp 0x140115ca6
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x138]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x118]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x20], eax
jbe 0x140115ca1
mov eax, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x30]
and ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x54]
je 0x140115ca1
cmp dword [rsp + 0x40], 0
jne 0x140115b45
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x68]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
mov ecx, 1
mov dword [rsp + 0x80], ecx
movzx ecx, al
mov eax, dword [rsp + 0x80]
shl eax, cl
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x44]
add ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x34]
jae 0x140115bda
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x44]
add ecx, eax
mov eax, ecx
mov eax, eax
movzx eax, word [rsp + rax*2 + 0xb0]
mov ecx, dword [rsp + 0x2c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0
jg 0x140115bc4
jmp 0x140115bda
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x2c]
shl eax, 1
mov dword [rsp + 0x2c], eax
jmp 0x140115b87
mov eax, dword [rsp + 0x44]
mov ecx, 1
mov dword [rsp + 0x9c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x9c]
shl eax, cl
mov ecx, dword [rsp + 0x48]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x110], 1
jne 0x140115c16
cmp dword [rsp + 0x48], 0x354
ja 0x140115c2a
cmp dword [rsp + 0x110], 2
jne 0x140115c34
cmp dword [rsp + 0x48], 0x250
jbe 0x140115c34
mov eax, 1
jmp 0x140115d07
mov eax, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x30]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x128]
mov rcx, qword [rcx]
movzx edx, byte [rsp + 0x44]
mov byte [rcx + rax*4], dl
mov eax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x128]
mov rcx, qword [rcx]
movzx edx, byte [rsp + 0x38]
mov byte [rcx + rax*4 + 1], dl
mov rax, qword [rsp + 0x128]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
sar rax, 2
mov ecx, dword [rsp + 0x54]
mov rdx, qword [rsp + 0x128]
mov rdx, qword [rdx]
mov word [rdx + rcx*4 + 2], ax
jmp 0x140115902
cmp dword [rsp + 0x30], 0
je 0x140115cd9
mov byte [rsp + 0x28], 0x40
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov byte [rsp + 0x29], al
xor eax, eax
mov word [rsp + 0x2a], ax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
mov edx, dword [rsp + 0x28]
mov dword [rcx + rax*4], edx
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x128]
mov rcx, qword [rcx]
lea rax, [rcx + rax*4]
mov rcx, qword [rsp + 0x128]
mov qword [rcx], rax
mov rax, qword [rsp + 0x130]
mov ecx, dword [rsp + 0x38]
mov dword [rax], ecx
xor eax, eax
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.140101630
add rsp, 0x108
ret