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

Disassembly:
jmp 0x1400aa870
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x2a8
mov rax, qword [0x14039ba10]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x2c0]
mov rax, qword [rax + 0x1a0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x2c0]
movsx eax, byte [rax + 0x20a]
test eax, eax
jle 0x1400aa8bb
mov byte [rsp + 0x31], 1
jmp 0x1400aa8c0
mov byte [rsp + 0x31], 0
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
mov rax, qword [rsp + 0x2c0]
movsx eax, byte [rax + 0x20c]
test eax, eax
jle 0x1400aa8e3
mov byte [rsp + 0x32], 1
jmp 0x1400aa8e8
mov byte [rsp + 0x32], 0
movzx eax, byte [rsp + 0x32]
mov byte [rsp + 0x34], al
mov rax, qword [rsp + 0x50]
cmp dword [rax], 0
je 0x1400aa917
mov r8d, 0x93c
lea rdx, [0x14027d930]
lea rcx, str.splitter___Current__0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
mov dword [rsp + 0x7c], 0
lea r9, [0x14009d7f0]
mov r8d, 4
mov edx, Ordinal_41
lea rcx, [rsp + 0x200]
call fcn.140004205
mov dword [rsp + 0x3c], 0
jmp 0x1400aa952
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x2c0]
mov eax, dword [rax + 0x74]
cmp dword [rsp + 0x3c], eax
jge 0x1400aad32
mov eax, dword [rsp + 0x3c]
mov ecx, 1
mov qword [rsp + 0x100], rcx
movzx ecx, al
mov rax, qword [rsp + 0x100]
shl rax, cl
mov rcx, qword [rsp + 0x2c0]
mov rcx, qword [rcx + 0x58]
and rcx, rax
mov rax, rcx
test rax, rax
jne 0x1400aa99f
jmp 0x1400aa948
mov rax, qword [rsp + 0x2c0]
add rax, 0x18
mov qword [rsp + 0x108], rax
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x108]
call fcn.14000734c
mov qword [rsp + 0x60], rax
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1400aa9df
mov dword [rsp + 0x90], 2
jmp 0x1400aa9ea
mov dword [rsp + 0x90], 1
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0xd0], eax
mov dword [rsp + 0x40], 0
jmp 0x1400aaa0c
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0xd0]
cmp dword [rsp + 0x40], eax
jge 0x1400aad24
cmp dword [rsp + 0x40], 0
jne 0x1400aaa33
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0x58]
mov byte [rsp + 0x33], al
jmp 0x1400aaa40
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0x59]
mov byte [rsp + 0x33], al
movzx eax, byte [rsp + 0x33]
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x50]
add rax, 8
mov qword [rsp + 0x110], rax
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x110]
call fcn.14000740f
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
cmp dword [rax], 0
jle 0x1400aaabd
mov rax, qword [rsp + 0x88]
mov rcx, rax
call fcn.140006721
cmp dword [rax + 0x20], 0
jne 0x1400aaabd
mov rax, qword [rsp + 0x88]
mov rcx, rax
call fcn.140006721
cmp qword [rax + 0x28], 0
jne 0x1400aaabd
mov rax, qword [rsp + 0x88]
mov rcx, rax
call fcn.140004d95
mov rax, qword [rsp + 0x88]
cmp dword [rax], 1
je 0x1400aaacf
jmp 0x1400aaa02
mov rax, qword [rsp + 0x60]
mov eax, dword [rax]
and eax, 0x100
test eax, eax
jne 0x1400aab57
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x1400aab09
mov rax, qword [rsp + 0x60]
movss xmm1, dword [rax + 0x48]
mov rax, qword [rsp + 0x60]
movss xmm0, dword [rax + 0x44]
call fcn.14009ced0
movss dword [rsp + 0x74], xmm0
jmp 0x1400aab41
cmp dword [rsp + 0x40], 0
jne 0x1400aab31
mov rax, qword [rsp + 0x60]
movss xmm1, dword [rax + 0x48]
mov rax, qword [rsp + 0x60]
movss xmm0, dword [rax + 0x40]
call fcn.14009ced0
movss dword [rsp + 0x74], xmm0
jmp 0x1400aab41
mov rax, qword [rsp + 0x60]
movss xmm0, dword [rax + 0x44]
movss dword [rsp + 0x74], xmm0
mov rax, qword [rsp + 0x60]
movss xmm0, dword [rsp + 0x74]
comiss xmm0, dword [rax + 0x28]
jbe 0x1400aab57
jmp 0x1400aaa02
movzx eax, byte [rsp + 0x34]
test eax, eax
je 0x1400aab82
mov rax, qword [rsp + 0x2c0]
movsx eax, byte [rax + 0x20c]
cmp dword [rsp + 0x3c], eax
jge 0x1400aab82
mov dword [rsp + 0x98], 0
jmp 0x1400aab8d
mov dword [rsp + 0x98], 1
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1400aabaa
cmp dword [rsp + 0x40], 0
jne 0x1400aabaa
mov dword [rsp + 0x94], 0
jmp 0x1400aabb5
mov dword [rsp + 0x94], 2
mov eax, dword [rsp + 0x94]
mov ecx, dword [rsp + 0x98]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x9c], eax
cmp dword [rsp + 0x78], 0x84
jl 0x1400aabf4
mov r8d, 0x96d
lea rdx, [0x14027da00]
lea rcx, str.channel_no____4__64__2_
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
movsxd rax, dword [rsp + 0x9c]
imul rax, rax, 0x28
lea rax, [rsp + rax + 0x200]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x10], 0
jne 0x1400aac63
movss xmm0, dword [0x14026a6ec]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [0x14026a6ec]
movss xmm2, dword [0x14026a6d4]
movss xmm1, dword [0x14026a6d4]
lea rcx, [rsp + 0x1d0]
call fcn.14000150f
mov rdi, qword [rsp + 0x80]
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x80]
add rax, 0x14
mov qword [rsp + 0x118], rax
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x118]
call fcn.140008f49
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
inc eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x10], eax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x120], rax
xor edx, edx
mov rcx, qword [rsp + 0x120]
call fcn.140004cc8
mov rdx, rax
lea rcx, [rsp + 0x1b0]
call fcn.1400037ce
lea rdx, [rsp + 0x1b0]
mov rcx, qword [rsp + 0x128]
call fcn.140003bf7
mov eax, dword [rsp + 0x9c]
mov ecx, 1
mov dword [rsp + 0xd4], ecx
movzx ecx, al
mov eax, dword [rsp + 0xd4]
shl eax, cl
mov ecx, dword [rsp + 0x7c]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x7c], eax
jmp 0x1400aaa02
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x57], 0xff
jmp 0x1400aa948
cmp dword [rsp + 0x7c], 0
je 0x1400ab395
mov dword [rsp + 0x1a0], 2
mov rax, qword [rsp + 0xb0]
add rax, 0x4b40
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 4]
sub eax, 2
mov edx, eax
mov rcx, qword [rsp + 0x130]
call fcn.140007036
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x4b48]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0xe8]
call fcn.140004d77
mov rax, qword [rsp + 0x50]
mov r8d, dword [rax + 4]
mov edx, 2
lea rcx, [rsp + 0xe8]
call fcn.140002874
mov rax, qword [rsp + 0x2c0]
movzx eax, byte [rax + 0x210]
mov edx, eax
lea rcx, [rsp + 0xe8]
call fcn.1400059d9
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1400aae0b
mov rax, qword [rsp + 0x2c0]
movzx eax, byte [rax + 0x210]
cmp eax, 1
jne 0x1400aae0b
mov r8d, 0x998
lea rdx, [0x14027dad0]
lea rcx, str.has_freeze_v__false__table__Bg2DrawChannelUnfrozen___TABLE_DRAW_CHANNEL_BG2_FROZEN
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1400aae21
mov dword [rsp + 0xa0], 3
jmp 0x1400aae2c
mov dword [rsp + 0xa0], 2
mov rax, qword [rsp + 0x50]
mov ecx, dword [rsp + 0xa0]
mov eax, dword [rax + 4]
sub eax, ecx
mov dword [rsp + 0x5c], eax
lea rax, [rsp + 0xd8]
mov rcx, qword [rsp + 0x2c0]
mov rdi, rax
lea rsi, [rcx + 0x160]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x38], 0
jmp 0x1400aae76
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 4
jge 0x1400ab255
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x28
mov eax, dword [rsp + rax + 0x210]
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0
je 0x1400ab1d4
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x28
lea rax, [rsp + rax + 0x200]
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0xb8]
mov rdi, rax
mov rsi, qword [rsp + 0xa8]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x38]
and eax, 1
test eax, eax
je 0x1400aaee7
movzx eax, byte [rsp + 0x34]
test eax, eax
jne 0x1400aaf07
movss xmm1, dword [rsp + 0xd8]
movss xmm0, dword [rsp + 0xb8]
call fcn.14009cf60
movss dword [rsp + 0xb8], xmm0
mov eax, dword [rsp + 0x38]
and eax, 2
test eax, eax
je 0x1400aaf1b
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x1400aaf3b
movss xmm1, dword [rsp + 0xdc]
movss xmm0, dword [rsp + 0xbc]
call fcn.14009cf60
movss dword [rsp + 0xbc], xmm0
mov eax, dword [rsp + 0x38]
and eax, 1
test eax, eax
je 0x1400aaf66
movss xmm1, dword [rsp + 0xe0]
movss xmm0, dword [rsp + 0xc0]
call fcn.14009ced0
movss dword [rsp + 0xc0], xmm0
mov eax, dword [rsp + 0x38]
and eax, 2
test eax, eax
je 0x1400aafa5
mov rax, qword [rsp + 0x2c0]
mov eax, dword [rax + 4]
and eax, 0x20000
test eax, eax
jne 0x1400aafa5
movss xmm1, dword [rsp + 0xe4]
movss xmm0, dword [rsp + 0xc4]
call fcn.14009ced0
movss dword [rsp + 0xc4], xmm0
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x10]
mov ecx, dword [rsp + 0x5c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0x44], 0
jmp 0x1400aafd0
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 5
jge 0x1400ab008
movsxd rax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0xa8]
mov eax, dword [rcx + rax*4 + 0x14]
not eax
movsxd rcx, dword [rsp + 0x44]
mov ecx, dword [rsp + rcx*4 + 0xe8]
and ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x44]
mov dword [rsp + rcx*4 + 0xe8], eax
jmp 0x1400aafc6
mov dword [rsp + 0x48], 0
jmp 0x1400ab01c
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 4]
cmp dword [rsp + 0x48], eax
jge 0x1400ab1d4
cmp dword [rsp + 0x70], 0
je 0x1400ab1d4
mov rax, qword [rsp + 0xa8]
add rax, 0x14
mov qword [rsp + 0x138], rax
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x138]
call fcn.140003a0d
movzx eax, al
test eax, eax
jne 0x1400ab067
jmp 0x1400ab012
mov rax, qword [rsp + 0xa8]
add rax, 0x14
mov qword [rsp + 0x140], rax
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x140]
call fcn.1400059d9
mov eax, dword [rsp + 0x70]
dec eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x50]
add rax, 8
mov qword [rsp + 0x148], rax
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x148]
call fcn.14000740f
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
cmp dword [rax], 1
jne 0x1400ab113
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x150], rax
xor edx, edx
mov rcx, qword [rsp + 0x150]
call fcn.140004cc8
mov rdx, rax
lea rcx, [rsp + 0x1e0]
call fcn.1400037ce
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.140006668
movzx eax, al
test eax, eax
jne 0x1400ab12f
mov r8d, 0x9c3
lea rdx, [0x14027dc20]
lea rcx, str.channel___CmdBuffer.Size__1__merge_clip_rect.Contains_ImRect_channel___CmdBuffer_0_.ClipRect__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0xb8]
call fcn.14000804e
lea rcx, [rsp + 0x1c0]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x158], rax
xor edx, edx
mov rcx, qword [rsp + 0x158]
call fcn.140004cc8
lea rcx, [rsp + 0x1c0]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x68]
add rax, 0x20
mov qword [rsp + 0x68], rax
mov rdi, qword [rsp + 0x168]
mov rsi, qword [rsp + 0xc8]
mov ecx, reloc.WLDAP32.dll_Ordinal_32
rep movsb byte [rdi], byte [rsi]
jmp 0x1400ab012
cmp dword [rsp + 0x38], 1
jne 0x1400ab250
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1400ab250
mov rax, qword [rsp + 0x50]
add rax, 8
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x68]
add rax, 0x20
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x2c0]
movzx eax, byte [rax + 0x210]
mov edx, eax
mov rcx, qword [rsp + 0x1a8]
call fcn.14000740f
mov rdi, qword [rsp + 0x178]
mov rsi, rax
mov ecx, reloc.WLDAP32.dll_Ordinal_32
rep movsb byte [rdi], byte [rsi]
jmp 0x1400aae6c
mov dword [rsp + 0x58], 0
jmp 0x1400ab269
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 4]
cmp dword [rsp + 0x58], eax
jge 0x1400ab31b
cmp dword [rsp + 0x5c], 0
je 0x1400ab31b
mov edx, dword [rsp + 0x58]
lea rcx, [rsp + 0xe8]
call fcn.140003a0d
movzx eax, al
test eax, eax
jne 0x1400ab2a0
jmp 0x1400ab25f
mov rax, qword [rsp + 0x50]
add rax, 8
mov qword [rsp + 0x180], rax
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x180]
call fcn.14000740f
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x68]
add rax, 0x20
mov qword [rsp + 0x68], rax
mov rdi, qword [rsp + 0x190]
mov rsi, qword [rsp + 0x198]
mov ecx, reloc.WLDAP32.dll_Ordinal_32
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x5c]
dec eax
mov dword [rsp + 0x5c], eax
jmp 0x1400ab25f
mov rax, qword [rsp + 0xb0]
movsxd rax, dword [rax + 0x4b40]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0xb0]
add rax, qword [rcx + 0x4b48]
cmp qword [rsp + 0x68], rax
je 0x1400ab360
mov r8d, 0x9d7
lea rdx, [0x14027dd90]
lea rcx, str.dst_tmp__g.DrawChannelsTempMergeBuffer.Data__g.DrawChannelsTempMergeBuffer.Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 4]
sub eax, 2
cdqe
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x10]
add rcx, 0x40
mov rdx, qword [rsp + 0xb0]
mov rdi, rcx
mov rsi, qword [rdx + 0x4b48]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
add rsp, 0x2a8
pop rdi
pop rsi
ret