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

Disassembly:
movsd qword [rsp + 0x20], xmm3
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x128
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x110], rax
movsd xmm0, qword [rsp + 0x148]
call fcn.14000beb0
mov qword [rsp + 0xf0], rax
cmp qword [rsp + 0xf0], 0
jne 0x14004a6bd
cmp dword [rsp + 0x150], 0
je 0x14004a588
mov dword [rsp + 0x8c], 1
jmp 0x14004a593
mov dword [rsp + 0x8c], 0
mov eax, dword [rsp + 0x8c]
mov ecx, dword [rsp + 0x150]
lea eax, [rax + rcx + 1]
mov dword [rsp + 0xcc], eax
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x140]
sub rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0xcc]
cmp rax, rcx
jge 0x14004a605
mov dword [rsp + 0xa0], 0x84
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x140]
mov rcx, qword [rsp + 0x130]
call fcn.140052cc0
nop
mov rax, qword [rsp + 0x130]
jmp 0x14004b1f6
mov rax, qword [rsp + 0x138]
mov byte [rax], 0x30
mov rax, qword [rsp + 0x138]
inc rax
mov qword [rsp + 0x138], rax
cmp dword [rsp + 0x150], 0
jbe 0x14004a687
mov rax, qword [rsp + 0x138]
mov byte [rax], 0x2e
mov rax, qword [rsp + 0x138]
inc rax
mov qword [rsp + 0x138], rax
mov byte [rsp + 0x30], 0x30
lea r8, [rsp + 0x30]
mov edx, dword [rsp + 0x150]
mov rcx, qword [rsp + 0x138]
call fcn.1400539d0
nop
mov eax, dword [rsp + 0x150]
mov rcx, qword [rsp + 0x138]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x138], rax
mov dword [rsp + 0xa4], 0
lea r8, [rsp + 0xa4]
lea rdx, [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.140052cc0
nop
mov rax, qword [rsp + 0x130]
jmp 0x14004b1f6
movabs rax, 0xfffffffffffff
mov rcx, qword [rsp + 0xf0]
and rcx, rax
mov rax, rcx
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf0]
shr rax, 0x34
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
jne 0x14004a70e
mov dword [rsp + 0x2c], 0xfffffbce
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x90], rax
jmp 0x14004a73b
mov eax, dword [rsp + 0x78]
sub eax, 0x433
mov dword [rsp + 0x2c], eax
movabs rax, 0x10000000000000
mov rcx, qword [rsp + 0xf8]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov byte [rsp + 0x21], 0
cmp dword [rsp + 0x2c], 0xffffffcc
jl 0x14004a955
cmp dword [rsp + 0x2c], 0
jge 0x14004a75c
mov dword [rsp + 0x7c], 0
jmp 0x14004a769
mov ecx, dword [rsp + 0x2c]
call fcn.14000c680
mov dword [rsp + 0x7c], eax
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x60], eax
mov ecx, dword [rsp + 0x60]
call fcn.14000c6a0
mov dword [rsp + 0xac], eax
mov ecx, dword [rsp + 0x60]
call fcn.14000c6b0
mov dword [rsp + 0xa8], eax
mov eax, dword [rsp + 0xa8]
dec eax
mov dword [rsp + 0x48], eax
jmp 0x14004a7aa
mov eax, dword [rsp + 0x48]
dec eax
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jl 0x14004a955
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0xac]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0xb0], eax
mov eax, dword [rsp + 0xb0]
add eax, 8
mov ecx, dword [rsp + 0x60]
lea rdx, [0x1402f0cd0]
movzx ecx, word [rdx + rcx*2]
add ecx, dword [rsp + 0x48]
movsxd rcx, ecx
imul rcx, rcx, 0x18
lea rdx, [0x140173090]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x90]
shl rdx, 8
mov qword [rsp + 0x100], rdx
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x100]
mov rcx, rax
call fcn.14000c2f0
mov dword [rsp + 0x4c], eax
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x14004a8af
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x140]
sub rcx, rax
mov rax, rcx
cmp rax, 9
jge 0x14004a885
mov dword [rsp + 0xb4], 0x84
lea r8, [rsp + 0xb4]
lea rdx, [rsp + 0x140]
mov rcx, qword [rsp + 0x130]
call fcn.140052cc0
nop
mov rax, qword [rsp + 0x130]
jmp 0x14004b1f6
mov rdx, qword [rsp + 0x138]
mov ecx, dword [rsp + 0x4c]
call fcn.1400328a0
mov rax, qword [rsp + 0x138]
add rax, 9
mov qword [rsp + 0x138], rax
jmp 0x14004a950
cmp dword [rsp + 0x4c], 0
je 0x14004a950
mov ecx, dword [rsp + 0x4c]
call fcn.14000bda0
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x140]
sub rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x64]
cmp rax, rcx
jge 0x14004a91c
mov dword [rsp + 0xb8], 0x84
lea r8, [rsp + 0xb8]
lea rdx, [rsp + 0x140]
mov rcx, qword [rsp + 0x130]
call fcn.140052cc0
nop
mov rax, qword [rsp + 0x130]
jmp 0x14004b1f6
mov r8, qword [rsp + 0x138]
mov edx, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x64]
call fcn.140053ac0
mov eax, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x138]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x138], rax
mov byte [rsp + 0x21], 1
jmp 0x14004a7a0
movzx eax, byte [rsp + 0x21]
test eax, eax
jne 0x14004a9c4
mov rax, qword [rsp + 0x140]
cmp qword [rsp + 0x138], rax
jne 0x14004a9a6
mov dword [rsp + 0xbc], 0x84
lea r8, [rsp + 0xbc]
lea rdx, [rsp + 0x140]
mov rcx, qword [rsp + 0x130]
call fcn.140052cc0
nop
mov rax, qword [rsp + 0x130]
jmp 0x14004b1f6
mov rax, qword [rsp + 0x138]
mov byte [rax], 0x30
mov rax, qword [rsp + 0x138]
inc rax
mov qword [rsp + 0x138], rax
cmp dword [rsp + 0x150], 0
jbe 0x14004aa34
mov rax, qword [rsp + 0x140]
cmp qword [rsp + 0x138], rax
jne 0x14004aa16
mov dword [rsp + 0xc0], 0x84
lea r8, [rsp + 0xc0]
lea rdx, [rsp + 0x140]
mov rcx, qword [rsp + 0x130]
call fcn.140052cc0
nop
mov rax, qword [rsp + 0x130]
jmp 0x14004b1f6
mov rax, qword [rsp + 0x138]
mov byte [rax], 0x2e
mov rax, qword [rsp + 0x138]
inc rax
mov qword [rsp + 0x138], rax
cmp dword [rsp + 0x2c], 0
jge 0x14004b134
mov eax, dword [rsp + 0x2c]
neg eax
cdq
and edx, 0xf
add eax, edx
sar eax, 4
mov dword [rsp + 0x38], eax
xor edx, edx
mov eax, dword [rsp + 0x150]
mov ecx, 9
div ecx
inc eax
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x24], 0
movsxd rax, dword [rsp + 0x38]
lea rcx, [0x1402f2ff0]
movzx eax, byte [rcx + rax]
cmp dword [rsp + 0x50], eax
ja 0x14004ab33
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x140]
sub rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x150]
cmp rax, rcx
jge 0x14004aaf2
mov dword [rsp + 0xc4], 0x84
lea r8, [rsp + 0xc4]
lea rdx, [rsp + 0x140]
mov rcx, qword [rsp + 0x130]
call fcn.140052cc0
nop
mov rax, qword [rsp + 0x130]
jmp 0x14004b1f6
mov byte [rsp + 0x31], 0x30
lea r8, [rsp + 0x31]
mov edx, dword [rsp + 0x150]
mov rcx, qword [rsp + 0x138]
call fcn.1400539d0
nop
mov eax, dword [rsp + 0x150]
mov rcx, qword [rsp + 0x138]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x138], rax
jmp 0x14004abf5
movsxd rax, dword [rsp + 0x38]
lea rcx, [0x1402f2ff0]
movzx eax, byte [rcx + rax]
cmp dword [rsp + 0x24], eax
jae 0x14004abf5
movsxd rax, dword [rsp + 0x38]
lea rcx, [0x1402f2ff0]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x140]
sub rcx, rax
mov rax, rcx
imul ecx, dword [rsp + 0x24], 9
mov ecx, ecx
cmp rax, rcx
jge 0x14004abb9
mov dword [rsp + 0xc8], 0x84
lea r8, [rsp + 0xc8]
lea rdx, [rsp + 0x140]
mov rcx, qword [rsp + 0x130]
call fcn.140052cc0
nop
mov rax, qword [rsp + 0x130]
jmp 0x14004b1f6
mov byte [rsp + 0x32], 0x30
imul eax, dword [rsp + 0x24], 9
lea r8, [rsp + 0x32]
mov edx, eax
mov rcx, qword [rsp + 0x138]
call fcn.1400539d0
nop
imul eax, dword [rsp + 0x24], 9
mov eax, eax
mov rcx, qword [rsp + 0x138]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x138], rax
jmp 0x14004ac01
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x24], eax
jae 0x14004af97
mov eax, dword [rsp + 0x2c]
neg eax
imul ecx, dword [rsp + 0x38], 0x10
sub eax, ecx
add eax, 0x78
mov dword [rsp + 0xd0], eax
movsxd rax, dword [rsp + 0x38]
lea rcx, [0x1402f0d60]
movzx eax, word [rcx + rax*2]
add eax, dword [rsp + 0x24]
movsxd rcx, dword [rsp + 0x38]
lea rdx, [0x1402f2ff0]
movzx ecx, byte [rdx + rcx]
sub eax, ecx
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x38]
inc eax
cdqe
lea rcx, [0x1402f0d60]
movzx eax, word [rcx + rax*2]
cmp dword [rsp + 0x80], eax
jb 0x14004ad17
imul eax, dword [rsp + 0x24], 9
mov ecx, dword [rsp + 0x150]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x140]
sub rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x68]
cmp rax, rcx
jge 0x14004acdc
mov dword [rsp + 0xe8], 0x84
lea r8, [rsp + 0xe8]
lea rdx, [rsp + 0x140]
mov rcx, qword [rsp + 0x130]
call fcn.140052cc0
nop
mov rax, qword [rsp + 0x130]
jmp 0x14004b1f6
mov byte [rsp + 0x33], 0x30
lea r8, [rsp + 0x33]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x138]
call fcn.1400539d0
nop
mov eax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x138]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x138], rax
jmp 0x14004af97
mov eax, dword [rsp + 0xd0]
add eax, 8
mov ecx, dword [rsp + 0x80]
imul rcx, rcx, 0x18
lea rdx, [0x14017a350]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x90]
shl rdx, 8
mov qword [rsp + 0x108], rdx
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x108]
mov rcx, rax
call fcn.14000c2f0
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x50]
dec eax
cmp dword [rsp + 0x24], eax
jae 0x14004adef
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x140]
sub rcx, rax
mov rax, rcx
cmp rax, 9
jge 0x14004adc5
mov dword [rsp + 0xd4], 0x84
lea r8, [rsp + 0xd4]
lea rdx, [rsp + 0x140]
mov rcx, qword [rsp + 0x130]
call fcn.140052cc0
nop
mov rax, qword [rsp + 0x130]
jmp 0x14004b1f6
mov rdx, qword [rsp + 0x138]
mov ecx, dword [rsp + 0x3c]
call fcn.1400328a0
mov rax, qword [rsp + 0x138]
add rax, 9
mov qword [rsp + 0x138], rax
jmp 0x14004af92
imul eax, dword [rsp + 0x24], 9
mov ecx, dword [rsp + 0x150]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x6c], 0
jmp 0x14004ae1f
mov eax, dword [rsp + 0x6c]
inc eax
mov dword [rsp + 0x6c], eax
mov eax, 9
sub eax, dword [rsp + 0x40]
cmp dword [rsp + 0x6c], eax
jae 0x14004ae54
xor edx, edx
mov eax, dword [rsp + 0x3c]
mov ecx, 0xa
div ecx
mov eax, edx
mov dword [rsp + 0x70], eax
xor edx, edx
mov eax, dword [rsp + 0x3c]
mov ecx, 0xa
div ecx
mov dword [rsp + 0x3c], eax
jmp 0x14004ae15
cmp dword [rsp + 0x70], 5
je 0x14004ae87
cmp dword [rsp + 0x70], 5
jbe 0x14004ae6f
mov dword [rsp + 0x84], 1
jmp 0x14004ae7a
mov dword [rsp + 0x84], 0
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x44], eax
jmp 0x14004af01
mov eax, dword [rsp + 0x2c]
neg eax
sub eax, dword [rsp + 0x150]
dec eax
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jle 0x14004aec7
cmp dword [rsp + 0x74], 0x3c
jge 0x14004aec0
mov edx, dword [rsp + 0x74]
mov rcx, qword [rsp + 0x90]
call fcn.14000c0b0
movzx eax, al
test eax, eax
jne 0x14004aec7
mov byte [rsp + 0x28], 0
jmp 0x14004aecc
mov byte [rsp + 0x28], 1
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x34], al
movzx eax, byte [rsp + 0x34]
test eax, eax
je 0x14004aeeb
mov dword [rsp + 0x88], 2
jmp 0x14004aef6
mov dword [rsp + 0x88], 1
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x40], 0
jbe 0x14004af90
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x140]
sub rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x40]
cmp rax, rcx
jge 0x14004af61
mov dword [rsp + 0xd8], 0x84
lea r8, [rsp + 0xd8]
lea rdx, [rsp + 0x140]
mov rcx, qword [rsp + 0x130]
call fcn.140052cc0
nop
mov rax, qword [rsp + 0x130]
jmp 0x14004b1f6
mov r8, qword [rsp + 0x138]
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x40]
call fcn.1400329b0
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x138]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x138], rax
jmp 0x14004af97
jmp 0x14004abf7
cmp dword [rsp + 0x44], 0
je 0x14004b12f
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x98], rax
xor eax, eax
cmp eax, 1
je 0x14004b12f
mov rax, qword [rsp + 0x110]
cmp qword [rsp + 0x58], rax
jne 0x14004b096
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x58]
mov byte [rcx + rax], 0x31
mov rax, qword [rsp + 0x140]
cmp qword [rsp + 0x98], rax
je 0x14004b02b
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x98]
mov byte [rcx + rax], 0x30
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x98]
mov byte [rcx + rax], 0x2e
mov rax, qword [rsp + 0x140]
cmp qword [rsp + 0x138], rax
jne 0x14004b073
mov dword [rsp + 0xdc], 0x84
lea r8, [rsp + 0xdc]
lea rdx, [rsp + 0x140]
mov rcx, qword [rsp + 0x130]
call fcn.140052cc0
nop
mov rax, qword [rsp + 0x130]
jmp 0x14004b1f6
mov rax, qword [rsp + 0x138]
mov byte [rax], 0x30
mov rax, qword [rsp + 0x138]
inc rax
mov qword [rsp + 0x138], rax
jmp 0x14004b12f
mov rax, qword [rsp + 0x58]
dec rax
mov qword [rsp + 0x58], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x58]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x20], al
movsx eax, byte [rsp + 0x20]
cmp eax, 0x2e
jne 0x14004b0d2
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x98], rax
jmp 0x14004b12a
movsx eax, byte [rsp + 0x20]
cmp eax, 0x39
jne 0x14004b0f8
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x58]
mov byte [rcx + rax], 0x30
mov dword [rsp + 0x44], 1
jmp 0x14004b12a
cmp dword [rsp + 0x44], 1
je 0x14004b110
movsx eax, byte [rsp + 0x20]
cdq
and eax, 1
xor eax, edx
sub eax, edx
test eax, eax
je 0x14004b128
movsx eax, byte [rsp + 0x20]
inc eax
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x58]
mov byte [rdx + rcx], al
jmp 0x14004b12f
jmp 0x14004afbf
jmp 0x14004b1c5
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x140]
sub rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x150]
cmp rax, rcx
jge 0x14004b189
mov dword [rsp + 0xe0], 0x84
lea r8, [rsp + 0xe0]
lea rdx, [rsp + 0x140]
mov rcx, qword [rsp + 0x130]
call fcn.140052cc0
nop
mov rax, qword [rsp + 0x130]
jmp 0x14004b1f6
mov byte [rsp + 0x35], 0x30
lea r8, [rsp + 0x35]
mov edx, dword [rsp + 0x150]
mov rcx, qword [rsp + 0x138]
call fcn.1400539d0
nop
mov eax, dword [rsp + 0x150]
mov rcx, qword [rsp + 0x138]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x138], rax
mov dword [rsp + 0xe4], 0
lea r8, [rsp + 0xe4]
lea rdx, [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.140052cc0
nop
mov rax, qword [rsp + 0x130]
add rsp, 0x128
ret