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

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 8]
sub rsp, 0x108
mov r13, rcx
xor eax, eax
lea rcx, [rbp + 0x58]
mov dword [rbp + 0x58], eax
call fcn.140128250
mov ebx, dword [rbp + 0x58]
lea r12, [r13 + 0x28]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x80], r12
cmp ebx, dword [r12 + 0xc]
jle 0x140054f51
mov edx, ebx
mov rcx, r12
call fcn.14005b300
mov ebx, dword [rbp + 0x58]
mov eax, dword [r13 + 0x40]
lea rsi, [r13 + 0x38]
sub eax, dword [rsi + 0x34]
mov edi, 1
mov qword [rsp + 0x70], rsi
mov r14d, 0xffffffe0
cmp ebx, eax
jle 0x140054fcd
mov edx, ebx
mov rcx, rsi
call fcn.1400596a0
cmp ebx, 4
jb 0x140054fb2
shr ebx, 1
add ebx, 8
mov eax, ebx
add rax, rax
or rax, rdi
bsr rdx, rax
lea ecx, [rbx - 1]
add rcx, rcx
or rcx, rdi
bsr rax, rcx
mov ecx, r14d
sub ecx, edx
shl ecx, 0x1a
sar ecx, 0x1f
not ecx
and ecx, eax
mov eax, edi
shl eax, cl
jmp 0x140054fb4
mov eax, edi
mov ecx, dword [rsi + 0x48]
test ecx, ecx
je 0x140054fbf
cmp ecx, eax
jge 0x140054fca
mov rcx, rsi
mov dword [rsi + 0x48], eax
call fcn.140058b70
mov ebx, dword [rbp + 0x58]
lea r15, [r13 + 0x88]
mov eax, ebx
mov ecx, dword [r15 + 8]
cdq
sub ecx, dword [r15 + 0x34]
sub eax, edx
sar eax, 1
mov qword [rsp + 0x78], r15
mov esi, eax
cmp eax, ecx
jle 0x140055049
mov edx, eax
mov rcx, r15
call fcn.140059820
cmp esi, 4
jb 0x14005502e
shr esi, 1
add esi, 8
mov eax, esi
add rax, rax
or rax, rdi
bsr r8, rax
lea edx, [rsi - 1]
sub r14d, r8d
add rdx, rdx
shl r14d, 0x1a
or rdx, rdi
bsr rcx, rdx
sar r14d, 0x1f
not r14d
and ecx, r14d
shl edi, cl
mov eax, dword [r15 + 0x48]
test eax, eax
je 0x14005503a
cmp eax, edi
jge 0x140055046
mov rcx, r15
mov dword [r15 + 0x48], edi
call fcn.140058dc0
mov ebx, dword [rbp + 0x58]
xor esi, esi
mov qword [rbp - 0x38], r13
mov dword [rbp + 0x68], esi
lea r13d, [rsi + 0x3f]
test ebx, ebx
jle 0x140055c9f
mov eax, esi
mov qword [rbp - 0x68], rax
jmp 0x140055076
mov r13d, 0x3f
imul r14, rax, 0xe0
xor r8d, r8d
mov qword [rsp + 0x30], rsi
add r14, qword [rbp - 0x40]
mov eax, r8d
mov r12, rsi
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x3c], eax
lea rdi, [r14 + 8]
test rdi, rdi
je 0x14005510f
cmp byte [rdi], al
je 0x14005510f
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rdi + rbx], al
jne 0x1400550b0
inc ebx
test ebx, ebx
jle 0x1400550d7
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.14001c970
mov eax, dword [rsp + 0x3c]
mov esi, dword [rsp + 0x38]
mov r12, qword [rsp + 0x30]
mov edx, esi
add esi, ebx
mov dword [rsp + 0x38], esi
cmp esi, eax
jle 0x1400550f6
lea rcx, [rsp + 0x30]
call fcn.14001c580
mov esi, dword [rsp + 0x38]
mov r12, qword [rsp + 0x30]
mov r9d, ebx
mov word [rsp + 0x20], r13w
mov r8, rdi
mov edx, ebx
mov rcx, r12
call fcn.14001d990
xor r8d, r8d
lea rdi, [r14 + 0x14]
mov qword [rsp + 0x60], r8
mov ecx, r8d
mov eax, r8d
mov dword [rsp + 0x68], ecx
mov dword [rsp + 0x6c], eax
test rdi, rdi
je 0x14005518b
cmp byte [rdi], 0
je 0x14005518b
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140055137
inc ebx
test ebx, ebx
jle 0x14005515a
mov edx, ebx
lea rcx, [rsp + 0x60]
call fcn.14001c970
mov eax, dword [rsp + 0x6c]
mov ecx, dword [rsp + 0x68]
mov edx, ecx
add ecx, ebx
mov dword [rsp + 0x68], ecx
cmp ecx, eax
jle 0x140055170
lea rcx, [rsp + 0x60]
call fcn.14001c580
mov rcx, qword [rsp + 0x60]
mov r9d, ebx
mov r8, rdi
mov word [rsp + 0x20], r13w
mov edx, ebx
call fcn.14001d990
xor r8d, r8d
lea rdi, [r14 + 0x1a]
mov qword [rsp + 0x50], r8
mov dword [rsp + 0x58], r8d
mov eax, r8d
mov dword [rsp + 0x5c], eax
mov r13d, r8d
test rdi, rdi
je 0x140055216
cmp byte [rdi], 0
je 0x140055216
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rdi + rbx], 0
jne 0x1400551b4
inc ebx
test ebx, ebx
jle 0x1400551d8
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.14001c970
mov eax, dword [rsp + 0x5c]
mov r13d, dword [rsp + 0x58]
mov edx, r13d
add r13d, ebx
mov dword [rsp + 0x58], r13d
cmp r13d, eax
jle 0x1400551f7
lea rcx, [rsp + 0x50]
call fcn.14001c580
mov r13d, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov eax, 0x3f
mov r9d, ebx
mov word [rsp + 0x20], ax
mov r8, rdi
mov edx, ebx
call fcn.14001d990
xor r8d, r8d
mov r14, qword [rsp + 0x70]
mov eax, dword [r14 + 8]
cmp eax, dword [r14 + 0x34]
je 0x1400552ba
test esi, esi
je 0x140055235
mov rdx, r12
lea ecx, [rsi - 1]
jmp 0x14005523f
lea rdx, [0x140264588]
mov ecx, r8d
mov rbx, qword [r14 + 0x40]
lea rdi, [r14 + 0x38]
call fcn.14001e0b0
movsxd rcx, eax
movsxd rax, dword [r14 + 0x48]
dec rax
and rcx, rax
test rbx, rbx
cmovne rdi, rbx
mov ebx, dword [rdi + rcx*4]
cmp ebx, 0xffffffff
je 0x1400552ba
mov rax, qword [r14]
nop dword [rax + rax]
movsxd rdi, ebx
shl rdi, 5
lea rcx, [rdi + rax]
mov eax, dword [rdi + rax + 8]
cmp eax, esi
je 0x14005528a
add eax, esi
cmp eax, 1
jmp 0x14005529c
cmp eax, 1
jle 0x1400552b1
mov rcx, qword [rcx]
mov rdx, r12
call fcn.14003d950
test eax, eax
sete al
test al, al
jne 0x1400552b1
mov rax, qword [r14]
mov ebx, dword [rax + rdi + 0x18]
cmp ebx, 0xffffffff
jne 0x140055270
jmp 0x1400552ba
cmp ebx, 0xffffffff
jne 0x1400554f1
mov rax, qword [rbp + 0x50]
lea r8, [rbp + 0x60]
lea rdx, [rsp + 0x30]
mov rcx, r14
mov eax, dword [rax + 0x30]
mov dword [rbp + 0x60], eax
call fcn.140040be0
mov esi, dword [rsp + 0x38]
mov r12, qword [rsp + 0x30]
test esi, esi
je 0x1400552ea
mov rdx, r12
lea ecx, [rsi - 1]
jmp 0x1400552f5
xor eax, eax
lea rdx, [0x140264588]
mov ecx, eax
call fcn.14001e0b0
mov ecx, dword [r15 + 8]
movsxd r14, eax
cmp ecx, dword [r15 + 0x34]
je 0x14005537f
mov rdx, qword [r15 + 0x40]
lea r9, [r15 + 0x38]
movsxd r8, dword [r15 + 0x48]
dec r8
and r8, r14
test rdx, rdx
cmovne r9, rdx
mov ebx, dword [r9 + r8*4]
cmp ebx, 0xffffffff
je 0x14005537f
mov rdx, qword [r15]
nop dword [rax]
movsxd rax, ebx
lea rcx, [rax + rax*4]
lea rdi, [rcx*8]
mov eax, dword [rdx + rdi + 8]
lea rcx, [rdx + rdi]
cmp eax, esi
je 0x140055352
add eax, esi
cmp eax, 1
jmp 0x140055368
cmp eax, 1
jle 0x14005545e
mov rcx, qword [rcx]
mov rdx, r12
call fcn.14003d950
test eax, eax
sete al
test al, al
jne 0x14005545e
mov rdx, qword [r15]
mov ebx, dword [rdi + rdx + 0x20]
cmp ebx, 0xffffffff
jne 0x140055330
lea r8, [rsp + 0x30]
mov edx, r14d
mov rcx, r15
call fcn.1400418e0
mov esi, dword [rsp + 0x38]
mov rbx, rax
mov r12, qword [rsp + 0x30]
movsxd rdi, dword [rbx + 8]
lea ecx, [rdi + 1]
mov dword [rbx + 8], ecx
cmp ecx, dword [rbx + 0xc]
jle 0x1400553b4
mov edx, edi
mov rcx, rbx
call fcn.1400220e0
mov rcx, qword [rbx]
mov eax, dword [rbp + 0x60]
mov dword [rcx + rdi*4], eax
mov rdi, qword [rbp - 0x80]
movsxd rbx, dword [rdi + 8]
lea eax, [rbx + 1]
mov dword [rdi + 8], eax
cmp eax, dword [rdi + 0xc]
jle 0x1400553da
mov edx, ebx
mov rcx, rdi
call fcn.14005a720
xor ecx, ecx
shl rbx, 6
add rbx, qword [rdi]
lea rax, [rsp + 0x30]
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], rcx
mov qword [rbx + 0x20], rcx
mov qword [rbx + 0x28], rcx
lea rdi, [rbx + 0x10]
mov qword [rbx + 0x30], rcx
lea r14, [rbx + 0x20]
mov qword [rbx + 0x38], rcx
lea r15, [rbx + 0x30]
mov qword [rbx], rcx
mov qword [rbx + 8], rcx
cmp rbx, rax
je 0x14005543f
mov dword [rbx + 8], esi
test esi, esi
je 0x14005543f
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.14001c130
mov rcx, qword [rbx]
mov rdx, r12
movsxd r8, esi
add r8, r8
call sub.VCRUNTIME140.dll_memcpy
xor ecx, ecx
lea rax, [rsp + 0x30]
cmp rdi, rax
je 0x140055497
mov r8d, dword [rdi + 0xc]
mov dword [rdi + 8], esi
test esi, esi
jne 0x14005547c
test r8d, r8d
jne 0x14005547c
mov dword [rdi + 0xc], ecx
jmp 0x140055497
cmp ebx, 0xffffffff
je 0x14005537f
mov rbx, qword [r15]
add rbx, rdi
je 0x14005537f
add rbx, 0x10
jmp 0x14005539b
mov edx, esi
mov rcx, rdi
call fcn.14001c130
mov rcx, qword [rdi]
mov rdx, r12
movsxd r8, esi
add r8, r8
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x60]
xor ecx, ecx
cmp r14, rax
je 0x1400554c1
mov r8d, dword [r14 + 0xc]
mov dword [r14 + 8], ecx
test r8d, r8d
jne 0x1400554b5
mov dword [r14 + 0xc], ecx
jmp 0x1400554c1
xor edx, edx
mov rcx, r14
call fcn.14001c130
xor ecx, ecx
lea rax, [rbp - 0x60]
cmp r15, rax
je 0x1400554e7
mov r8d, dword [r15 + 0xc]
mov dword [r15 + 8], ecx
test r8d, r8d
jne 0x1400554dd
mov dword [r15 + 0xc], ecx
jmp 0x1400554e7
xor edx, edx
mov rcx, r15
call fcn.14001c130
mov r15, qword [rsp + 0x78]
mov r14, qword [rsp + 0x70]
cmp r13d, 1
jle 0x140055825
xor edi, edi
lea ecx, [rsi - 1]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
test esi, esi
jne 0x140055510
mov ecx, edi
lea eax, [r13 - 1]
test r13d, r13d
jne 0x14005551b
mov eax, edi
lea edx, [rcx + 1]
add edx, eax
test edx, edx
jle 0x140055534
inc edx
test edx, edx
jle 0x140055534
lea rcx, [rsp + 0x40]
call fcn.14001c970
lea r8d, [rsi - 1]
test esi, esi
jne 0x14005553f
mov r8d, edi
mov rdx, r12
lea rcx, [rsp + 0x40]
call fcn.14001ed50
mov edx, dword [rsp + 0x48]
lea ebx, [rdx - 1]
test edx, edx
jg 0x140055559
mov ebx, edi
test edx, edx
mov eax, edi
setle al
inc eax
add eax, edx
mov dword [rsp + 0x48], eax
cmp eax, dword [rsp + 0x4c]
jle 0x140055578
lea rcx, [rsp + 0x40]
call fcn.14001c580
mov rax, qword [rsp + 0x40]
mov edx, 0x2d
movsxd rcx, ebx
lea r8d, [r13 - 1]
mov word [rax + rcx*2], dx
mov rax, qword [rsp + 0x40]
mov word [rax + rcx*2 + 2], di
test r13d, r13d
jne 0x14005559f
mov r8d, edi
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.14001ed50
mov eax, dword [rsp + 0x48]
lea r8, [rbp - 0x78]
mov rbx, qword [rsp + 0x40]
lea rdx, [rbp - 0x50]
mov dword [rbp - 0x70], eax
mov rcx, r14
mov eax, dword [rsp + 0x4c]
mov dword [rbp - 0x6c], eax
mov qword [rsp + 0x48], rdi
mov qword [rbp - 0x78], rbx
mov qword [rsp + 0x40], rdi
call fcn.14004c890
cmp dword [rax], 0xffffffff
jne 0x1400557ff
mov rax, qword [rbp + 0x50]
lea r8, [rbp + 0x60]
lea rdx, [rbp - 0x78]
mov rcx, r14
mov eax, dword [rax + 0x30]
mov dword [rbp + 0x60], eax
call fcn.140040be0
test esi, esi
je 0x14005560e
mov rdx, r12
lea ecx, [rsi - 1]
jmp 0x140055617
lea rdx, [0x140264588]
mov ecx, edi
call fcn.14001e0b0
mov ecx, dword [r15 + 8]
movsxd r14, eax
cmp ecx, dword [r15 + 0x34]
je 0x14005569f
mov rdx, qword [r15 + 0x40]
lea r9, [r15 + 0x38]
movsxd r8, dword [r15 + 0x48]
dec r8
and r8, r14
test rdx, rdx
cmovne r9, rdx
mov ebx, dword [r9 + r8*4]
cmp ebx, 0xffffffff
je 0x14005569f
mov rdx, qword [r15]
nop
movsxd rax, ebx
lea rcx, [rax + rax*4]
lea rdi, [rcx*8]
mov eax, dword [rdx + rdi + 8]
lea rcx, [rdx + rdi]
cmp eax, esi
je 0x140055672
add eax, esi
cmp eax, 1
jmp 0x140055688
cmp eax, 1
jle 0x14005575c
mov rcx, qword [rcx]
mov rdx, r12
call fcn.14003d950
test eax, eax
sete al
test al, al
jne 0x14005575c
mov rdx, qword [r15]
mov ebx, dword [rdi + rdx + 0x20]
cmp ebx, 0xffffffff
jne 0x140055650
lea r8, [rsp + 0x30]
mov edx, r14d
mov rcx, r15
call fcn.1400418e0
mov esi, dword [rsp + 0x38]
mov rbx, rax
mov r12, qword [rsp + 0x30]
movsxd rdi, dword [rbx + 8]
lea ecx, [rdi + 1]
mov dword [rbx + 8], ecx
cmp ecx, dword [rbx + 0xc]
jle 0x1400556d4
mov edx, edi
mov rcx, rbx
call fcn.1400220e0
mov rcx, qword [rbx]
mov eax, dword [rbp + 0x60]
mov dword [rcx + rdi*4], eax
mov rdi, qword [rbp - 0x80]
movsxd rbx, dword [rdi + 8]
lea eax, [rbx + 1]
mov dword [rdi + 8], eax
cmp eax, dword [rdi + 0xc]
jle 0x1400556fa
mov edx, ebx
mov rcx, rdi
call fcn.14005a720
xor r15d, r15d
lea rdx, [rbp - 0x78]
mov rcx, rbx
shl rcx, 6
add rcx, qword [rdi]
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], r15
mov qword [rcx + 0x20], r15
lea r14, [rcx + 0x10]
mov qword [rcx + 0x28], r15
lea rbx, [rcx + 0x20]
mov qword [rcx + 0x30], r15
lea rdi, [rcx + 0x30]
mov qword [rcx], r15
mov qword [rdi + 8], r15
mov qword [rcx + 8], r15
call fcn.140026ad0
lea rax, [rsp + 0x30]
cmp r14, rax
je 0x140055795
mov r8d, dword [r14 + 0xc]
mov dword [r14 + 8], esi
test esi, esi
jne 0x14005577a
test r8d, r8d
jne 0x14005577a
mov dword [r14 + 0xc], r15d
jmp 0x140055795
cmp ebx, 0xffffffff
je 0x14005569f
mov rbx, qword [r15]
add rbx, rdi
je 0x14005569f
add rbx, 0x10
jmp 0x1400556bb
mov edx, esi
mov rcx, r14
call fcn.14001c130
mov rcx, qword [r14]
mov rdx, r12
movsxd r8, esi
add r8, r8
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x60]
cmp rbx, rax
je 0x1400557bb
mov r8d, dword [rbx + 0xc]
mov dword [rbx + 8], r15d
test r8d, r8d
jne 0x1400557b1
mov dword [rbx + 0xc], r15d
jmp 0x1400557bb
xor edx, edx
mov rcx, rbx
call fcn.14001c130
lea rax, [rsp + 0x50]
cmp rdi, rax
je 0x1400557fb
mov r8d, dword [rdi + 0xc]
mov dword [rdi + 8], r13d
test r13d, r13d
jne 0x1400557dd
test r8d, r8d
jne 0x1400557dd
mov dword [rdi + 0xc], r15d
jmp 0x1400557fb
mov edx, r13d
mov rcx, rdi
call fcn.14001c130
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rdi]
movsxd r8, r13d
add r8, r8
call sub.VCRUNTIME140.dll_memcpy
mov rbx, qword [rbp - 0x78]
test rbx, rbx
je 0x140055825
mov rcx, qword [0x1403ac340]
test rcx, rcx
jne 0x14005581c
call fcn.14004dc30
mov rcx, qword [0x1403ac340]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x30]
movsxd r15, dword [rsp + 0x68]
cmp r15d, 1
jle 0x140055bf9
xor esi, esi
lea r9, [rbp - 0x30]
lea r8, [rsp + 0x60]
mov qword [rbp - 0x30], rsi
lea rdx, [rsp + 0x30]
mov qword [rbp - 0x28], rsi
lea rcx, [rbp - 0x20]
call fcn.140049ce0
mov rbx, qword [rsp + 0x70]
lea rdx, [rbp - 0x4c]
mov rcx, rbx
mov r8, rax
mov r14, rax
call fcn.14004c890
cmp dword [rax], 0xffffffff
jne 0x140055a6e
mov rax, qword [rbp + 0x50]
lea r8, [rbp + 0x60]
mov rdx, r14
mov ecx, dword [rax + 0x30]
mov dword [rbp + 0x60], ecx
mov rcx, rbx
call fcn.140040be0
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x1400558a0
mov rdx, qword [rsp + 0x30]
lea ecx, [rax - 1]
jmp 0x1400558a9
lea rdx, [0x140264588]
mov ecx, esi
call fcn.14001e0b0
mov rcx, qword [rsp + 0x78]
lea r8, [rsp + 0x30]
mov edx, eax
call fcn.140041b70
mov rbx, rax
movsxd rdi, dword [rax + 8]
lea ecx, [rdi + 1]
mov dword [rax + 8], ecx
cmp ecx, dword [rax + 0xc]
jle 0x1400558db
mov edx, edi
mov rcx, rax
call fcn.1400220e0
mov rcx, qword [rbx]
mov eax, dword [rbp + 0x60]
mov dword [rcx + rdi*4], eax
mov rdi, qword [rbp - 0x80]
movsxd rbx, dword [rdi + 8]
lea eax, [rbx + 1]
mov dword [rdi + 8], eax
cmp eax, dword [rdi + 0xc]
jle 0x140055901
mov edx, ebx
mov rcx, rdi
call fcn.14005a720
xor eax, eax
mov rcx, rbx
shl rcx, 6
mov rdx, r14
add rcx, qword [rdi]
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], rsi
mov qword [rcx + 0x20], rsi
lea rdi, [rcx + 0x10]
mov qword [rcx + 0x28], rsi
lea rbx, [rcx + 0x20]
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
lea rsi, [rcx + 0x30]
mov qword [rsi], rax
mov qword [rsi + 8], rax
call fcn.140026ad0
mov r12, qword [rsp + 0x30]
lea rax, [rsp + 0x30]
cmp rdi, rax
je 0x14005598a
movsxd r14, dword [rsp + 0x38]
mov r8d, dword [rdi + 0xc]
mov dword [rdi + 8], r14d
test r14d, r14d
jne 0x14005596e
test r8d, r8d
jne 0x14005596e
xor r14d, r14d
mov dword [rdi + 0xc], r14d
jmp 0x14005598d
mov edx, r14d
mov rcx, rdi
call fcn.14001c130
mov rcx, qword [rdi]
mov r8, r14
add r8, r8
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
xor r14d, r14d
lea rax, [rsp + 0x60]
cmp rbx, rax
je 0x1400559cd
mov r8d, dword [rbx + 0xc]
mov dword [rbx + 8], r15d
test r15d, r15d
jne 0x1400559af
test r8d, r8d
jne 0x1400559af
mov dword [rbx + 0xc], r14d
jmp 0x1400559cd
mov edx, r15d
mov rcx, rbx
call fcn.14001c130
mov rdx, qword [rsp + 0x60]
mov r8, r15
mov rcx, qword [rbx]
add r8, r8
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x60]
cmp rsi, rax
je 0x1400559e7
mov r8d, dword [rsi + 0xc]
mov dword [rsi + 8], r14d
test r8d, r8d
jne 0x140055a5f
mov dword [rsi + 0xc], r14d
mov rbx, qword [rsp + 0x70]
xor esi, esi
lea rcx, [rbp - 0x20]
call fcn.140044380
cmp r13d, 1
jle 0x140055bf9
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x10]
call fcn.140049ce0
mov r8, rax
lea rdx, [rbp - 0x48]
mov rcx, rbx
mov r14, rax
call fcn.14004c890
cmp dword [rax], 0xffffffff
jne 0x140055beb
mov rax, qword [rbp + 0x50]
lea r8, [rbp + 0x60]
mov rdx, r14
mov ecx, dword [rax + 0x30]
mov dword [rbp + 0x60], ecx
mov rcx, rbx
call fcn.140040be0
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x140055a78
mov rdx, qword [rsp + 0x30]
lea ecx, [rax - 1]
jmp 0x140055a81
xor edx, edx
mov rcx, rsi
call fcn.14001c130
jmp 0x1400559e7
mov r12, qword [rsp + 0x30]
jmp 0x1400559ee
lea rdx, [0x140264588]
mov ecx, esi
call fcn.14001e0b0
mov rcx, qword [rsp + 0x78]
lea r8, [rsp + 0x30]
mov edx, eax
call fcn.140041b70
mov rbx, rax
movsxd rdi, dword [rax + 8]
lea ecx, [rdi + 1]
mov dword [rax + 8], ecx
cmp ecx, dword [rax + 0xc]
jle 0x140055ab3
mov edx, edi
mov rcx, rax
call fcn.1400220e0
mov rcx, qword [rbx]
mov eax, dword [rbp + 0x60]
mov dword [rcx + rdi*4], eax
mov rdi, qword [rbp - 0x80]
movsxd rbx, dword [rdi + 8]
lea eax, [rbx + 1]
mov dword [rdi + 8], eax
cmp eax, dword [rdi + 0xc]
jle 0x140055ad9
mov edx, ebx
mov rcx, rdi
call fcn.14005a720
xor eax, eax
mov rcx, rbx
shl rcx, 6
mov rdx, r14
add rcx, qword [rdi]
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rax
mov qword [rcx + 0x20], rax
lea rbx, [rcx + 0x20]
mov qword [rcx], rsi
lea rsi, [rcx + 0x10]
mov qword [rcx + 8], 0
lea rdi, [rcx + 0x30]
mov qword [rbx + 8], rax
mov qword [rdi], rax
mov qword [rdi + 8], rax
call fcn.140026ad0
mov r12, qword [rsp + 0x30]
lea rax, [rsp + 0x30]
cmp rsi, rax
je 0x140055b66
movsxd r14, dword [rsp + 0x38]
mov r8d, dword [rsi + 0xc]
mov dword [rsi + 8], r14d
test r14d, r14d
jne 0x140055b4a
test r8d, r8d
jne 0x140055b4a
xor r14d, r14d
mov dword [rsi + 0xc], r14d
jmp 0x140055b69
mov edx, r14d
mov rcx, rsi
call fcn.14001c130
mov rcx, qword [rsi]
mov r8, r14
add r8, r8
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
xor r14d, r14d
lea rax, [rsp + 0x60]
cmp rbx, rax
je 0x140055ba9
mov r8d, dword [rbx + 0xc]
mov dword [rbx + 8], r15d
test r15d, r15d
jne 0x140055b8b
test r8d, r8d
jne 0x140055b8b
mov dword [rbx + 0xc], r14d
jmp 0x140055ba9
mov edx, r15d
mov rcx, rbx
call fcn.14001c130
mov rdx, qword [rsp + 0x60]
mov r8, r15
mov rcx, qword [rbx]
add r8, r8
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x50]
cmp rdi, rax
je 0x140055bf0
mov r8d, dword [rdi + 0xc]
mov dword [rdi + 8], r13d
test r13d, r13d
jne 0x140055bcb
test r8d, r8d
jne 0x140055bcb
mov dword [rdi + 0xc], r14d
jmp 0x140055bf0
mov edx, r13d
mov rcx, rdi
call fcn.14001c130
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rdi]
movsxd r8, r13d
add r8, r8
call sub.VCRUNTIME140.dll_memcpy
jmp 0x140055bf0
mov r12, qword [rsp + 0x30]
lea rcx, [rbp - 0x10]
call fcn.140044380
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x140055c24
mov rcx, qword [0x1403ac340]
test rcx, rcx
jne 0x140055c1b
call fcn.14004dc30
mov rcx, qword [0x1403ac340]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x30]
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x140055c4f
mov rcx, qword [0x1403ac340]
test rcx, rcx
jne 0x140055c46
call fcn.14004dc30
mov rcx, qword [0x1403ac340]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x30]
test r12, r12
je 0x140055c75
mov rcx, qword [0x1403ac340]
test rcx, rcx
jne 0x140055c6c
call fcn.14004dc30
mov rcx, qword [0x1403ac340]
mov rax, qword [rcx]
mov rdx, r12
call qword [rax + 0x30]
mov ecx, dword [rbp + 0x68]
mov esi, 0
mov rax, qword [rbp - 0x68]
inc ecx
mov r15, qword [rsp + 0x78]
inc rax
mov dword [rbp + 0x68], ecx
mov qword [rbp - 0x68], rax
cmp ecx, dword [rbp + 0x58]
jl 0x140055070
mov r12, qword [rbp - 0x80]
call fcn.14011cc20
mov r13, rax
mov rdi, qword [rax]
test rdi, rdi
je 0x140055f3b
cmp byte [rdi + 2], 0
jne 0x140055f25
cmp byte [rdi], 0
mov edx, esi
mov ecx, esi
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], ecx
mov qword [rsp + 0x30], rsi
je 0x140055d34
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140055ce0
inc ebx
test ebx, ebx
jle 0x140055d03
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.14001c970
mov ecx, dword [rsp + 0x3c]
mov edx, dword [rsp + 0x38]
lea eax, [rdx + rbx]
mov dword [rsp + 0x38], eax
cmp eax, ecx
jle 0x140055d18
lea rcx, [rsp + 0x30]
call fcn.14001c580
mov rcx, qword [rsp + 0x30]
mov eax, 0x3f
mov r9d, ebx
mov word [rsp + 0x20], ax
mov r8, rdi
mov edx, ebx
call fcn.14001d990
lea rcx, [rsp + 0x30]
call fcn.1400229c0
mov rbx, qword [rsp + 0x70]
lea r8, [rsp + 0x30]
mov rcx, rbx
lea rdx, [rbp + 0x68]
call fcn.14004c890
cmp dword [rax], 0xffffffff
jne 0x140055efa
mov rax, qword [rbp + 0x50]
lea r8, [rbp + 0x60]
lea rdx, [rsp + 0x30]
mov rcx, rbx
mov eax, dword [rax + 0x30]
mov dword [rbp + 0x60], eax
call fcn.140040be0
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x140055d8a
mov rdx, qword [rsp + 0x30]
lea ecx, [rax - 1]
jmp 0x140055d93
lea rdx, [0x140264588]
mov ecx, esi
call fcn.14001e0b0
lea r8, [rsp + 0x30]
mov edx, eax
mov rcx, r15
call fcn.140041b70
mov rbx, rax
movsxd rdi, dword [rax + 8]
lea ecx, [rdi + 1]
mov dword [rax + 8], ecx
cmp ecx, dword [rax + 0xc]
jle 0x140055dc3
mov edx, edi
mov rcx, rax
call fcn.1400220e0
mov rcx, qword [rbx]
mov eax, dword [rbp + 0x60]
mov dword [rcx + rdi*4], eax
movsxd rbx, dword [r12 + 8]
lea eax, [rbx + 1]
mov dword [r12 + 8], eax
cmp eax, dword [r12 + 0xc]
jle 0x140055dea
mov edx, ebx
mov rcx, r12
call fcn.14005a720
xor ecx, ecx
shl rbx, 6
add rbx, qword [r12]
lea rax, [rsp + 0x30]
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x20], rcx
mov qword [rbx + 0x28], rcx
mov qword [rbx], rsi
lea rdi, [rbx + 0x10]
mov qword [rbx + 8], 0
lea rsi, [rbx + 0x20]
mov qword [rdi + 8], 0
lea r14, [rbx + 0x30]
mov qword [r14], rcx
mov qword [r14 + 8], rcx
cmp rbx, rax
je 0x140055e68
movsxd r15, dword [rsp + 0x38]
mov r12, qword [rsp + 0x30]
mov dword [rbx + 8], r15d
test r15d, r15d
je 0x140055e64
xor r8d, r8d
mov edx, r15d
mov rcx, rbx
call fcn.14001c130
mov rcx, qword [rbx]
mov r8, r15
add r8, r8
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
xor ecx, ecx
mov r12, qword [rbp - 0x80]
lea rax, [rsp + 0x30]
cmp rdi, rax
je 0x140055eac
movsxd rbx, dword [rsp + 0x38]
mov r15, qword [rsp + 0x30]
mov r8d, dword [rdi + 0xc]
mov dword [rdi + 8], ebx
test ebx, ebx
jne 0x140055e91
test r8d, r8d
jne 0x140055e91
mov dword [rdi + 0xc], ecx
jmp 0x140055eac
mov edx, ebx
mov rcx, rdi
call fcn.14001c130
mov rcx, qword [rdi]
mov r8, rbx
add r8, r8
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x60]
cmp rsi, rax
je 0x140055ed2
mov r8d, dword [rsi + 0xc]
xor eax, eax
mov dword [rsi + 8], eax
test r8d, r8d
jne 0x140055ec8
mov dword [rsi + 0xc], eax
jmp 0x140055ed2
xor edx, edx
mov rcx, rsi
call fcn.14001c130
lea rax, [rbp - 0x60]
xor esi, esi
cmp r14, rax
je 0x140055efa
mov r8d, dword [r14 + 0xc]
mov dword [r14 + 8], esi
test r8d, r8d
jne 0x140055ef0
mov dword [r14 + 0xc], esi
jmp 0x140055efa
xor edx, edx
mov rcx, r14
call fcn.14001c130
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x140055f25
mov rcx, qword [0x1403ac340]
test rcx, rcx
jne 0x140055f1c
call fcn.14004dc30
mov rcx, qword [0x1403ac340]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x30]
mov rdi, qword [r13 + 8]
add r13, 8
mov r15, qword [rsp + 0x78]
test rdi, rdi
jne 0x140055cb3
mov edx, 9
mov qword [rsp + 0x40], rsi
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x48], 0
call fcn.14001c970
mov edx, dword [rsp + 0x48]
lea eax, [rdx + 9]
mov dword [rsp + 0x48], eax
cmp eax, dword [rsp + 0x4c]
jle 0x140055f73
lea rcx, [rsp + 0x40]
call fcn.14001c580
mov rcx, qword [rsp + 0x40]
lea rdx, str.US_POSIX
mov r8d, 0x12
call fcn.140034a80
mov edx, 3
mov qword [rsp + 0x50], rsi
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x58], 0
call fcn.14001c970
mov edx, dword [rsp + 0x58]
lea eax, [rdx + 3]
mov dword [rsp + 0x58], eax
cmp eax, dword [rsp + 0x5c]
jle 0x140055fc2
lea rcx, [rsp + 0x50]
call fcn.14001c580
mov rcx, qword [rsp + 0x50]
lea rdx, [0x14026fc48]
mov r8d, 6
call fcn.140034a80
mov edx, 0xc
mov qword [rsp + 0x60], rsi
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x68], 0
call fcn.14001c970
mov edx, dword [rsp + 0x68]
lea eax, [rdx + 0xc]
mov dword [rsp + 0x68], eax
cmp eax, dword [rsp + 0x6c]
jle 0x140056011
lea rcx, [rsp + 0x60]
call fcn.14001c580
mov rcx, qword [rsp + 0x60]
lea rdx, [0x140274838]
mov r8d, 0x18
call fcn.140034a80
lea rax, [rsp + 0x40]
mov qword [rbp - 0x78], rsi
lea r9, [rbp - 0x78]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x50]
mov qword [rbp - 0x70], 0
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x38]
call fcn.140046300
mov rbx, qword [rbp - 0x78]
test rbx, rbx
je 0x14005607f
mov rcx, qword [0x1403ac340]
test rcx, rcx
jne 0x140056076
call fcn.14004dc30
mov rcx, qword [0x1403ac340]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x30]
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x1400560aa
mov rcx, qword [0x1403ac340]
test rcx, rcx
jne 0x1400560a1
call fcn.14004dc30
mov rcx, qword [0x1403ac340]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x30]
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x1400560d5
mov rcx, qword [0x1403ac340]
test rcx, rcx
jne 0x1400560cc
call fcn.14004dc30
mov rcx, qword [0x1403ac340]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x30]
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x140056100
mov rcx, qword [0x1403ac340]
test rcx, rcx
jne 0x1400560f7
call fcn.14004dc30
mov rcx, qword [0x1403ac340]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x30]
mov edx, dword [r12 + 8]
cmp dword [r12 + 0xc], edx
je 0x140056114
mov rcx, r12
call fcn.14005b300
mov rbx, qword [rsp + 0x70]
mov rcx, rbx
call fcn.14005ba10
mov edx, dword [rbx + 8]
mov r8b, 1
sub edx, dword [rbx + 0x34]
mov rcx, rbx
call fcn.1400499c0
mov rbx, qword [rsp + 0x78]
mov rcx, rbx
call fcn.14005baf0
mov edx, dword [rbx + 8]
mov r8b, 1
sub edx, dword [rbx + 0x34]
mov rcx, rbx
call fcn.140049a50
add rsp, 0x108
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret