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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x88
mov ebp, 8
mov rbx, qword [rsp + 0xf0]
movdqu xmm0, xmmword [r8]
movdqu xmm1, xmmword [r9]
mov qword [rsp + 0xd0], rcx
lea rcx, [rbx + 0xd0]
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm1
call sym.unk_4293
mov r14d, dword [rbx + 0x18]
mov rsi, rax
and r14d, 0x4a
cmp r14d, 0x40
je 0x1400564da
cmp r14d, 8
mov ebp, 0xa
mov eax, 0x10
cmove ebp, eax
lea rbx, [rsp + 0x60]
lea rdi, [rsp + 0x50]
mov rdx, rdi
mov rcx, rbx
mov qword [rsp + 0x40], rbx
call sym.unk_3221
mov r15d, eax
test al, al
jne 0x140056cf0
mov rcx, rbx
call sym.unk_3222
cmp byte [rsi + 0x6e], al
mov ebx, eax
sete byte [rsp + 0x3c]
je 0x14005651c
cmp byte [rsi + 0x6f], al
jne 0x140056da0
movzx edx, byte [rsi + 0x20]
test dl, dl
jne 0x1400567e0
cmp byte [rsi + 0x48], al
je 0x140056575
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx + 0x10]
cmp rax, qword [rcx + 0x18]
jae 0x140056ed8
add rax, 1
mov qword [rcx + 0x10], rax
mov rcx, qword [rsp + 0x40]
mov rdx, rdi
mov dword [rsp + 0x68], 0xffffffff
call sym.unk_4212
test al, al
jne 0x140056dae
mov rcx, qword [rsp + 0x40]
call sym.unk_3222
movzx edx, byte [rsi + 0x20]
mov ebx, eax
xor edi, edi
xor r13d, r13d
test dl, dl
je 0x140056587
cmp byte [rsi + 0x49], bl
je 0x140056ca0
cmp byte [rsi + 0x48], bl
je 0x140056631
cmp byte [rsi + 0x72], bl
je 0x1400568b0
test dil, dil
je 0x140056919
cmp byte [rsi + 0x70], bl
je 0x1400565b0
cmp byte [rsi + 0x71], bl
jne 0x140056e70
test r14d, r14d
sete al
cmp ebp, 0x10
sete cl
or al, cl
je 0x140056e89
xor edi, edi
xor r13d, r13d
mov ebp, 0x10
mov r12, qword [rsp + 0x60]
mov rax, qword [r12 + 0x10]
mov rdx, qword [r12 + 0x18]
cmp rax, rdx
jae 0x140056a50
add rax, 1
mov dword [rsp + 0x68], 0xffffffff
mov qword [r12 + 0x10], rax
cmp rax, rdx
jae 0x140056a78
xor r8d, r8d
mov rcx, qword [rsp + 0x50]
cmp dword [rsp + 0x58], 0xffffffff
sete al
test rcx, rcx
setne dl
and dl, al
jne 0x140056940
cmp r8b, al
jne 0x1400568f0
movzx edx, byte [rsi + 0x20]
mov r15d, 1
cmp ebp, 0x10
je 0x140056925
movsxd rax, ebp
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x30], rax
mov rax, qword [0x140152c70]
mov qword [rsp + 0x48], rax
add rax, 0x18
mov qword [rsp + 0x78], rax
test dl, dl
jne 0x140056cd8
movzx eax, byte [rsp + 0x3c]
xor edx, edx
add eax, 0x7fffffff
mov dword [rsp + 0x2c], eax
div dword [rsp + 0x28]
mov dword [rsp + 0x24], eax
movzx eax, byte [rsi + 0x88]
mov byte [rsp + 0x3a], al
test al, al
jne 0x140056b40
xor r14d, r14d
test r15b, r15b
jne 0x140056f08
xor r12d, r12d
cmp qword [rsp + 0x30], 0xa
ja 0x14005683f
lea eax, [rbp + 0x30]
mov byte [rsp + 0x3a], al
cmp bl, 0x2f
jle 0x1400569b0
cmp byte [rsp + 0x3a], bl
jle 0x1400569b0
cmp dword [rsp + 0x24], r12d
jb 0x1400569a0
mov eax, dword [rsp + 0x28]
movsx ebx, bl
sub ebx, 0x30
imul r12d, eax
mov eax, dword [rsp + 0x2c]
sub eax, ebx
cmp eax, r12d
setb al
add r12d, ebx
add r13d, 1
or r14d, eax
mov rbx, qword [rsp + 0x60]
mov rax, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rax, rdx
jae 0x140056d28
add rax, 1
mov dword [rsp + 0x68], 0xffffffff
mov qword [rbx + 0x10], rax
cmp rax, rdx
jae 0x140056dbf
xor ebp, ebp
mov rcx, qword [rsp + 0x50]
cmp dword [rsp + 0x58], 0xffffffff
sete al
test rcx, rcx
je 0x14005673d
test al, al
jne 0x140056e10
cmp bpl, al
jne 0x140056de8
mov rcx, qword [rsp + 0x78]
mov byte [rsp + 0x3a], 1
cmp qword [rcx - 0x18], 0
je 0x1400569c8
lea rbx, [rsp + 0x78]
movsx edx, r13b
mov rcx, rbx
call sym.unk_2662
mov rdx, qword [rsi + 0x18]
mov rcx, qword [rsi + 0x10]
mov r8, rbx
call sym.unk_5975
test al, al
je 0x140056d88
mov rcx, qword [rsp + 0x78]
test r13d, r13d
jne 0x14005679f
cmp dil, 1
je 0x14005679f
cmp qword [rcx - 0x18], 0
je 0x1400569db
test r15b, r15b
jne 0x1400569db
test r14b, r14b
je 0x140056d68
mov eax, dword [rsp + 0x3c]
mov rdi, qword [rsp + 0x100]
and eax, 1
add eax, 0x7fffffff
mov dword [rdi], eax
mov rax, qword [rsp + 0xf8]
mov dword [rax], 4
jmp 0x1400569f7
cmp byte [rsi + 0x49], al
jne 0x140056528
jmp 0x140056575
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x48]
cmp eax, 0xffffffff
je 0x140056e96
xor ebp, ebp
mov rcx, qword [rsp + 0x50]
cmp dword [rsp + 0x58], 0xffffffff
sete al
test rcx, rcx
je 0x14005681c
test al, al
jne 0x140056e40
cmp al, bpl
je 0x140056746
test rbx, rbx
je 0x1400569b0
mov rax, qword [rbx + 0x10]
cmp rax, qword [rbx + 0x18]
jae 0x140056ae3
movzx ebx, byte [rax]
movsx eax, bl
lea edx, [rbx - 0x30]
mov ecx, ebx
sub eax, 0x30
cmp dl, 9
ja 0x140056b10
cmp dword [rsp + 0x24], r12d
jb 0x140056990
mov ecx, dword [rsp + 0x28]
mov edx, dword [rsp + 0x2c]
imul r12d, ecx
sub edx, eax
cmp edx, r12d
setb dl
add r12d, eax
add r13d, 1
or r14d, edx
mov rbx, qword [rsp + 0x60]
mov rax, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rax, rdx
jae 0x140056d08
add rax, 1
mov dword [rsp + 0x68], 0xffffffff
mov qword [rbx + 0x10], rax
cmp rax, rdx
jb 0x140056800
jmp 0x1400567ee
mov eax, edi
xor eax, 1
cmp ebp, 0xa
sete cl
or al, cl
je 0x1400565a2
cmp ebp, 8
sete dil
test r14d, r14d
sete dl
or dil, dl
je 0x140056ad8
xor r13d, r13d
mov ebp, 8
jmp 0x1400565ce
test r12, r12
je 0x140056ac8
mov rax, qword [r12 + 0x10]
cmp rax, qword [r12 + 0x18]
jae 0x140056aa8
movzx ebx, byte [rax]
movzx edx, byte [rsi + 0x20]
test dil, dil
jne 0x14005657a
xor r15d, r15d
cmp ebp, 0x10
jne 0x14005663a
mov dword [rsp + 0x28], 0x10
mov ebp, 0x16
mov qword [rsp + 0x30], 0x16
jmp 0x140056646
mov rax, qword [rcx + 0x18]
cmp qword [rcx + 0x10], rax
jae 0x140056958
xor eax, eax
jmp 0x14005661e
mov rax, qword [rcx]
mov byte [rsp + 0x3a], r8b
mov byte [rsp + 0x24], dl
call qword [rax + 0x48]
movzx edx, byte [rsp + 0x24]
movzx r8d, byte [rsp + 0x3a]
cmp eax, 0xffffffff
jne 0x14005694a
mov qword [rsp + 0x50], 0
mov eax, edx
jmp 0x14005661e
mov r14d, 1
jmp 0x14005687c
mov r14d, 1
jmp 0x1400566f2
xor r15d, r15d
nop
mov byte [rsp + 0x3a], 0
mov rcx, qword [rsp + 0x78]
cmp qword [rcx - 0x18], 0
jne 0x14005675b
nop dword [rax]
test r13d, r13d
jne 0x14005679f
cmp dil, 1
je 0x14005679f
mov rax, qword [rsp + 0x100]
mov dword [rax], 0
mov rax, qword [rsp + 0xf8]
mov dword [rax], 4
cmp byte [rsp + 0x3a], 0
je 0x140056a09
mov rax, qword [rsp + 0xf8]
or dword [rax], 2
mov rax, qword [rsp + 0xd0]
movdqa xmm2, xmmword [rsp + 0x60]
sub rcx, 0x18
movups xmmword [rax], xmm2
mov rax, qword [rsp + 0x48]
cmp rcx, rax
jne 0x140056e7a
mov rax, qword [rsp + 0xd0]
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x50]
mov rax, qword [r12 + 0x10]
mov rdx, qword [r12 + 0x18]
mov dword [rsp + 0x68], 0xffffffff
cmp rax, rdx
jb 0x140056600
nop dword [rax]
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x48]
cmp eax, 0xffffffff
jne 0x140056600
mov qword [rsp + 0x60], 0
xor r12d, r12d
mov r8d, 1
jmp 0x140056603
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x48]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x14005690c
xor r8d, r8d
mov qword [rsp + 0x60], r8
nop dword [rax]
mov ebx, 0xffffffff
jmp 0x14005690c
add r13d, 1
mov edi, eax
jmp 0x1400565ce
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x48]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x14005683f
xor r11d, r11d
mov ebx, 0xffffffff
mov ecx, 0xffffffff
mov qword [rsp + 0x60], r11
nop dword [rax]
movsx ebx, bl
lea edx, [rcx - 0x61]
lea eax, [rbx - 0x57]
cmp dl, 5
jbe 0x140056853
sub ecx, 0x41
cmp cl, 5
ja 0x1400569b0
lea eax, [rbx - 0x37]
jmp 0x140056853
test r15b, r15b
jne 0x140056f18
movzx eax, byte [rsi + 0x20]
lea rbp, [rsi + 0x72]
xor r14d, r14d
xor r12d, r12d
test al, al
je 0x140056b64
cmp byte [rsi + 0x49], bl
je 0x140056c3b
mov r8, qword [rsp + 0x30]
cmp byte [rsi + 0x48], bl
sete al
test r8, r8
sete dl
or al, dl
jne 0x1400569b0
movsx edx, bl
mov rcx, rbp
call sym.memchr
test rax, rax
je 0x1400569ab
sub rax, rbp
lea edx, [rax - 6]
cmp eax, 0xf
cmovg eax, edx
cmp dword [rsp + 0x24], r12d
jb 0x140056c60
mov ecx, dword [rsp + 0x28]
mov edx, dword [rsp + 0x2c]
imul r12d, ecx
sub edx, eax
cmp edx, r12d
setb dl
add r12d, eax
add r13d, 1
or r14d, edx
mov rbx, qword [rsp + 0x60]
mov rax, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rax, rdx
jae 0x140056d48
add rax, 1
mov dword [rsp + 0x68], 0xffffffff
mov qword [rbx + 0x10], rax
mov byte [rsp + 0x3b], 0
cmp rax, rdx
jae 0x140056eb0
mov rcx, qword [rsp + 0x50]
cmp dword [rsp + 0x58], 0xffffffff
sete al
test rcx, rcx
je 0x140056c10
test al, al
jne 0x140056c70
cmp byte [rsp + 0x3b], al
je 0x1400569b5
mov rcx, qword [rsp + 0x40]
call sym.unk_3222
mov ebx, eax
movzx eax, byte [rsi + 0x20]
test al, al
je 0x140056b64
cmp byte [rsi + 0x49], bl
jne 0x140056b64
test r13d, r13d
je 0x140056f2b
movsx edx, r13b
lea rcx, [rsp + 0x78]
call sym.unk_2662
xor r13d, r13d
jmp 0x140056bc6
movzx r14d, byte [rsp + 0x3a]
jmp 0x140056bc6
mov rbx, qword [rcx + 0x18]
xor eax, eax
cmp qword [rcx + 0x10], rbx
jb 0x140056c10
mov rax, qword [rcx]
call qword [rax + 0x48]
cmp eax, 0xffffffff
je 0x140056f45
add eax, 1
sete al
jmp 0x140056c10
cmp ebp, 0x10
jne 0x14005663a
mov rax, qword [0x140152c70]
mov dword [rsp + 0x28], 0x10
mov ebp, 0x16
mov qword [rsp + 0x30], 0x16
mov qword [rsp + 0x48], rax
add rax, 0x18
mov qword [rsp + 0x78], rax
nop dword [rax]
lea rcx, [rsp + 0x78]
mov edx, 0x20
call sym.unk_2638
jmp 0x140056663
mov byte [rsp + 0x3c], 0
movzx edx, byte [rsi + 0x20]
xor ebx, ebx
xor r13d, r13d
xor edi, edi
jmp 0x140056631
mov rcx, rbx
call sym.unk_4193
mov rax, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
mov dword [rsp + 0x68], 0xffffffff
jmp 0x1400568a2
mov rcx, rbx
call sym.unk_4193
mov rax, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
mov dword [rsp + 0x68], 0xffffffff
jmp 0x140056718
mov rcx, rbx
call sym.unk_4193
mov rax, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
mov dword [rsp + 0x68], 0xffffffff
jmp 0x140056bec
mov eax, r12d
mov rdi, qword [rsp + 0x100]
neg eax
cmp byte [rsp + 0x3c], 0
cmove eax, r12d
mov dword [rdi], eax
jmp 0x1400569f7
mov rax, qword [rsp + 0xf8]
mov dword [rax], 4
jmp 0x140056784
mov byte [rsp + 0x3c], 0
movzx edx, byte [rsi + 0x20]
jmp 0x140056575
movzx edx, byte [rsi + 0x20]
xor edi, edi
mov r15d, eax
xor r13d, r13d
jmp 0x140056631
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x48]
cmp eax, 0xffffffff
jne 0x140056721
xor r10d, r10d
xor ebx, ebx
mov ebp, 1
mov qword [rsp + 0x60], r10
jmp 0x140056723
test rbx, rbx
je 0x1400569b0
mov rax, qword [rbx + 0x10]
cmp rax, qword [rbx + 0x18]
jae 0x140056ee2
movzx ebx, byte [rax]
jmp 0x1400566b0
mov rdx, qword [rcx + 0x18]
xor eax, eax
cmp qword [rcx + 0x10], rdx
jb 0x14005673d
mov rax, qword [rcx]
call qword [rax + 0x48]
cmp eax, 0xffffffff
je 0x140056f38
add eax, 1
sete al
jmp 0x14005673d
mov rdx, qword [rcx + 0x18]
xor eax, eax
cmp qword [rcx + 0x10], rdx
jb 0x14005681c
mov rax, qword [rcx]
call qword [rax + 0x48]
cmp eax, 0xffffffff
sete al
jne 0x14005681c
xor edx, edx
mov qword [rsp + 0x50], rdx
jmp 0x14005681c
mov edi, 1
jmp 0x140056631
lea rdx, [rsp + 0x77]
call sym.unk_4192
jmp 0x140056a2c
xor r15d, r15d
mov edi, 1
jmp 0x14005663a
xor ecx, ecx
xor ebx, ebx
mov ebp, 1
mov qword [rsp + 0x60], rcx
jmp 0x140056802
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x48]
cmp eax, 0xffffffff
sete byte [rsp + 0x3b]
jne 0x140056bfa
xor ecx, ecx
mov qword [rsp + 0x60], rcx
jmp 0x140056bfa
call sym.unk_4193
jmp 0x140056548
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x48]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x1400566b0
xor r8d, r8d
mov qword [rsp + 0x60], r8
jmp 0x1400569b0
mov byte [rsp + 0x3a], r15b
xor r12d, r12d
xor r15d, r15d
jmp 0x1400569b5
mov byte [rsp + 0x3a], r15b
xor r12d, r12d
xor r14d, r14d
xor r15d, r15d
jmp 0x1400569b5
mov byte [rsp + 0x3a], 0
mov r15d, eax
jmp 0x1400569b5
xor r9d, r9d
mov qword [rsp + 0x50], r9
jmp 0x140056e2f
xor edx, edx
mov qword [rsp + 0x50], rdx
jmp 0x140056c8b