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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x9c
mov ebx, dword [ecx + 0x10]
mov ebp, edx
mov esi, ecx
test ebx, ebx
je 0x4a7ba7
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
cmp word [ebx + 0x10e], 0xb
mov dword [esp + 0xc], esi
jae 0x4a7bf3
lea edx, [esp + 0x3c]
movsd xmm0, qword [esi]
lea edi, [esp + 0x28]
mov dword [edx], ebx
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
mov ecx, dword [esi + 8]
lea eax, [esp + 0x4c]
lea esi, [esp + 0x84]
movsd qword [eax], xmm0
movsd xmm0, qword [ebp]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 8]
movsd qword [edi], xmm0
mov dword [edi + 8], ecx
mov ecx, esi
push edi
push eax
call fcn.004a83cb
pop eax
pop ecx
mov edx, dword [esi]
mov edi, dword [esi + 8]
jmp 0x4a7d8f
mov edi, dword [esi + 0xc]
call fcn.004a813c
mov ecx, esi
mov esi, eax
lea edx, [esp + 0x68]
lea ebx, [esp + 0x28]
mov eax, dword [ecx + 8]
movsd xmm0, qword [ecx]
mov ecx, esi
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
movsd qword [edx], xmm0
movsd xmm0, qword [ebp]
mov dword [ebx + 8], eax
movsd qword [ebx], xmm0
push ebx
call fcn.004a8168
pop ecx
mov dword [edi], esi
and dword [edi + 4], 0
mov dword [edi + 8], 1
jmp 0x4a80ef
cmp ecx, 5
mov dword [esp + 0x24], eax
mov dword [esp + 8], ebp
jae 0x4a7c0b
mov dl, 1
mov dword [esp + 4], edx
push 4
pop esi
jmp 0x4a7c41
je 0x4a7c26
cmp ecx, 6
jne 0x4a7c33
push 5
pop esi
mov dword [esp + 4], 0
mov dword [esp], 0
jmp 0x4a7c44
mov dl, 1
mov esi, ecx
mov dword [esp], ecx
mov dword [esp + 4], edx
jmp 0x4a7c44
push 6
pop esi
add ecx, 0xfffffff9
mov dword [esp + 4], 0
mov dword [esp], ecx
call fcn.004a813c
movzx ecx, word [ebx + 0x10e]
mov edx, esi
mov dword [esp + 0x48], esi
not esi
mov ebp, eax
mov dword [esp + 0x18], eax
add esi, ecx
mov word [eax + 0x10e], si
imul eax, edx, 0xc
lea edx, [ebp + 4]
lea edi, [ebx + eax + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [edi - 0xc]
mov ecx, dword [edi - 4]
mov dword [esp + 0x14], eax
mov eax, dword [edi - 8]
mov dword [esp + 0x2c], ecx
mov ecx, esi
mov dword [esp + 0x28], eax
movsd xmm0, qword [edi + 0x78]
movsd qword [esp + 0x30], xmm0
mov eax, dword [edi + 0x80]
mov dword [esp + 0x38], eax
call fcn.00487523
mov ebp, edx
mov edx, esi
mov ecx, edi
push ebp
push eax
call fcn.00486a27
pop eax
pop ecx
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov edx, 0x88
mov ecx, esi
lea eax, [ebx + eax + 0x94]
add edx, edi
mov dword [esp + 0x10], eax
call fcn.0048756a
mov ecx, dword [esp + 0x10]
mov ebp, edx
mov edx, esi
push ebp
push eax
call fcn.00486a27
pop eax
pop ecx
mov eax, dword [esp + 0x48]
xor esi, esi
cmp byte [esp + 4], 0
lea edx, [esp + 0x84]
mov ecx, dword [esp + 0xc]
lea ebp, [esp + 0x4c]
mov word [ebx + 0x10e], ax
mov eax, 0
cmovne edi, ebx
cmovne eax, dword [esp + 0x24]
mov dword [edx], edi
lea edi, [esp + 0x3c]
movsd xmm1, qword [ecx]
mov dword [edx + 4], eax
mov eax, dword [esp]
movsd qword [edi], xmm1
mov dword [edx + 8], eax
mov eax, dword [ecx + 8]
lea ecx, [esp + 0x90]
mov dword [edi + 8], eax
mov eax, dword [esp + 8]
mov edx, dword [eax + 8]
movsd xmm0, qword [eax]
mov dword [ebp + 8], edx
lea edx, [esp + 0x84]
movsd qword [ebp], xmm0
push ebp
push edi
call fcn.004a83cb
pop eax
pop ecx
lea eax, [esp + 0x90]
movsd xmm0, qword [esp + 0x28]
movsd xmm1, qword [esp + 0x30]
mov ecx, dword [esp + 0x38]
cmp dword [esp + 0x14], 3
mov edx, dword [eax]
mov edi, dword [eax + 8]
movsd qword [esp + 0x68], xmm0
movsd qword [esp + 0x70], xmm1
mov dword [esp + 0x78], ecx
jne 0x4a7d98
mov ecx, dword [esp + 0xc]
jmp 0x4a80df
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x78]
movsd xmm0, qword [esp + 0x68]
movsd xmm1, qword [esp + 0x70]
lea ecx, [esp + 0x54]
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edx
mov dword [ecx + 8], eax
movsd qword [ecx], xmm1
movsd qword [ecx - 8], xmm0
mov eax, dword [ebx]
test eax, eax
mov dword [esp + 8], eax
je 0x4a8010
cmp ebp, esi
jne 0x4a80fa
mov edi, dword [esp + 8]
movzx eax, word [ebx + 0x10c]
movzx ecx, word [edi + 0x10e]
movzx edx, ax
cmp ecx, 0xb
jb 0x4a808e
cmp ax, 5
mov dword [esp + 0x24], ebp
mov dword [esp + 0x10], ecx
jae 0x4a7e14
mov al, 1
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], eax
push 4
jmp 0x4a7e50
movzx ebx, ax
je 0x4a7e33
cmp ebx, 6
jne 0x4a7e3f
mov dword [esp + 0x1c], 0
push 5
pop ebx
mov dword [esp + 0x20], 0
jmp 0x4a7e51
mov al, 1
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], eax
jmp 0x4a7e51
add edx, 0xfffffff9
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], edx
push 6
pop ebx
call fcn.004a8280
mov esi, eax
mov eax, ebx
movzx edi, word [edi + 0x10e]
not ebx
imul ecx, eax, 0xc
mov edx, eax
mov dword [esp + 4], eax
mov eax, dword [esp + 8]
mov dword [esp], ecx
add ebx, edi
lea ebp, [eax + ecx + 0x10]
mov word [esi + 0x10e], bx
lea ecx, [esp + 0x30]
movsd xmm0, qword [ebp - 8]
mov eax, dword [ebp - 0xc]
movsd qword [esp + 0x28], xmm0
mov dword [esp + 0x80], eax
mov eax, dword [ebp + 0x80]
mov dword [ecx + 8], eax
movsd xmm0, qword [ebp + 0x78]
movsd qword [ecx], xmm0
lea ecx, [edx + 1]
lea edx, [esi + 4]
mov dword [esp + 0x7c], ecx
sub edi, ecx
mov ecx, ebx
call fcn.00487523
mov dword [esp + 0x48], eax
mov eax, edx
mov ecx, ebp
mov edx, edi
push eax
push dword [esp + 0x4c]
call fcn.00486a27
pop eax
pop ecx
mov eax, dword [esp + 8]
mov ecx, dword [esp]
lea edx, [esi + 0x88]
lea ebp, [eax + ecx + 0x94]
mov ecx, ebx
call fcn.0048756a
mov ebx, edx
mov ecx, ebp
mov edx, edi
push ebx
mov ebx, dword [esp + 0xc]
push eax
call fcn.00486a27
pop eax
pop ecx
mov eax, dword [esp + 4]
mov word [ebx + 0x10e], ax
mov edx, eax
movzx eax, word [esi + 0x10e]
lea ecx, [eax + 1]
cmp eax, 0xc
jae 0x4a8109
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x24]
sub eax, edx
cmp eax, ecx
jne 0x4a8118
mov eax, dword [esp + 0x7c]
inc ebp
mov edi, 0x110
mov edx, esi
shl ecx, 2
add edx, edi
lea eax, [ebx + eax*4]
add eax, edi
push ecx
push eax
push edx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, esi
mov edx, ebp
call fcn.004a82ac
mov edi, eax
mov eax, dword [esp + 0x38]
mov esi, edx
mov edx, dword [esp + 0x50]
movsd xmm0, qword [esp + 0x28]
cmp byte [esp + 0x1c], 0
movsd xmm1, qword [esp + 0x30]
mov ecx, edi
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x14]
movsd qword [esp + 0x68], xmm0
cmovne ecx, ebx
movsd qword [esp + 0x70], xmm1
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x44], edx
lea edx, [esp + 0x54]
movsd xmm0, qword [edx]
mov dword [esp + 0x40], eax
mov eax, dword [edx + 8]
mov edx, dword [esp + 0x20]
movsd qword [esp + 0x28], xmm0
mov dword [esp + 0x30], eax
push dword [esp + 0x18]
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.004a82f1
add esp, 0xc
mov ecx, dword [esp + 0x80]
cmp ecx, 3
je 0x4a80d3
mov eax, dword [esp + 0x78]
movsd xmm0, qword [esp + 0x68]
movsd xmm1, qword [esp + 0x70]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x5c], eax
movsd qword [esp + 0x54], xmm1
movsd qword [esp + 0x4c], xmm0
jmp 0x4a7dc4
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x5c]
movsd xmm0, qword [esp + 0x4c]
movsd xmm1, qword [esp + 0x54]
mov edi, dword [ecx + 0xc]
mov dword [esp + 0x38], eax
movsd qword [esp + 0x30], xmm1
movsd qword [esp + 0x28], xmm0
cmp dword [edi], 0
je 0x4a812d
mov ecx, edi
call fcn.004a81c6
mov eax, dword [esp + 0x14]
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov edi, dword [esp + 0x50]
movsd xmm0, qword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x44], edi
lea edi, [esp + 0x68]
movsd qword [edi], xmm0
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
mov dword [edi + 8], eax
push esi
push dword [esp + 0x1c]
push edi
lea eax, [esp + 0x48]
push eax
call fcn.004a81ee
add esp, 0x10
jmp 0x4a80d3
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x54]
movsd xmm0, qword [ecx]
mov dword [esp + 0x40], eax
mov eax, dword [ecx + 8]
mov ecx, edi
movsd qword [esp + 0x28], xmm0
mov dword [esp + 0x30], eax
push dword [esp + 0x18]
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.004a82f1
add esp, 0xc
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x60]
mov ecx, dword [ecx + 0xc]
imul eax, edi, 0xc
lea eax, [edx + eax + 0x88]
inc dword [ecx + 8]
add esp, 0x9c
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x35
pop edx
mov ecx, str.assertion_failed:_edge.height__self.node.height___1
push 0xa0aa70
jmp 0x4a8125
push 0xc
pop edx
push 0xa0aa28
call fcn.0063cd00
jmp 0x4a812a
push 0x28
pop edx
mov ecx, str.assertion_failed:_src.len____dst.len__
push 0xa0aa08
call fcn.0063cd70
pop eax
ud2
push 0x2b
pop edx
mov ecx, 0xa3a547
push 0xa0a878
jmp 0x4a8125