Function at 0x140055060
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.140128a10
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 0x1400550b1
mov edx, ebx
mov rcx, r12
call fcn.14005b460
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 0x14005512d
mov edx, ebx
mov rcx, rsi
call fcn.140059800
cmp ebx, 4
jb 0x140055112
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 0x140055114
mov eax, edi
mov ecx, dword [rsi + 0x48]
test ecx, ecx
je 0x14005511f
cmp ecx, eax
jge 0x14005512a
mov rcx, rsi
mov dword [rsi + 0x48], eax
call fcn.140058cd0
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 0x1400551a9
mov edx, eax
mov rcx, r15
call fcn.140059980
cmp esi, 4
jb 0x14005518e
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 0x14005519a
cmp eax, edi
jge 0x1400551a6
mov rcx, r15
mov dword [r15 + 0x48], edi
call fcn.140058f20
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 0x140055dff
mov eax, esi
mov qword [rbp - 0x68], rax
jmp 0x1400551d6
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 0x14005526f
cmp byte [rdi], al
je 0x14005526f
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rdi + rbx], al
jne 0x140055210
inc ebx
test ebx, ebx
jle 0x140055237
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.14001ca50
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 0x140055256
lea rcx, [rsp + 0x30]
call fcn.14001c660
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.14001da70
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 0x1400552eb
cmp byte [rdi], 0
je 0x1400552eb
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140055297
inc ebx
test ebx, ebx
jle 0x1400552ba
mov edx, ebx
lea rcx, [rsp + 0x60]
call fcn.14001ca50
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 0x1400552d0
lea rcx, [rsp + 0x60]
call fcn.14001c660
mov rcx, qword [rsp + 0x60]
mov r9d, ebx
mov r8, rdi
mov word [rsp + 0x20], r13w
mov edx, ebx
call fcn.14001da70
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 0x140055376
cmp byte [rdi], 0
je 0x140055376
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140055314
inc ebx
test ebx, ebx
jle 0x140055338
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.14001ca50
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 0x140055357
lea rcx, [rsp + 0x50]
call fcn.14001c660
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.14001da70
xor r8d, r8d
mov r14, qword [rsp + 0x70]
mov eax, dword [r14 + 8]
cmp eax, dword [r14 + 0x34]
je 0x14005541a
test esi, esi
je 0x140055395
mov rdx, r12
lea ecx, [rsi - 1]
jmp 0x14005539f
lea rdx, [0x1402655d8]
mov ecx, r8d
mov rbx, qword [r14 + 0x40]
lea rdi, [r14 + 0x38]
call fcn.14001e190
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 0x14005541a
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 0x1400553ea
add eax, esi
cmp eax, 1
jmp 0x1400553fc
cmp eax, 1
jle 0x140055411
mov rcx, qword [rcx]
mov rdx, r12
call fcn.14003dab0
test eax, eax
sete al
test al, al
jne 0x140055411
mov rax, qword [r14]
mov ebx, dword [rax + rdi + 0x18]
cmp ebx, 0xffffffff
jne 0x1400553d0
jmp 0x14005541a
cmp ebx, 0xffffffff
jne 0x140055651
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.140040d40
mov esi, dword [rsp + 0x38]
mov r12, qword [rsp + 0x30]
test esi, esi
je 0x14005544a
mov rdx, r12
lea ecx, [rsi - 1]
jmp 0x140055455
xor eax, eax
lea rdx, [0x1402655d8]
mov ecx, eax
call fcn.14001e190
mov ecx, dword [r15 + 8]
movsxd r14, eax
cmp ecx, dword [r15 + 0x34]
je 0x1400554df
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 0x1400554df
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 0x1400554b2
add eax, esi
cmp eax, 1
jmp 0x1400554c8
cmp eax, 1
jle 0x1400555be
mov rcx, qword [rcx]
mov rdx, r12
call fcn.14003dab0
test eax, eax
sete al
test al, al
jne 0x1400555be
mov rdx, qword [r15]
mov ebx, dword [rdi + rdx + 0x20]
cmp ebx, 0xffffffff
jne 0x140055490
lea r8, [rsp + 0x30]
mov edx, r14d
mov rcx, r15
call fcn.140041a40
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 0x140055514
mov edx, edi
mov rcx, rbx
call fcn.1400221c0
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 0x14005553a
mov edx, ebx
mov rcx, rdi
call fcn.14005a880
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 0x14005559f
mov dword [rbx + 8], esi
test esi, esi
je 0x14005559f
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.14001c210
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 0x1400555f7
mov r8d, dword [rdi + 0xc]
mov dword [rdi + 8], esi
test esi, esi
jne 0x1400555dc
test r8d, r8d
jne 0x1400555dc
mov dword [rdi + 0xc], ecx
jmp 0x1400555f7
cmp ebx, 0xffffffff
je 0x1400554df
mov rbx, qword [r15]
add rbx, rdi
je 0x1400554df
add rbx, 0x10
jmp 0x1400554fb
mov edx, esi
mov rcx, rdi
call fcn.14001c210
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 0x140055621
mov r8d, dword [r14 + 0xc]
mov dword [r14 + 8], ecx
test r8d, r8d
jne 0x140055615
mov dword [r14 + 0xc], ecx
jmp 0x140055621
xor edx, edx
mov rcx, r14
call fcn.14001c210
xor ecx, ecx
lea rax, [rbp - 0x60]
cmp r15, rax
je 0x140055647
mov r8d, dword [r15 + 0xc]
mov dword [r15 + 8], ecx
test r8d, r8d
jne 0x14005563d
mov dword [r15 + 0xc], ecx
jmp 0x140055647
xor edx, edx
mov rcx, r15
call fcn.14001c210
mov r15, qword [rsp + 0x78]
mov r14, qword [rsp + 0x70]
cmp r13d, 1
jle 0x140055985
xor edi, edi
lea ecx, [rsi - 1]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
test esi, esi
jne 0x140055670
mov ecx, edi
lea eax, [r13 - 1]
test r13d, r13d
jne 0x14005567b
mov eax, edi
lea edx, [rcx + 1]
add edx, eax
test edx, edx
jle 0x140055694
inc edx
test edx, edx
jle 0x140055694
lea rcx, [rsp + 0x40]
call fcn.14001ca50
lea r8d, [rsi - 1]
test esi, esi
jne 0x14005569f
mov r8d, edi
mov rdx, r12
lea rcx, [rsp + 0x40]
call fcn.14001ee30
mov edx, dword [rsp + 0x48]
lea ebx, [rdx - 1]
test edx, edx
jg 0x1400556b9
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 0x1400556d8
lea rcx, [rsp + 0x40]
call fcn.14001c660
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 0x1400556ff
mov r8d, edi
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.14001ee30
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.14004c9f0
cmp dword [rax], 0xffffffff
jne 0x14005595f
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.140040d40
test esi, esi
je 0x14005576e
mov rdx, r12
lea ecx, [rsi - 1]
jmp 0x140055777
lea rdx, [0x1402655d8]
mov ecx, edi
call fcn.14001e190
mov ecx, dword [r15 + 8]
movsxd r14, eax
cmp ecx, dword [r15 + 0x34]
je 0x1400557ff
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 0x1400557ff
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 0x1400557d2
add eax, esi
cmp eax, 1
jmp 0x1400557e8
cmp eax, 1
jle 0x1400558bc
mov rcx, qword [rcx]
mov rdx, r12
call fcn.14003dab0
test eax, eax
sete al
test al, al
jne 0x1400558bc
mov rdx, qword [r15]
mov ebx, dword [rdi + rdx + 0x20]
cmp ebx, 0xffffffff
jne 0x1400557b0
lea r8, [rsp + 0x30]
mov edx, r14d
mov rcx, r15
call fcn.140041a40
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 0x140055834
mov edx, edi
mov rcx, rbx
call fcn.1400221c0
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 0x14005585a
mov edx, ebx
mov rcx, rdi
call fcn.14005a880
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.140026bb0
lea rax, [rsp + 0x30]
cmp r14, rax
je 0x1400558f5
mov r8d, dword [r14 + 0xc]
mov dword [r14 + 8], esi
test esi, esi
jne 0x1400558da
test r8d, r8d
jne 0x1400558da
mov dword [r14 + 0xc], r15d
jmp 0x1400558f5
cmp ebx, 0xffffffff
je 0x1400557ff
mov rbx, qword [r15]
add rbx, rdi
je 0x1400557ff
add rbx, 0x10
jmp 0x14005581b
mov edx, esi
mov rcx, r14
call fcn.14001c210
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 0x14005591b
mov r8d, dword [rbx + 0xc]
mov dword [rbx + 8], r15d
test r8d, r8d
jne 0x140055911
mov dword [rbx + 0xc], r15d
jmp 0x14005591b
xor edx, edx
mov rcx, rbx
call fcn.14001c210
lea rax, [rsp + 0x50]
cmp rdi, rax
je 0x14005595b
mov r8d, dword [rdi + 0xc]
mov dword [rdi + 8], r13d
test r13d, r13d
jne 0x14005593d
test r8d, r8d
jne 0x14005593d
mov dword [rdi + 0xc], r15d
jmp 0x14005595b
mov edx, r13d
mov rcx, rdi
call fcn.14001c210
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 0x140055985
mov rcx, qword [0x1403ad340]
test rcx, rcx
jne 0x14005597c
call fcn.14004dd90
mov rcx, qword [0x1403ad340]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x30]
movsxd r15, dword [rsp + 0x68]
cmp r15d, 1
jle 0x140055d59
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.140049e40
mov rbx, qword [rsp + 0x70]
lea rdx, [rbp - 0x4c]
mov rcx, rbx
mov r8, rax
mov r14, rax
call fcn.14004c9f0
cmp dword [rax], 0xffffffff
jne 0x140055bce
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.140040d40
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x140055a00
mov rdx, qword [rsp + 0x30]
lea ecx, [rax - 1]
jmp 0x140055a09
lea rdx, [0x1402655d8]
mov ecx, esi
call fcn.14001e190
mov rcx, qword [rsp + 0x78]
lea r8, [rsp + 0x30]
mov edx, eax
call fcn.140041cd0
mov rbx, rax
movsxd rdi, dword [rax + 8]
lea ecx, [rdi + 1]
mov dword [rax + 8], ecx
cmp ecx, dword [rax + 0xc]
jle 0x140055a3b
mov edx, edi
mov rcx, rax
call fcn.1400221c0
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 0x140055a61
mov edx, ebx
mov rcx, rdi
call fcn.14005a880
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.140026bb0
mov r12, qword [rsp + 0x30]
lea rax, [rsp + 0x30]
cmp rdi, rax
je 0x140055aea
movsxd r14, dword [rsp + 0x38]
mov r8d, dword [rdi + 0xc]
mov dword [rdi + 8], r14d
test r14d, r14d
jne 0x140055ace
test r8d, r8d
jne 0x140055ace
xor r14d, r14d
mov dword [rdi + 0xc], r14d
jmp 0x140055aed
mov edx, r14d
mov rcx, rdi
call fcn.14001c210
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 0x140055b2d
mov r8d, dword [rbx + 0xc]
mov dword [rbx + 8], r15d
test r15d, r15d
jne 0x140055b0f
test r8d, r8d
jne 0x140055b0f
mov dword [rbx + 0xc], r14d
jmp 0x140055b2d
mov edx, r15d
mov rcx, rbx
call fcn.14001c210
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 0x140055b47
mov r8d, dword [rsi + 0xc]
mov dword [rsi + 8], r14d
test r8d, r8d
jne 0x140055bbf
mov dword [rsi + 0xc], r14d
mov rbx, qword [rsp + 0x70]
xor esi, esi
lea rcx, [rbp - 0x20]
call fcn.1400444e0
cmp r13d, 1
jle 0x140055d59
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x10]
call fcn.140049e40
mov r8, rax
lea rdx, [rbp - 0x48]
mov rcx, rbx
mov r14, rax
call fcn.14004c9f0
cmp dword [rax], 0xffffffff
jne 0x140055d4b
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.140040d40
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x140055bd8
mov rdx, qword [rsp + 0x30]
lea ecx, [rax - 1]
jmp 0x140055be1
xor edx, edx
mov rcx, rsi
call fcn.14001c210
jmp 0x140055b47
mov r12, qword [rsp + 0x30]
jmp 0x140055b4e
lea rdx, [0x1402655d8]
mov ecx, esi
call fcn.14001e190
mov rcx, qword [rsp + 0x78]
lea r8, [rsp + 0x30]
mov edx, eax
call fcn.140041cd0
mov rbx, rax
movsxd rdi, dword [rax + 8]
lea ecx, [rdi + 1]
mov dword [rax + 8], ecx
cmp ecx, dword [rax + 0xc]
jle 0x140055c13
mov edx, edi
mov rcx, rax
call fcn.1400221c0
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 0x140055c39
mov edx, ebx
mov rcx, rdi
call fcn.14005a880
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.140026bb0
mov r12, qword [rsp + 0x30]
lea rax, [rsp + 0x30]
cmp rsi, rax
je 0x140055cc6
movsxd r14, dword [rsp + 0x38]
mov r8d, dword [rsi + 0xc]
mov dword [rsi + 8], r14d
test r14d, r14d
jne 0x140055caa
test r8d, r8d
jne 0x140055caa
xor r14d, r14d
mov dword [rsi + 0xc], r14d
jmp 0x140055cc9
mov edx, r14d
mov rcx, rsi
call fcn.14001c210
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 0x140055d09
mov r8d, dword [rbx + 0xc]
mov dword [rbx + 8], r15d
test r15d, r15d
jne 0x140055ceb
test r8d, r8d
jne 0x140055ceb
mov dword [rbx + 0xc], r14d
jmp 0x140055d09
mov edx, r15d
mov rcx, rbx
call fcn.14001c210
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 0x140055d50
mov r8d, dword [rdi + 0xc]
mov dword [rdi + 8], r13d
test r13d, r13d
jne 0x140055d2b
test r8d, r8d
jne 0x140055d2b
mov dword [rdi + 0xc], r14d
jmp 0x140055d50
mov edx, r13d
mov rcx, rdi
call fcn.14001c210
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rdi]
movsxd r8, r13d
add r8, r8
call sub.VCRUNTIME140.dll_memcpy
jmp 0x140055d50
mov r12, qword [rsp + 0x30]
lea rcx, [rbp - 0x10]
call fcn.1400444e0
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x140055d84
mov rcx, qword [0x1403ad340]
test rcx, rcx
jne 0x140055d7b
call fcn.14004dd90
mov rcx, qword [0x1403ad340]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x30]
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x140055daf
mov rcx, qword [0x1403ad340]
test rcx, rcx
jne 0x140055da6
call fcn.14004dd90
mov rcx, qword [0x1403ad340]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x30]
test r12, r12
je 0x140055dd5
mov rcx, qword [0x1403ad340]
test rcx, rcx
jne 0x140055dcc
call fcn.14004dd90
mov rcx, qword [0x1403ad340]
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 0x1400551d0
mov r12, qword [rbp - 0x80]
call fcn.14011d3e0
mov r13, rax
mov rdi, qword [rax]
test rdi, rdi
je 0x14005609b
cmp byte [rdi + 2], 0
jne 0x140056085
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 0x140055e94
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140055e40
inc ebx
test ebx, ebx
jle 0x140055e63
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.14001ca50
mov ecx, dword [rsp + 0x3c]
mov edx, dword [rsp + 0x38]
lea eax, [rdx + rbx]
mov dword [rsp + 0x38], eax
cmp eax, ecx
jle 0x140055e78
lea rcx, [rsp + 0x30]
call fcn.14001c660
mov rcx, qword [rsp + 0x30]
mov eax, 0x3f
mov r9d, ebx
mov word [rsp + 0x20], ax
mov r8, rdi
mov edx, ebx
call fcn.14001da70
lea rcx, [rsp + 0x30]
call fcn.140022aa0
mov rbx, qword [rsp + 0x70]
lea r8, [rsp + 0x30]
mov rcx, rbx
lea rdx, [rbp + 0x68]
call fcn.14004c9f0
cmp dword [rax], 0xffffffff
jne 0x14005605a
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.140040d40
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x140055eea
mov rdx, qword [rsp + 0x30]
lea ecx, [rax - 1]
jmp 0x140055ef3
lea rdx, [0x1402655d8]
mov ecx, esi
call fcn.14001e190
lea r8, [rsp + 0x30]
mov edx, eax
mov rcx, r15
call fcn.140041cd0
mov rbx, rax
movsxd rdi, dword [rax + 8]
lea ecx, [rdi + 1]
mov dword [rax + 8], ecx
cmp ecx, dword [rax + 0xc]
jle 0x140055f23
mov edx, edi
mov rcx, rax
call fcn.1400221c0
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 0x140055f4a
mov edx, ebx
mov rcx, r12
call fcn.14005a880
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 0x140055fc8
movsxd r15, dword [rsp + 0x38]
mov r12, qword [rsp + 0x30]
mov dword [rbx + 8], r15d
test r15d, r15d
je 0x140055fc4
xor r8d, r8d
mov edx, r15d
mov rcx, rbx
call fcn.14001c210
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 0x14005600c
movsxd rbx, dword [rsp + 0x38]
mov r15, qword [rsp + 0x30]
mov r8d, dword [rdi + 0xc]
mov dword [rdi + 8], ebx
test ebx, ebx
jne 0x140055ff1
test r8d, r8d
jne 0x140055ff1
mov dword [rdi + 0xc], ecx
jmp 0x14005600c
mov edx, ebx
mov rcx, rdi
call fcn.14001c210
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 0x140056032
mov r8d, dword [rsi + 0xc]
xor eax, eax
mov dword [rsi + 8], eax
test r8d, r8d
jne 0x140056028
mov dword [rsi + 0xc], eax
jmp 0x140056032
xor edx, edx
mov rcx, rsi
call fcn.14001c210
lea rax, [rbp - 0x60]
xor esi, esi
cmp r14, rax
je 0x14005605a
mov r8d, dword [r14 + 0xc]
mov dword [r14 + 8], esi
test r8d, r8d
jne 0x140056050
mov dword [r14 + 0xc], esi
jmp 0x14005605a
xor edx, edx
mov rcx, r14
call fcn.14001c210
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x140056085
mov rcx, qword [0x1403ad340]
test rcx, rcx
jne 0x14005607c
call fcn.14004dd90
mov rcx, qword [0x1403ad340]
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 0x140055e13
mov edx, 9
mov qword [rsp + 0x40], rsi
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x48], 0
call fcn.14001ca50
mov edx, dword [rsp + 0x48]
lea eax, [rdx + 9]
mov dword [rsp + 0x48], eax
cmp eax, dword [rsp + 0x4c]
jle 0x1400560d3
lea rcx, [rsp + 0x40]
call fcn.14001c660
mov rcx, qword [rsp + 0x40]
lea rdx, str.US_POSIX
mov r8d, 0x12
call fcn.140034be0
mov edx, 3
mov qword [rsp + 0x50], rsi
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x58], 0
call fcn.14001ca50
mov edx, dword [rsp + 0x58]
lea eax, [rdx + 3]
mov dword [rsp + 0x58], eax
cmp eax, dword [rsp + 0x5c]
jle 0x140056122
lea rcx, [rsp + 0x50]
call fcn.14001c660
mov rcx, qword [rsp + 0x50]
lea rdx, [0x140270c98]
mov r8d, 6
call fcn.140034be0
mov edx, 0xc
mov qword [rsp + 0x60], rsi
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x68], 0
call fcn.14001ca50
mov edx, dword [rsp + 0x68]
lea eax, [rdx + 0xc]
mov dword [rsp + 0x68], eax
cmp eax, dword [rsp + 0x6c]
jle 0x140056171
lea rcx, [rsp + 0x60]
call fcn.14001c660
mov rcx, qword [rsp + 0x60]
lea rdx, [0x140275898]
mov r8d, 0x18
call fcn.140034be0
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.140046460
mov rbx, qword [rbp - 0x78]
test rbx, rbx
je 0x1400561df
mov rcx, qword [0x1403ad340]
test rcx, rcx
jne 0x1400561d6
call fcn.14004dd90
mov rcx, qword [0x1403ad340]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x30]
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x14005620a
mov rcx, qword [0x1403ad340]
test rcx, rcx
jne 0x140056201
call fcn.14004dd90
mov rcx, qword [0x1403ad340]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x30]
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x140056235
mov rcx, qword [0x1403ad340]
test rcx, rcx
jne 0x14005622c
call fcn.14004dd90
mov rcx, qword [0x1403ad340]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x30]
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x140056260
mov rcx, qword [0x1403ad340]
test rcx, rcx
jne 0x140056257
call fcn.14004dd90
mov rcx, qword [0x1403ad340]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x30]
mov edx, dword [r12 + 8]
cmp dword [r12 + 0xc], edx
je 0x140056274
mov rcx, r12
call fcn.14005b460
mov rbx, qword [rsp + 0x70]
mov rcx, rbx
call fcn.14005bb70
mov edx, dword [rbx + 8]
mov r8b, 1
sub edx, dword [rbx + 0x34]
mov rcx, rbx
call fcn.140049b20
mov rbx, qword [rsp + 0x78]
mov rcx, rbx
call fcn.14005bc50
mov edx, dword [rbx + 8]
mov r8b, 1
sub edx, dword [rbx + 0x34]
mov rcx, rbx
call fcn.140049bb0
add rsp, 0x108
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret