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

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x88
mov eax, dword [ecx]
mov dword [ebp - 0x24], 0
mov esi, dword [ecx + 4]
mov ebx, dword [ecx + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx + 0x14]
test byte [0x646cf018], 8
jne 0x646c79e0
test esi, esi
je 0x646c7a2d
cmp bx, 2
je 0x646c7858
mov dword [ebp - 0x30], 0x57
cmp bx, 0x17
je 0x646c7858
mov eax, dword [ebp - 0x30]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x18
lea eax, [ebp - 0x28]
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], eax
lea eax, [ebp - 0x1c]
mov dword [esp + 0x24], eax
lea eax, [ebp - 0x20]
mov dword [esp + 0x28], 0x20
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x1c
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0x646d2600
mov dword [esp], 1
call sub.nsi.dll_NsiAllocateAndGetTable
mov dword [ebp - 0x30], eax
sub esp, 0x34
test eax, eax
jne 0x646c7840
mov edi, dword [ebp - 0x28]
test edi, edi
je 0x646c78f4
imul ecx, edi, 0x1c
mov eax, dword [ebp - 0x20]
xor edi, edi
add ecx, eax
movzx edx, word [eax]
cmp edx, ebx
sete dl
add eax, 0x1c
movzx edx, dl
add edi, edx
cmp eax, ecx
jne 0x646c78e0
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x34]
mov ecx, edi
mov dword [esp], eax
mov eax, ebx
call fcn.646c30e0
mov edx, dword [ebp - 0x38]
test edx, edx
je 0x646c7a40
cmp dword [esi], eax
jb 0x646c7a40
mov dword [esi], eax
mov eax, dword [ebp - 0x38]
mov dword [eax], edi
mov edi, dword [ebp - 0x28]
test edi, edi
je 0x646c7a7b
lea edx, [eax + 4]
xor esi, esi
add eax, 8
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x48], edx
xor edi, edi
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x2c], esi
jmp 0x646c7958
add dword [ebp - 0x2c], 1
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x28], eax
jbe 0x646c7a78
imul eax, dword [ebp - 0x2c], 0x1c
add eax, dword [ebp - 0x20]
movzx edx, word [eax]
cmp edx, dword [ebp - 0x40]
jne 0x646c7948
mov esi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
lea ebx, [edi + 1]
mov dword [ebp - 0x44], ebx
shl esi, 5
add edx, esi
cmp dword [ebp - 0x40], 2
mov esi, dword [ebp - 0x34]
je 0x646c7ac8
cmp esi, 1
je 0x646c7b00
cmp esi, 2
je 0x646c7b78
test esi, esi
je 0x646c7b40
mov edi, dword [ebp - 0x44]
test byte [0x646cf018], 2
je 0x646c7948
mov eax, dword [ebp - 0x34]
mov dword [esp + 0xc], str.Unknown_class__ld_n
mov dword [esp + 8], str.udp_row_fill
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x646cf018
mov dword [esp], 1
call fcn.646c3090
jmp 0x646c7948
mov dword [esp + 0x24], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 0xc], str.table__p__size__p__sort__d__family__lu__table_class__u__reserved__lu_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.GetExtendedUdpTable
mov dword [esp + 4], 0x646cf018
mov dword [esp], 3
call fcn.646c3090
test esi, esi
jne 0x646c782d
mov dword [ebp - 0x30], 0x57
jmp 0x646c7840
mov dword [esi], eax
mov dword [ebp - 0x30], 0x7a
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.nsi.dll_NsiFreeTable
sub esp, 0x10
jmp 0x646c7840
mov ebx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x646c7a49
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x34]
xor ecx, ecx
mov dword [esp], eax
mov eax, ebx
call fcn.646c30e0
cmp ebx, 2
mov ecx, 0x646c2910
mov dword [esp + 4], edi
mov edx, eax
mov eax, 0x646c43b0
cmovne eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x38]
add eax, edx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_qsort]
jmp 0x646c7a49
cmp esi, 1
je 0x646c7c5e
cmp esi, 2
je 0x646c7bf8
test esi, esi
jne 0x646c799f
mov ebx, dword [ebp - 0x48]
mov ecx, dword [eax + 4]
lea edx, [ebx + edi*8]
mov edi, dword [ebp - 0x44]
mov dword [edx], ecx
movzx eax, word [eax + 2]
mov dword [edx + 4], eax
jmp 0x646c7948
mov ebx, dword [eax + 8]
imul edi, edi, 0x1c
add edi, dword [ebp - 0x48]
mov dword [edi], ebx
mov ebx, dword [eax + 0xc]
mov dword [edi + 4], ebx
mov ebx, dword [eax + 0x10]
mov dword [edi + 8], ebx
mov ecx, dword [eax + 0x14]
mov dword [edi + 0xc], ecx
mov ecx, dword [eax + 0x18]
mov dword [edi + 0x10], ecx
movzx eax, word [eax + 2]
mov dword [edi + 0x14], eax
mov eax, dword [edx]
mov dword [edi + 0x18], eax
mov edi, dword [ebp - 0x44]
jmp 0x646c7948
mov ebx, dword [ebp - 0x48]
lea edx, [edi + edi*2]
mov edi, dword [eax + 8]
lea edx, [ebx + edx*8]
mov dword [edx], edi
mov edi, dword [eax + 0xc]
mov dword [edx + 4], edi
mov edi, dword [eax + 0x10]
mov dword [edx + 8], edi
mov ecx, dword [eax + 0x14]
mov edi, dword [ebp - 0x44]
mov dword [edx + 0xc], ecx
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x10], ecx
movzx eax, word [eax + 2]
mov dword [edx + 0x14], eax
jmp 0x646c7948
mov ebx, dword [eax + 8]
imul edi, edi, 0xb0
add edi, dword [ebp - 0x4c]
mov dword [edi], ebx
mov ebx, dword [eax + 0xc]
mov dword [edi + 4], ebx
mov ebx, dword [eax + 0x10]
mov dword [edi + 8], ebx
mov ecx, dword [eax + 0x14]
mov dword [edi + 0xc], ecx
mov ecx, dword [eax + 0x18]
mov dword [edi + 0x10], ecx
movzx eax, word [eax + 2]
mov dword [edi + 0x14], eax
mov eax, dword [edx]
mov dword [edi + 0x18], eax
mov ecx, dword [edx + 8]
mov ebx, dword [edx + 0xc]
mov dword [edi + 0x20], ecx
lea ecx, [edi + 0x38]
add edi, 0x3c
mov dword [edi - 0x18], ebx
mov eax, dword [edx + 0x10]
mov dword [edi - 0x14], eax
mov eax, dword [edx + 0x18]
mov edx, dword [edx + 0x1c]
mov dword [edi - 4], 0
mov dword [edi - 0xc], eax
xor eax, eax
mov dword [edi + 0x70], 0
mov dword [edi - 8], edx
and edi, 0xfffffffc
sub ecx, edi
add ecx, 0x78
shr ecx, 2
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x44]
jmp 0x646c7948
lea ecx, [edi + edi*4]
mov edi, dword [eax + 4]
shl ecx, 5
add ecx, dword [ebp - 0x4c]
mov dword [ecx], edi
movzx eax, word [eax + 2]
mov dword [ecx + 4], eax
mov eax, dword [edx]
mov dword [ecx + 8], eax
mov edi, dword [edx + 0xc]
mov esi, dword [edx + 8]
mov dword [ecx + 0x14], edi
lea edi, [ecx + 0x2c]
mov dword [ecx + 0x10], esi
mov eax, dword [edx + 0x10]
and edi, 0xfffffffc
mov dword [ecx + 0x18], eax
mov eax, dword [edx + 0x18]
mov edx, dword [edx + 0x1c]
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x20], eax
lea eax, [ecx + 0x28]
sub eax, edi
mov dword [ecx + 0x24], edx
mov dword [ecx + 0x9c], 0
lea ecx, [eax + 0x78]
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x44]
jmp 0x646c7948
mov ebx, dword [ebp - 0x48]
lea ecx, [edi + edi*2]
mov edi, dword [eax + 4]
lea ecx, [ebx + ecx*4]
mov dword [ecx], edi
movzx eax, word [eax + 2]
mov edi, dword [ebp - 0x44]
mov dword [ecx + 4], eax
mov eax, dword [edx]
mov dword [ecx + 8], eax
jmp 0x646c7948