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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x88
mov esi, dword [edx + 0x1c]
movzx eax, word [edx + 0x38]
mov edi, dword [edx + 0x18]
mov dword [esp + 0x2c], ecx
mov ebp, edx
mov ecx, esi
mov word [esp + 0x12], ax
call fcn.0043acb6
mov dword [esp], eax
mov ebx, edx
lea eax, [esi*4]
push eax
push edi
push edx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [esp]
lea eax, [esp + 0x30]
mov dword [eax], ecx
mov ecx, eax
mov dword [eax + 4], ebx
mov ebx, eax
mov dword [eax + 8], esi
call fcn.0043ab81
mov esi, dword [ebp + 0x28]
mov edi, dword [ebp + 0x24]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edx
mov dword [esp + 8], ebp
mov ecx, esi
call fcn.0043acf8
imul ecx, esi, 0x34
mov dword [esp + 0x20], esi
add edi, 0x20
xor ebp, ebp
mov esi, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 4], ecx
sub esi, 1
jb 0x4e6fd9
cmp dword [esp + 4], ebp
je 0x4e6fd9
movzx eax, word [edi + 0x10]
cmp dword [edi], 0
mov word [esp], ax
je 0x4e6efb
mov ecx, ebx
mov edx, edi
call fcn.00418d51
jmp 0x4e6f07
mov al, byte [edi + 4]
mov byte [esp + 0x34], al
and dword [esp + 0x30], 0
movsd xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x38]
lea edx, [edi - 0x14]
mov ecx, ebx
movsd qword [esp + 0x80], xmm1
movsd qword [esp + 0x78], xmm0
call fcn.004bac1b
cmp dword [edi - 0x20], 0
je 0x4e6f3d
mov eax, dword [edi - 0x1c]
mov ecx, dword [edi - 0x18]
xor edx, edx
inc edx
jmp 0x4e6f3f
xor edx, edx
mov ebx, dword [esp + 0x40]
movsd xmm0, qword [esp + 0x78]
movsd xmm1, qword [esp + 0x80]
add edi, 0x34
mov dword [esp + 0x64], ebx
movsd qword [esp + 0x70], xmm1
movsd qword [esp + 0x68], xmm0
movsd xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x38]
mov ebx, dword [esp + 0x14]
movsd qword [esp + 0x5c], xmm1
movsd qword [esp + 0x54], xmm0
mov dword [ebx + ebp], edx
mov dword [ebx + ebp + 4], eax
mov dword [ebx + ebp + 8], ecx
movsd xmm0, qword [esp + 0x54]
movsd xmm1, qword [esp + 0x5c]
movsd qword [ebx + ebp + 0xc], xmm0
movsd qword [ebx + ebp + 0x14], xmm1
mov eax, dword [esp + 0x64]
mov dword [ebx + ebp + 0x1c], eax
movzx eax, word [esp]
movsd xmm0, qword [esp + 0x68]
movsd xmm1, qword [esp + 0x70]
movsd qword [ebx + ebp + 0x20], xmm0
movsd qword [ebx + ebp + 0x28], xmm1
mov word [ebx + ebp + 0x30], ax
add ebp, 0x34
lea ebx, [esp + 0x30]
jmp 0x4e6ed0
mov eax, dword [esp + 8]
mov edi, dword [eax + 0x34]
mov ebp, dword [eax + 0x30]
test edi, edi
je 0x4e701a
cmp edi, 0x38e38e3
ja 0x4e7120
imul esi, edi, 0x24
test esi, esi
js 0x4e7120
push 4
pop ecx
mov edx, esi
call fcn.0042267d
test eax, eax
mov dword [esp + 4], eax
jne 0x4e7021
push 4
pop ecx
mov edx, esi
call fcn.0059eab0
push 4
pop eax
mov dword [esp + 4], eax
imul eax, edi, 0x24
mov esi, edi
xor edi, edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], esi
sub esi, 1
jb 0x4e7088
cmp dword [esp + 0xc], edi
je 0x4e7088
mov ecx, dword [esp + 4]
lea eax, [ebp + 0x24]
lea edx, [ebp + 0x10]
mov dword [esp], eax
lea ebx, [ecx + edi]
lea ecx, [esp + 0x40]
call fcn.004bac1b
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
mov edx, dword [ebp + 8]
mov ebp, dword [ebp + 0xc]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ebp
push 0x24
lea eax, [esp + 0x34]
push eax
push ebx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov ebp, dword [esp]
add edi, 0x24
jmp 0x4e7030
mov eax, dword [esp + 8]
mov ecx, dword [eax]
xor eax, eax
test ecx, ecx
je 0x4e709e
cmp ecx, 1
jne 0x4e70a2
xor ebp, ebp
inc ebp
jmp 0x4e70bc
xor ebp, ebp
jmp 0x4e70bc
mov ecx, dword [esp + 8]
mov esi, dword [ecx + 0xc]
mov edx, dword [ecx + 8]
mov edi, dword [ecx + 0x14]
mov dword [esp + 0xc], esi
mov esi, dword [ecx + 0x10]
mov dword [esp], edx
push 2
pop ebp
mov ebx, dword [esp + 0x2c]
movzx ecx, word [esp + 0x12]
mov edx, dword [esp + 4]
mov word [ebx + 0x38], cx
mov ecx, dword [esp + 0x28]
mov dword [ebx + 0x18], ecx
mov ecx, dword [esp + 0x24]
mov dword [ebx + 0x1c], ecx
mov ecx, dword [esp + 0x1c]
mov dword [ebx + 0x20], ecx
mov ecx, dword [esp + 0x14]
mov dword [ebx + 0x24], ecx
mov ecx, dword [esp + 0x20]
mov dword [ebx + 0x28], ecx
mov ecx, dword [esp + 0x18]
mov dword [ebx + 0x2c], ecx
mov dword [ebx + 0x30], edx
mov dword [ebx + 0x34], ecx
mov edx, dword [esp]
mov ecx, dword [esp + 0xc]
mov dword [ebx], ebp
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], edi
add esp, 0x88
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.00415d70