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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x8c
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x1c], 0
test edx, edx
je 0x646c38b0
cmp dword [ebp + 0xc], 2
mov eax, dword [ebp + 0xc]
mov ebx, edx
ja 0x646c35e0
call fcn.646c3360
lea edx, [ebp - 0x2c]
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
lea edx, [ebp - 0x20]
mov dword [esp + 0x20], 0x14
mov dword [esp + 0x1c], edx
lea edx, [ebp - 0x24]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x38
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 0x646d25e8
mov dword [esp], 1
call sub.nsi.dll_NsiAllocateAndGetTable
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
sub esp, 0x34
test ecx, ecx
jne 0x646c3685
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x646c34d4
imul ecx, esi, 0x38
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp + 8]
xor esi, esi
add ecx, eax
lea esi, [esi]
lea esi, [esi]
movzx edx, word [eax]
cmp edx, edi
sete dl
add eax, 0x38
movzx edx, dl
add esi, edx
cmp eax, ecx
jne 0x646c34c0
lea eax, [ebp - 0x28]
mov edx, dword [ebp + 0xc]
mov ecx, esi
mov dword [esp], eax
mov eax, dword [ebp + 8]
call fcn.646c3210
mov edx, dword [ebp - 0x40]
test edx, edx
je 0x646c3690
cmp dword [ebx], eax
jb 0x646c3690
mov dword [ebx], eax
mov eax, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x2c]
mov dword [eax], esi
test ebx, ebx
je 0x646c3610
lea edi, [eax + 4]
add eax, 8
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], eax
jmp 0x646c352c
add esi, 1
cmp dword [ebp - 0x2c], esi
jbe 0x646c3610
imul eax, esi, 0x38
add eax, dword [ebp - 0x24]
movzx edx, word [eax]
cmp edx, dword [ebp + 8]
jne 0x646c3520
mov edx, esi
mov ecx, dword [ebp - 0x20]
shl edx, 5
add edx, dword [ebp - 0x1c]
cmp dword [ebp + 8], 2
mov dword [ebp - 0x4c], edx
lea edx, [esi + esi*4]
lea edi, [ecx + edx*4]
mov dword [ebp - 0x48], edi
lea edi, [ebx + 1]
mov dword [ebp - 0x44], edi
je 0x646c3790
cmp dword [ebp + 0xc], 8
ja 0x646c36a0
cmp dword [ebp + 0xc], 5
ja 0x646c38c8
cmp dword [ebp + 0xc], 2
ja 0x646c3720
imul edx, ebx, 0x34
mov ebx, dword [ebp - 0x48]
add edx, dword [ebp - 0x54]
mov ecx, dword [ebx]
mov dword [edx], ecx
mov edi, dword [eax + 8]
mov dword [edx + 4], edi
mov edi, dword [eax + 0xc]
mov dword [edx + 8], edi
mov edi, dword [eax + 0x10]
mov dword [edx + 0xc], edi
mov ebx, dword [eax + 0x14]
mov dword [edx + 0x10], ebx
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x14], ecx
movzx ecx, word [eax + 2]
mov dword [edx + 0x18], ecx
mov edi, dword [eax + 0x24]
mov dword [edx + 0x1c], edi
mov edi, dword [eax + 0x28]
mov dword [edx + 0x20], edi
mov edi, dword [eax + 0x2c]
mov dword [edx + 0x24], edi
mov ebx, dword [eax + 0x30]
mov dword [edx + 0x28], ebx
mov ecx, dword [eax + 0x34]
mov ebx, dword [ebp - 0x44]
mov dword [edx + 0x2c], ecx
movzx eax, word [eax + 0x1e]
mov dword [edx + 0x30], eax
jmp 0x646c3520
call fcn.646c3360
lea edx, [ebp - 0x2c]
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], edx
lea edx, [ebp - 0x1c]
mov dword [esp + 0x28], 0x20
mov dword [esp + 0x24], edx
jmp 0x646c344b
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x646c3661
cmp dword [ebp + 8], 2
mov esi, 0x646c26d0
je 0x646c3633
cmp dword [ebp - 0x28], 0x34
mov esi, 0x646c2870
mov eax, 0x646c27e0
cmovne esi, eax
lea eax, [ebp - 0x28]
mov edx, dword [ebp + 0xc]
xor ecx, ecx
mov dword [esp], eax
mov eax, dword [ebp + 8]
call fcn.646c3210
mov edx, dword [ebp - 0x28]
add eax, dword [ebp - 0x40]
mov dword [esp + 0xc], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_qsort]
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call sub.nsi.dll_NsiFreeTable
sub esp, 0x10
mov eax, dword [ebp - 0x3c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebx], eax
mov dword [ebp - 0x3c], 0x7a
jmp 0x646c3661
cmp dword [ebp + 0xc], 0xffffffff
jne 0x646c3870
mov edi, dword [eax + 8]
imul edx, ebx, 0x3c
add edx, dword [ebp - 0x54]
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 ebx, dword [eax + 0x14]
mov dword [edx + 0xc], ebx
mov ebx, dword [eax + 0x18]
mov dword [edx + 0x10], ebx
movzx ebx, word [eax + 2]
mov dword [edx + 0x14], ebx
mov ecx, dword [eax + 0x24]
mov dword [edx + 0x18], ecx
mov ecx, dword [eax + 0x28]
mov dword [edx + 0x1c], ecx
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x20], ecx
mov edi, dword [eax + 0x30]
mov dword [edx + 0x24], edi
mov ebx, dword [eax + 0x34]
mov dword [edx + 0x28], ebx
movzx eax, word [eax + 0x1e]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0xc]
mov dword [edx + 0x38], 0
mov dword [edx + 0x34], eax
mov ebx, dword [ebp - 0x44]
jmp 0x646c3520
mov edi, dword [eax + 8]
imul edx, ebx, 0x38
add edx, dword [ebp - 0x54]
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 ebx, dword [eax + 0x14]
mov dword [edx + 0xc], ebx
mov ebx, dword [eax + 0x18]
mov dword [edx + 0x10], ebx
movzx ebx, word [eax + 2]
mov dword [edx + 0x14], ebx
mov ecx, dword [eax + 0x24]
mov dword [edx + 0x18], ecx
mov ecx, dword [eax + 0x28]
mov dword [edx + 0x1c], ecx
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x20], ecx
mov edi, dword [eax + 0x30]
mov dword [edx + 0x24], edi
mov ebx, dword [eax + 0x34]
mov dword [edx + 0x28], ebx
movzx eax, word [eax + 0x1e]
mov ebx, dword [ebp - 0x44]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0xc]
mov dword [edx + 0x34], eax
jmp 0x646c3520
cmp dword [ebp + 0xc], 8
ja 0x646c37e0
cmp dword [ebp + 0xc], 5
ja 0x646c3971
cmp dword [ebp + 0xc], 2
ja 0x646c3830
lea edx, [ebx + ebx*4]
mov ebx, dword [ebp - 0x48]
mov edi, dword [ebp - 0x54]
mov ecx, dword [ebx]
lea edx, [edi + edx*4]
mov ebx, dword [ebp - 0x44]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
movzx ecx, word [eax + 2]
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0x20]
mov dword [edx + 0xc], ecx
movzx eax, word [eax + 0x1e]
mov dword [edx + 0x10], eax
jmp 0x646c3520
cmp dword [ebp + 0xc], 0xffffffff
jne 0x646c3870
mov edi, dword [ebp - 0x48]
imul edx, ebx, 0x1c
add edx, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x44]
mov ecx, dword [edi]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
movzx ecx, word [eax + 2]
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0x20]
mov dword [edx + 0xc], ecx
movzx eax, word [eax + 0x1e]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0xc]
mov dword [edx + 0x18], 0
mov dword [edx + 0x14], eax
jmp 0x646c3520
mov edi, dword [ebp - 0x54]
lea edx, [ebx + ebx*2]
mov ebx, dword [ebp - 0x44]
lea edx, [edi + edx*8]
mov edi, dword [ebp - 0x48]
mov ecx, dword [edi]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
movzx ecx, word [eax + 2]
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0x20]
mov dword [edx + 0xc], ecx
movzx eax, word [eax + 0x1e]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0xc]
mov dword [edx + 0x14], eax
jmp 0x646c3520
mov ebx, dword [ebp - 0x44]
test byte [0x646cf018], 2
je 0x646c3520
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], str.Unknown_class__ld_n
mov dword [esp + 8], str.tcp_row_fill
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x646cf018
mov dword [esp], 1
call fcn.646c3090
jmp 0x646c3520
mov dword [ebp - 0x3c], 0x57
mov eax, dword [ebp - 0x3c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [eax + 8]
lea edx, [ebx + ebx*2]
shl edx, 6
add edx, dword [ebp - 0x58]
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 ebx, dword [eax + 0x14]
mov dword [edx + 0xc], ebx
mov ebx, dword [eax + 0x18]
mov dword [edx + 0x10], ebx
movzx ebx, word [eax + 2]
mov dword [edx + 0x14], ebx
mov ecx, dword [eax + 0x24]
mov dword [edx + 0x18], ecx
mov ecx, dword [eax + 0x28]
mov dword [edx + 0x1c], ecx
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x20], ecx
mov edi, dword [eax + 0x30]
mov dword [edx + 0x24], edi
mov ebx, dword [eax + 0x34]
mov edi, dword [ebp - 0x4c]
mov dword [edx + 0x28], ebx
movzx eax, word [eax + 0x1e]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov dword [edx + 0x30], eax
mov eax, dword [edi + 0xc]
mov dword [edx + 0x34], eax
mov ecx, dword [edi + 0x10]
lea eax, [edx + 0x48]
mov ebx, dword [edi + 0x14]
mov dword [edx + 0x38], ecx
mov dword [edx + 0x3c], ebx
mov ecx, dword [edi + 0x18]
mov ebx, dword [edi + 0x1c]
mov dword [edx + 0x48], 0
lea edi, [edx + 0x4c]
mov dword [edx + 0x40], ecx
mov dword [edx + 0x44], ebx
mov dword [edx + 0xbc], 0
and edi, 0xfffffffc
sub eax, edi
lea ecx, [eax + 0x78]
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ebx, dword [ebp - 0x44]
jmp 0x646c3520
mov edi, dword [ebp - 0x48]
lea edx, [ebx + ebx*4]
shl edx, 5
add edx, dword [ebp - 0x58]
mov ecx, dword [edi]
mov edi, dword [ebp - 0x4c]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
movzx ecx, word [eax + 2]
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0x20]
mov dword [edx + 0xc], ecx
movzx eax, word [eax + 0x1e]
mov dword [edx + 0x10], eax
mov eax, dword [edi + 0xc]
mov dword [edx + 0x14], eax
mov ecx, dword [edi + 0x10]
lea eax, [edx + 0x28]
mov ebx, dword [edi + 0x14]
mov dword [edx + 0x18], ecx
mov dword [edx + 0x1c], ebx
mov ecx, dword [edi + 0x18]
mov ebx, dword [edi + 0x1c]
mov dword [edx + 0x28], 0
lea edi, [edx + 0x2c]
mov dword [edx + 0x20], ecx
mov dword [edx + 0x24], ebx
mov dword [edx + 0x9c], 0
jmp 0x646c395a