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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0xa70a24]
mov esi, dword [ebp + 0xc]
mov edi, edx
mov ebx, ecx
test eax, eax
je 0x5a303e
and dword [esp + 0x3c], 0
and dword [esp + 0x38], 0
and dword [esp + 0x48], 0
mov eax, dword [esi + 0x100]
mov dword [esi + 0x100], 3
cmp eax, 3
je 0x5a328b
mov dword [esp + 4], edi
lea edi, [esp + 0x6c]
add esi, 0x104
mov dword [edi - 4], eax
push 0xd
pop ecx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0xa70a24]
test eax, eax
je 0x5a31a5
mov eax, dword [ebx + 0x3c]
mov esi, dword [esp + 0x88]
mov edi, dword [esp + 0x8c]
and dword [ebx + 0x3c], 0
cmp eax, 1
je 0x5a30c1
cmp eax, 2
jne 0x5a346d
mov eax, dword [0xa70a24]
test eax, eax
je 0x5a321b
lea ecx, [esp + 0x68]
jmp 0x5a3286
mov ecx, 0xa700cc
call fcn.0040e00b
test al, al
je 0x5a2fb6
mov ecx, dword [0xa700cc]
movzx edx, al
call fcn.00605cf4
test al, al
je 0x5a2fb6
mov edx, dword [0xa700cc]
mov dword [esp + 4], edi
mov edi, ebx
lea ebx, [esp + 0xb8]
lea ecx, [esp + 0x38]
mov dword [ebx], str.dest_is_out_of_bounds
and dword [ebx + 4], 0
lea eax, [edx + 0x1c]
mov dword [ebx + 8], eax
push ebx
mov ebx, edi
mov edi, dword [esp + 8]
call fcn.00605c1b
pop eax
lea ecx, [esp + 0x38]
mov eax, dword [ecx]
or eax, dword [ecx + 4]
je 0x5a2fc5
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x38]
push eax
call fcn.00606ebe
pop eax
jmp 0x5a2fc5
movsd xmm1, qword [esp + 0x70]
lea ecx, [esp + 0x18]
mov dword [esp], ebx
movsd xmm0, qword [esp + 0x68]
mov eax, dword [esp + 0x98]
movzx edx, word [esp + 0x9c]
mov bl, byte [esp + 0x9e]
mov bh, byte [esp + 0x90]
movsd qword [ecx + 8], xmm1
movsd xmm1, qword [esp + 0x78]
movsd qword [ecx], xmm0
movsd qword [ecx + 0x10], xmm1
mov dword [ecx + 0x18], eax
mov byte [ecx + 0x1e], bl
mov word [ecx + 0x1c], dx
call fcn.0058f47f
test eax, eax
je 0x5a3282
mov eax, dword [ebp + 8]
test bh, bh
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], edi
mov dword [esp + 0x50], eax
je 0x5a3136
or bl, 1
mov byte [esp + 0x36], bl
movsd xmm1, qword [esp + 0x28]
lea edi, [esp + 0xb8]
movsd xmm0, qword [esp + 0x30]
movsd xmm2, qword [esp + 0x18]
lea esi, [esp + 0x50]
mov ecx, esi
movsd qword [edi + 0x18], xmm1
movsd xmm1, qword [esp + 0x20]
movsd qword [edi + 0x20], xmm0
movsd qword [edi + 8], xmm2
movsd qword [edi + 0x10], xmm1
mov byte [edi], 0
call fcn.004c9289
mov edx, dword [esp + 4]
lea ecx, [eax + 0x64]
push edi
call fcn.005a41d3
pop eax
mov ecx, esi
call fcn.004c92a1
cmp dword [eax + 0x3c], 0
jle 0x5a319e
mov ecx, dword [esp]
lea edx, [esp + 0x50]
call fcn.004caf11
mov bl, 1
jmp 0x5a328d
mov ecx, 0xa700d8
call fcn.0040e00b
test al, al
je 0x5a3001
mov ecx, dword [0xa700d8]
movzx edx, al
call fcn.00605cf4
test al, al
je 0x5a3001
mov edx, dword [0xa700d8]
mov edi, dword [edx + 0x20]
mov eax, dword [edx + 0x1c]
mov ecx, dword [edx + 0x24]
mov dword [esp], edx
mov edx, dword [edx + 0x28]
test edi, edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
je 0x5a32a9
mov dword [esp + 0xbc], edi
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], edx
and dword [esp + 0xc8], 0
xor esi, esi
inc esi
jmp 0x5a32ad
mov ecx, 0xa700e4
call fcn.0040e00b
test al, al
je 0x5a3035
mov ecx, dword [0xa700e4]
movzx edx, al
call fcn.00605cf4
test al, al
je 0x5a3035
mov ecx, dword [0xa700e4]
mov edx, dword [ecx + 0x20]
lea ebx, [ecx + 0x1c]
test edx, edx
je 0x5a3405
mov eax, dword [ecx + 0x1c]
mov esi, dword [ecx + 0x24]
mov ecx, dword [ecx + 0x28]
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], esi
mov dword [esp + 0xc4], ecx
and dword [esp + 0xc8], 0
jmp 0x5a3407
lea ecx, [esp + 0x18]
call fcn.0058aa30
xor ebx, ebx
lea esi, [esp + 0x38]
mov ecx, esi
call fcn.0058bfa1
mov ecx, esi
call fcn.004cb2d7
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor esi, esi
xor eax, eax
lea edx, [esp + 0xb8]
lea ecx, [esp + 0x174]
mov dword [edx], eax
push 0x9ff33c
call fcn.0057917a
pop eax
mov dword [esp + 0x18], 0x9ff358
mov dword [esp + 0x1c], 1
and dword [esp + 0x28], 0
mov dword [esp + 0x20], str.dest_is_out_of_bounds
and dword [esp + 0x24], 0
cmp esi, edi
jae 0x5a331c
mov eax, dword [esp + 0xc]
mov dword [esp + 0xbc], edi
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 8]
mov dword [esp + 0xc4], eax
mov eax, dword [esp]
mov dword [esp + 0xc8], esi
inc esi
jmp 0x5a3321
mov eax, dword [esp]
xor ecx, ecx
add eax, 0x1c
lea edx, [esp + 0xb8]
mov dword [edx], ecx
mov dword [esp], eax
lea ecx, [esp + 0xa4]
push 0x9ff33c
call fcn.0057917a
pop eax
lea eax, [esp + 0x68]
mov dword [esp + 0x14], eax
xor eax, eax
cmp esi, edi
jae 0x5a3378
mov eax, dword [esp + 0xc]
mov dword [esp + 0xbc], edi
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 8]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc8], esi
lea esi, [esp + 0xb8]
lea edi, [esp + 0x50]
mov dword [esi], eax
mov ecx, edi
mov edx, esi
push 0x9ff33c
call fcn.0057917a
pop eax
lea ecx, [esp + 0x68]
call fcn.0058f47f
lea ecx, [esp + 0x64]
lea edx, [esp + 0x14]
mov dword [ecx], eax
lea eax, [esp + 0x174]
mov dword [esi], eax
lea eax, [esp + 0x18]
mov dword [esi + 4], eax
lea eax, [esp + 0xa4]
mov dword [esi + 8], 0x9fd8ec
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], 0x9ff360
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], ecx
mov ecx, dword [esp]
lea edx, [esp + 0x188]
mov dword [esi + 0x20], 0x9fe8c8
mov dword [edx], esi
mov dword [edx + 4], 3
mov dword [edx + 8], ecx
mov ecx, dword [0xa700d8]
call fcn.00606f01
jmp 0x5a3001
xor eax, eax
lea esi, [esp + 0xb8]
lea edi, [esp + 0x18]
mov dword [esi], eax
mov ecx, edi
mov edx, esi
push 0x9ff370
call fcn.0057917a
pop eax
xor eax, eax
lea ecx, [esp + 0x50]
lea edx, [esp + 0xa4]
mov dword [esi], str.not_reclaiming_frame_for_cancelled_stream
inc eax
mov dword [ecx], edi
mov dword [ecx + 4], esi
mov dword [edx], ecx
mov dword [ecx + 8], 0x9fd8ec
mov ecx, dword [0xa700e4]
mov dword [esi + 4], eax
and dword [esi + 0x10], 0
mov dword [esi + 8], str.dest_is_out_of_bounds
and dword [esi + 0xc], 0
mov dword [edx + 4], eax
mov dword [edx + 8], ebx
call fcn.00606f01
jmp 0x5a3035
push 0x23
pop edx
mov ecx, str.wasnt_expecting_a_frame_to_reclaim
push 0x9ff3d8
call fcn.0063f055
pop eax
ud2